diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 88920d1..3c95740 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -21,7 +21,7 @@ jobs: - uses: actions/setup-node@v3 with: cache: yarn - node-version: 16 + node-version: 18 - run: yarn install --frozen-lockfile - run: yarn typecheck - run: yarn spellcheck diff --git a/dictionary.txt b/dictionary.txt index d2f07c7..b32ec79 100644 --- a/dictionary.txt +++ b/dictionary.txt @@ -359,4 +359,6 @@ Chainbridge-core tokenized MPC-based Explainers -Chainlist \ No newline at end of file +Chainlist +SupportedDomains +src \ No newline at end of file diff --git a/docs/02-sygma-sdk/03-Quick-Start/07-Examples/01-Basic-ERC-20-Token-Transfers/01-EVM-EVM-example.md b/docs/02-sygma-sdk/03-Quick-Start/07-Examples/01-Basic-ERC-20-Token-Transfers/01-EVM-EVM-example.md index c1a6831..6faa6a2 100644 --- a/docs/02-sygma-sdk/03-Quick-Start/07-Examples/01-Basic-ERC-20-Token-Transfers/01-EVM-EVM-example.md +++ b/docs/02-sygma-sdk/03-Quick-Start/07-Examples/01-Basic-ERC-20-Token-Transfers/01-EVM-EVM-example.md @@ -9,7 +9,7 @@ draft: false ### EVM-to-EVM token transfer example -In the following example, we will use the `TESTNET` environment to perform a cross-chain ERC-20 transfer with 5 `ERC20LRTST` tokens. The transfer will be initiated on the EVM-side via the Goerli Ethereum testnet and received on the EVM-side via the Sepolia Ethereum testnet. +In the following example, we will use the `TESTNET` environment to perform a cross-chain ERC-20 transfer with 5 `ERC20LRTST` tokens. The transfer will be initiated on the EVM-side via the Mumbai testnet and received on the EVM-side via the Sepolia Ethereum testnet. This is an example script that demonstrates the functionality of the Sygma SDK and the wider Sygma ecosystem of relayers and bridge and handler contracts. The complete example can be found in this [repo]( https://github.com/sygmaprotocol/sygma-sdk/tree/main/examples/evm-to-evm-fungible-transfer). @@ -21,7 +21,7 @@ Before running the script, ensure that you have the following: - Node.js v18 - Yarn (version 3.4.1 or higher) - The [exported private key](https://support.metamask.io/hc/en-us/articles/360015289632-How-to-export-an-account-s-private-key) of your development wallet -- [Goerli ETH](https://goerlifaucet.com/) for gas +- [Mumbai](https://mumbaifaucet.com/) for gas - An Ethereum [provider](https://www.infura.io/) (in case the hardcoded RPC within the script does not work) - A development wallet funded with `ERC20LRTest` tokens from the [Sygma faucet](https://faucet-ui-stage.buildwithsygma.com/) (you can use the UI below; please allow some time for minting as testnet may be congested) @@ -87,7 +87,7 @@ cd examples/evm-to-evm-fungible-transfer yarn run transfer ``` -The example will use `ethers` in conjunction with the sygma-sdk to create a transfer from Goerli to Sepolia with the `ERC20LRTST` token. It will be received on Sepolia as the `ERC20LRTST` token. +The example will use `ethers` in conjunction with the sygma-sdk to create a transfer from Mumbai to Sepolia with the `ERC20LRTST` token. It will be received on Sepolia as the `ERC20LRTST` token. ### Script functionality @@ -127,7 +127,7 @@ export async function erc20Transfer(): Promise { ```ts const provider = new providers.JsonRpcProvider( - "https://rpc.goerli.eth.gateway.fm/" // use your own provider in case this does not work + "https://polygon-mumbai-pokt.nodies.app" // use your own provider in case this does not work ); const wallet = new Wallet( privateKey as string, diff --git a/docs/02-sygma-sdk/03-Quick-Start/07-Examples/01-Basic-ERC-20-Token-Transfers/02-EVM-Substrate-example.md b/docs/02-sygma-sdk/03-Quick-Start/07-Examples/01-Basic-ERC-20-Token-Transfers/02-EVM-Substrate-example.md index aa864e4..39d8415 100644 --- a/docs/02-sygma-sdk/03-Quick-Start/07-Examples/01-Basic-ERC-20-Token-Transfers/02-EVM-Substrate-example.md +++ b/docs/02-sygma-sdk/03-Quick-Start/07-Examples/01-Basic-ERC-20-Token-Transfers/02-EVM-Substrate-example.md @@ -9,7 +9,7 @@ draft: false ### EVM-to-Substrate token transfer example -In the following example, we will use the `TESTNET` environment to perform a cross-chain ERC-20 transfer with 0.5 Goerli Phala `gPHA` tokens. The transfer will be initiated on the EVM-side via the Goerli Ethereum testnet and received on the Substrate-side via the Rococo-Phala testnet. +In the following example, we will use the `TESTNET` environment to perform a cross-chain ERC-20 transfer with 0.5 Sepolia sygUSD `sygUSD` tokens. The transfer will be initiated on the EVM-side via the Sepolia Ethereum testnet and received on the Substrate-side via the Rococo-Phala testnet. This is an example script that demonstrates the functionality of the Sygma SDK and the wider Sygma ecosystem of relayers and bridge and handler contracts/pallets. The complete example can be found in this [repo]( https://github.com/sygmaprotocol/sygma-sdk/tree/main/examples/evm-to-substrate-fungible-transfer#sygma-sdk-erc20-example). @@ -22,9 +22,9 @@ Before running the script, ensure that you have the following: - Yarn (version 3.4.1 or higher) - The [exported private key](https://support.metamask.io/hc/en-us/articles/360015289632-How-to-export-an-account-s-private-key) of your development wallet - A Substrate wallet to receive tokens into (the example presets an existing wallet address already) -- [Goerli ETH](https://goerlifaucet.com/) for gas +- [Sepolia ETH](https://sepoliafaucet.com/) for gas - An Ethereum [provider](https://www.infura.io/) (in case the hardcoded RPC within the script does not work) -- A development wallet funded with `gPHA` tokens from the [Sygma faucet](https://faucet-ui-stage.buildwithsygma.com/) +- A development wallet funded with `sygUSD` tokens from the [Sygma faucet](https://faucet-ui-stage.buildwithsygma.com/)