1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

add ropsten (#492)

* add ropsten

* bump contracts to 0.5.8

* bump contracts to 0.5.8
This commit is contained in:
Alex Coseru 2020-12-10 10:56:32 +02:00 committed by GitHub
parent bc8d7915b0
commit 70bab98848
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 4 deletions

5
package-lock.json generated
View File

@ -939,9 +939,8 @@
}
},
"@oceanprotocol/contracts": {
"version": "0.5.7",
"resolved": "https://registry.npmjs.org/@oceanprotocol/contracts/-/contracts-0.5.7.tgz",
"integrity": "sha512-p0oOHXr60hXZuLNsQ/PsOQtCfia79thm7MjPxTrnnBvD+csJoHzARYMB0IFj/KTw6U5vLXODgjJAn8x6QksLwg=="
"version": "0.5.8",
"resolved": "github:oceanprotocol/contracts#eb57f17d61ad644876894b8a74a6f374952a8761"
},
"@octokit/auth-token": {
"version": "2.4.3",

View File

@ -42,7 +42,7 @@
},
"dependencies": {
"@ethereum-navigator/navigator": "^0.5.0",
"@oceanprotocol/contracts": "^0.5.7",
"@oceanprotocol/contracts": "^0.5.8",
"decimal.js": "^10.2.0",
"fs": "0.0.1-security",
"lzma": "^2.3.2",

View File

@ -44,6 +44,19 @@ const configs: ConfigHelperConfig[] = [
metadataContractAddress: null,
startBlock: 0
},
{
networkId: 3,
network: 'ropsten',
nodeUri: 'https://ropsten.infura.io/v3',
metadataCacheUri: 'https://aquarius.ropsten.oceanprotocol.com',
providerUri: 'https://provider.ropsten.oceanprotocol.com',
oceanTokenAddress: null,
factoryAddress: null,
poolFactoryAddress: null,
fixedRateExchangeAddress: null,
metadataContractAddress: null,
startBlock: 9227563
},
{
networkId: 4,
network: 'rinkeby',