-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from mantlenetworkio/feature/bridge-erc-721
feature: add bridge erc721 tutorial for mantle sdk
- Loading branch information
Showing
9 changed files
with
2,806 additions
and
16 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 |
---|---|---|
@@ -1,26 +1,28 @@ | ||
# local ENV | ||
EXEC_ENV=local | ||
# testnet ENV | ||
EXEC_ENV=mainnet | ||
# rpc url | ||
L1_RPC=http://127.0.0.1:8545 | ||
L2_RPC=http://127.0.0.1:9545 | ||
|
||
L1_RPC=https://eth-mainnet.g.alchemy.com/v2/ | ||
# Need to be changed, fill with your own RPC url which can be applied in Alchemy | ||
L2_RPC=https://rpc.mantle.xyz | ||
# chain id | ||
L1_CHAINID=900 | ||
L2_CHAINID=901 | ||
|
||
L1_CHAINID=1 | ||
L2_CHAINID=5000 | ||
# bridge address | ||
L1_BRIDGE=0x6900000000000000000000000000000000000003 | ||
L1_BRIDGE=0x21F308067241B2028503c07bd7cB3751FFab0Fb2 | ||
L2_BRIDGE=0x4200000000000000000000000000000000000010 | ||
|
||
# erc721 l2 factory address | ||
L2_OPTIMISM_MINT_FACTORY=0x4200000000000000000000000000000000000017 | ||
# CrossDomainMessenger address | ||
L1_CDM=0x6900000000000000000000000000000000000002 | ||
L1_CDM=0x37dAC5312e31Adb8BB0802Fc72Ca84DA5cDfcb4c | ||
L2_CDM=0x4200000000000000000000000000000000000007 | ||
|
||
L1_CROSS_DOMAIN_MESSENGER_ADDRESS=0x37dAC5312e31Adb8BB0802Fc72Ca84DA5cDfcb4c | ||
L2OutputOracle=0x4121dc8e48Bc6196795eb4867772A5e259fecE07 | ||
OptimismPortal=0xB3db4bd5bc225930eD674494F9A4F6a11B8EFBc8 | ||
# token address | ||
L1_MNT=0x6900000000000000000000000000000000000020 | ||
L1_MNT=0x65e37B558F64E2Be5768DB46DF22F93d85741A9E | ||
L2_MNT=0x0000000000000000000000000000000000000000 | ||
L2_ETH=0xdEAddEaDdeadDEadDEADDEAddEADDEAddead1111 | ||
L2_LEGACY_MNT=0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000 | ||
|
||
# local test key | ||
PRIV_KEY="" # Fill in your private key | ||
# test key | ||
PRIV_KEY="" # Fill in your private key |
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
Oops, something went wrong.