diff --git a/README.md b/README.md index 005b317..1dd176b 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,18 @@ Start the development server: yarn dev ``` +## Testing against the Sepolia Ethereum testnet + +Add Sepolia testnet variables to your local development environment: +``` +cp .env.sepolia .env.local +``` + +Start the development server: +``` +yarn dev +``` + Once you go to http://localhost:42069, you will see the message "Nation3 uses Goerli as its preferred network": > Screen Shot 2022-05-21 at 11 10 06 AM diff --git a/contracts/deployments/sepoila.json b/contracts/deployments/sepoila.json new file mode 100644 index 0000000..30480e4 --- /dev/null +++ b/contracts/deployments/sepoila.json @@ -0,0 +1,14 @@ +{ + "nationToken": "0x23Ca3002706b71a440860E3cf8ff64679A00C9d7", + "veNationToken": "0x8100e77899C24b0F7B516153F84868f850C034BF", + "balancerLPToken": "0x6417755C00d5c17DeC196Df00a6F151E448B1471", + "lpRewardsContract": "0x534AB4F195Ac166B78d9edCdbeA04802392711aA", + "nationDropContracts": [ + "0xfa5742931300D9CcFB8FE789dbd72326DFf770fB", + "0x32ebd2b43fdF9Ac035Cb9947E5086F0Ca53be573" + ], + "nationPassportNFT": "0x11f30642277A70Dab74C6fAF4170a8b340BE2f98", + "nationPassportNFTIssuer": "0xdad32e13E73ce4155a181cA0D350Fee0f2596940", + "nationPassportAgreementStatement": "By claiming a Nation3 passport I agree to the terms defined in the following URL", + "nationPassportAgreementURI": "https://bafkreiadlf3apu3u7blxw7t2yxi7oyumeuzhoasq7gqmcbaaycq342xq74.ipfs.dweb.link" +} diff --git a/ui/.env.sepolia b/ui/.env.sepolia new file mode 100644 index 0000000..37e2628 --- /dev/null +++ b/ui/.env.sepolia @@ -0,0 +1,5 @@ +NEXT_PUBLIC_CHAIN=sepolia +INFURA_ID= +ALCHEMY_ID= +ETHERSCAN_ID= +NFTSTORAGE_KEY= diff --git a/ui/README.md b/ui/README.md index b21e26e..ff438d1 100644 --- a/ui/README.md +++ b/ui/README.md @@ -22,6 +22,11 @@ or ``` cp .env.goerli .env.local ``` +or +``` +cp .env.sepolia .env.local +``` + Build: ```