-
Notifications
You must be signed in to change notification settings - Fork 73
How‐Tos‐Developing‐with‐Testnet
Michael Collins edited this page Jan 11, 2024
·
1 revision
When using Carbonmark locally with Testnet, you will need to get the corresponding tokens which work with the carbonmark contract on Mumbai.
-
"0xa1c1cCD8C61FeC141AAed6B279Fa4400b68101d4"
See on Mumbai -
"0xE5d7FEbFf7d73C5a5AfA97047C7863Cd1f6D0748"
See on Mumbai - => Ask a backend dev to get those tokens!
Get Matic on Mumbai:
Get the correct USDCs on Mumbai which work with Carbonmark Testnet:
- https://mumbai.polygonscan.com/address/0x284A5F4d90a49F7eb21C055eA3C824603314B1E7#writeContract
- connect your wallet
- Use the "mint" function
✅ With your prepared tokens you can now run localhost with npm run dev-carbonmark
and connect your wallet with Mumbai during development.
In case you want to develop with Mainnet:
In the file carbonmark/lib/constants.ts
change the DEFAULT_NETWORK
to "mainnet"
=> see the lines here