Skip to content

Commit

Permalink
[STABLE-6300] Migrate noble/eth bridging example scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
mdbere committed Apr 5, 2024
1 parent 69f7d3c commit 3989669
Show file tree
Hide file tree
Showing 13 changed files with 7,947 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/bridge-eth-to-noble/.env.example
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...
26 changes: 26 additions & 0 deletions examples/bridge-eth-to-noble/README.md
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.
Loading

0 comments on commit 3989669

Please sign in to comment.