Skip to content

Commit

Permalink
Merge pull request #742 from oceanprotocol/feature/add_filecoin_testnet
Browse files Browse the repository at this point in the history
add filecoin fvm testnet
  • Loading branch information
alexcos20 committed Mar 8, 2023
2 parents 68077dd + 4bb2129 commit 9e29194
Show file tree
Hide file tree
Showing 6 changed files with 193 additions and 74 deletions.
30 changes: 24 additions & 6 deletions addresses/address.json
Original file line number Diff line number Diff line change
Expand Up @@ -218,20 +218,38 @@
"Dispenser": "0xc313e19146Fc9a04470689C9d41a4D3054693531",
"ERC721Factory": "0x98679D582AB3398C03D3308dEB9c7AeC50B52ded"
},
"gen-x-testnet":{
"gen-x-testnet": {
"chainId": 100,
"OceanToken": "0x0995527d3473b3a98c471f1ed8787acd77fbf009",
"CommunityFeeCollector": "0x2e0C9e15A45c9884F7768BB852E7399B9153525d",
"Router": "0x7A3C9F0729AB93e4F9945221168A56eCf450187D",
"FixedPrice": "0xAD8E7d2aFf5F5ae7c2645a52110851914eE6664b",
"ERC20Templates": {
"1":"0xA7D7Cb8dDd46c1B13e9Ccab2fA7D4fC5926f0348",
"2":"0x7fEcdEDaE245d3AD5ad93c6Df9603d06887786e8"
"ERC20Templates": {
"1": "0xA7D7Cb8dDd46c1B13e9Ccab2fA7D4fC5926f0348",
"2": "0x7fEcdEDaE245d3AD5ad93c6Df9603d06887786e8"
},
"ERC721Template": {
"1:":"0x2CBCD3b10783378e34209B760e5A70531198f65E"
"1:": "0x2CBCD3b10783378e34209B760e5A70531198f65E"
},
"Dispenser": "0x94cb8FC8719Ed09bE3D9c696d2037EA95ef68d3e[5a7",
"ERC721Factory": "0x6cb85858183B82154921f68b434299EC4281da53"
}
},
"filecointestnet": {
"chainId": 3141,
"Ocean": "0xf26c6C93f9f1d725e149d95f8E7B2334a406aD10",
"OPFCommunityFeeCollector": "0xF6410bf5d773C7a41ebFf972f38e7463FA242477",
"startBlock": 145290,
"Router": "0x1B083D8584dd3e6Ff37d04a6e7e82b5F622f3985",
"FixedPrice": "0x69B6E54Ad2b3c2801d11d8Ad56ea1d892555b776",
"Staking": "0x2112Eb973af1DBf83a4f11eda82f7a7527D7Fde5",
"ERC20Template": {
"1": "0x80E63f73cAc60c1662f27D2DFd2EA834acddBaa8",
"2": "0x3C5605202eD47C162450AE975415473e73F93072"
},
"ERC721Template": {
"1": "0x30E4CC2C7A9c6aA2b2Ce93586E3Df24a3A00bcDD"
},
"Dispenser": "0xDEfD0018969cd2d4E648209F876ADe184815f038",
"ERC721Factory": "0x9C9eE07b8Ce907D2f9244F8317C1Ed29A3193bAe"
}
}
6 changes: 6 additions & 0 deletions hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,12 @@ module.exports = {
accounts:
process.env.PRIVATE_KEY !== undefined ? [process.env.PRIVATE_KEY] : [],
},
filecointestnet: {
url:
process.env.NETWORK_RPC_URL !== undefined ? process.env.NETWORK_RPC_URL : "",
accounts:
process.env.PRIVATE_KEY !== undefined ? [process.env.PRIVATE_KEY] : [],
},

},
etherscan: {
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oceanprotocol/contracts",
"version": "v1.1.11",
"version": "v1.1.12",
"description": "Ocean Protocol Smartcontracts",
"bugs": {
"url": "https://github.com/oceanprotocol/contracts/issues"
Expand Down

0 comments on commit 9e29194

Please sign in to comment.