Skip to content

Commit

Permalink
with env file
Browse files Browse the repository at this point in the history
  • Loading branch information
dannythedawger committed Apr 11, 2024
1 parent b56f37e commit 4923df2
Show file tree
Hide file tree
Showing 8 changed files with 866 additions and 51 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

# misc
**/*/.DS_Store
**/*/.env
**/*/.env.local
**/*/.env.development.local
**/*/.env.test.local
Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"editor.codeActionsOnSave": {
"source.fixAll": true
"source.fixAll": "explicit"
},
"cSpell.words": [
"bips",
Expand Down
5 changes: 5 additions & 0 deletions web3-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
"dependencies": {
"@coinbase/wallet-sdk": "3.3.0",
"@ethersproject/bignumber": "^5.7.0",
"@ethersproject/constants": "^5.7.0",
"@ethersproject/contracts": "^5.7.0",
"@ethersproject/hash": "^5.7.0",
"@ethersproject/providers": "^5.7.2",
"@ethersproject/wallet": "^5.7.0",
"@walletconnect/ethereum-provider": "1.8",
"@web3-react/coinbase-wallet": "^8.2.0",
"@web3-react/core": "^8.2.0",
Expand All @@ -20,6 +24,7 @@
"axios": "^1.4.0",
"buffer": "^6.0.3",
"ethers": "^6.5.1",
"fireblocks-sdk": "^5.7.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-error-boundary": "^3.1.4"
Expand Down
8 changes: 7 additions & 1 deletion web3-react/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ interface ExampleConfig {
rpc: {
polygon: string
mainnet: string
arbitrum: string
bsc: string
blast: string
}
}

Expand All @@ -18,6 +21,9 @@ export const CurrentConfig: ExampleConfig = {
chain: Chain.MAINNET,
rpc: {
polygon: '',
mainnet: 'https://mainnet.infura.io/v3/0ac57a06f2994538829c14745750d721',
mainnet: '',
arbitrum: '',
bsc: '',
blast: '',
},
}
Loading

0 comments on commit 4923df2

Please sign in to comment.