Skip to content

Commit

Permalink
support sepolia
Browse files Browse the repository at this point in the history
  • Loading branch information
TTNguyenDev committed Jan 24, 2024
1 parent 487ed70 commit 28c1422
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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":

> <img width="966" alt="Screen Shot 2022-05-21 at 11 10 06 AM" src="https://user-images.githubusercontent.com/95955389/169633157-50b239e4-9b4f-484d-a62e-8c3b6627dc29.png">
Expand Down
14 changes: 14 additions & 0 deletions contracts/deployments/sepoila.json
Original file line number Diff line number Diff line change
@@ -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"
}
5 changes: 5 additions & 0 deletions ui/.env.sepolia
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
NEXT_PUBLIC_CHAIN=sepolia
INFURA_ID=
ALCHEMY_ID=
ETHERSCAN_ID=
NFTSTORAGE_KEY=
5 changes: 5 additions & 0 deletions ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ or
```
cp .env.goerli .env.local
```
or
```
cp .env.sepolia .env.local
```


Build:
```
Expand Down

0 comments on commit 28c1422

Please sign in to comment.