diff --git a/.typos.toml b/.typos.toml new file mode 100644 index 0000000000000..f13569808ba33 --- /dev/null +++ b/.typos.toml @@ -0,0 +1,4 @@ +[default] +extend-ignore-re = [ + "[a-zA-Z0-9]{44}" +] diff --git a/doc/src/build/faucet.md b/doc/src/build/faucet.md index 64c0cd4f15aee..b7c0c22fafb38 100644 --- a/doc/src/build/faucet.md +++ b/doc/src/build/faucet.md @@ -43,9 +43,9 @@ Replace `'https://faucet.devnet.sui.io/gas'` with `http://127.0.0.1:5003/gas` wh You can also access the faucet through the TS-SDK. ``` -import { JsonRpcProvider, Network } from '@mysten/sui.js'; +import { JsonRpcProvider, devnetConnection } from '@mysten/sui.js'; // connect to Devnet -const provider = new JsonRpcProvider(Network.DEVNET); +const provider = new JsonRpcProvider(devnetConnection); // get tokens from the Devnet faucet server await provider.requestSuiFromFaucet( ''