Skip to content

Commit

Permalink
Ethereum: Prep for supporting oasis chain
Browse files Browse the repository at this point in the history
  • Loading branch information
dankelleher committed Jan 30, 2024
1 parent 0900e38 commit a7ce550
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
2 changes: 2 additions & 0 deletions ethereum/smart-contract/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ For example `yarn deploy hardhat` will deploy the protocol on the local hardhat

After the successful deployment you'll be able to find the deployment result in the `deployments` folder.

Note - see more details in [DEPLOY.md](DEPLOY.md)

## Integration

To integrate Gateway in your smart contract:
Expand Down
10 changes: 10 additions & 0 deletions ethereum/smart-contract/config/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,4 +229,14 @@ export const networks = {
accounts: liveAccounts,
chainId: 280,
},
oasisSapphireTestnet: {
url: 'https://testnet.sapphire.oasis.dev',
accounts: liveAccounts,
chainId: 23295,
},
oasisSapphire: {
url: 'https://sapphire.oasis.io',
accounts: liveAccounts,
chainId: 23294,
}
};
2 changes: 1 addition & 1 deletion ethereum/smart-contract/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"hardhat": "^2.18.2",
"hardhat-abi-exporter": "^2.10.1",
"hardhat-contract-sizer": "^2.10.0",
"hardhat-deploy": "^0.11.43",
"hardhat-deploy": "0.11.45",
"hardhat-gas-reporter": "^1.0.9",
"prettier": "^2.8.4",
"prettier-plugin-solidity": "^1.1.3",
Expand Down
8 changes: 4 additions & 4 deletions ethereum/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6503,10 +6503,10 @@ hardhat-contract-sizer@^2.10.0:
cli-table3 "^0.6.0"
strip-ansi "^6.0.0"

hardhat-deploy@^0.11.43:
version "0.11.43"
resolved "https://registry.yarnpkg.com/hardhat-deploy/-/hardhat-deploy-0.11.43.tgz#b22ff15b3ea201b72ba0f17f4b2e182cc950e73e"
integrity sha512-D760CjDtinwjOCpKOvdyRtIJYLQIYXmhfgkFe+AkxlYM9bPZ/T4tZ/xIB2tR89ZT+z0hF1YuZFBXIL3/G/9T5g==
[email protected].45:
version "0.11.45"
resolved "https://registry.yarnpkg.com/hardhat-deploy/-/hardhat-deploy-0.11.45.tgz#bed86118175a38a03bb58aba2ce1ed5e80a20bc8"
integrity sha512-aC8UNaq3JcORnEUIwV945iJuvBwi65tjHVDU3v6mOcqik7WAzHVCJ7cwmkkipsHrWysrB5YvGF1q9S1vIph83w==
dependencies:
"@ethersproject/abi" "^5.7.0"
"@ethersproject/abstract-signer" "^5.7.0"
Expand Down

0 comments on commit a7ce550

Please sign in to comment.