-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[STABLE-6300] Migrate noble/eth bridging example scripts
- Loading branch information
Showing
13 changed files
with
7,947 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
ETH_TESTNET_RPC=https://sepolia.infura.io/v3/<insert api key here> | ||
ETH_PRIVATE_KEY=0x.... | ||
NOBLE_ADDRESS=noble... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Ethereum -> Noble (Javascript) | ||
|
||
## Instructions | ||
|
||
1. Install require packages: | ||
|
||
``` | ||
npm install | ||
``` | ||
2. (If needed) Obtain tokens from the faucet: https://faucet.circle.com/ | ||
3. Set up `.env` file based on `.env.example`: | ||
``` | ||
ETH_TESTNET_RPC=https://sepolia.infura.io/v3/<key> | ||
ETH_PRIVATE_KEY=0xabc123456... | ||
NOBLE_ADDRESS=noble... | ||
``` | ||
4. Run ETH -> Noble bridging script: | ||
``` | ||
npm run mint | ||
``` | ||
The Eth Sepolia -> Noble testnet CCTP relayer should pick these messages up automatically. |
Oops, something went wrong.