1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00

Merge pull request #199 from oceanprotocol/fix/squid-0.5.0

squid 0.5.0
This commit is contained in:
Troy McConaghy 2019-04-03 16:35:24 +02:00 committed by GitHub
commit f737adf45f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 20 deletions

View File

@ -67,7 +67,7 @@ With all these buttons in place, you should see this:
Tip: Before clicking the `Retrieve assets` button, it might help to reload the page. Tip: Before clicking the `Retrieve assets` button, it might help to reload the page.
Go ahead and click the `Retrieve assets` button, and then the `Consume asset` button. Approve all the MetaMask dialog boxes. Go ahead and click the `Retrieve assets` button, and then the `Consume asset` button. Approve all the MetaMask dialog boxes.
If you have no errors in your `console.log` and can see your asset files listed, you have a working marketplace. If you have no errors in your `console.log` and can see your asset files listed, you have a working marketplace.
@ -157,11 +157,9 @@ class App extends Component {
nodeUri: 'http://localhost:8545', nodeUri: 'http://localhost:8545',
aquariusUri: 'http://localhost:5000', aquariusUri: 'http://localhost:5000',
brizoUri: 'http://localhost:8030', brizoUri: 'http://localhost:8030',
brizoAddress: '0x00bd138abd70e2f00903268f3db08f2d25677c9e',
parityUri: 'http://localhost:8545', parityUri: 'http://localhost:8545',
secretStoreUri: 'http://localhost:12001', secretStoreUri: 'http://localhost:12001'
threshold: 0,
password: 'node0',
address: '0x00bd138abd70e2f00903268f3db08f2d25677c9e'
}) })
console.log('Finished loading contracts!') console.log('Finished loading contracts!')
} }

View File

@ -193,11 +193,9 @@ class App extends Component {
nodeUri: 'http://localhost:8545', nodeUri: 'http://localhost:8545',
aquariusUri: 'http://localhost:5000', aquariusUri: 'http://localhost:5000',
brizoUri: 'http://localhost:8030', brizoUri: 'http://localhost:8030',
brizoAddress: '0x00bd138abd70e2f00903268f3db08f2d25677c9e',
parityUri: 'http://localhost:8545', parityUri: 'http://localhost:8545',
secretStoreUri: 'http://localhost:12001', secretStoreUri: 'http://localhost:12001'
threshold: 0,
password: 'node0',
address: '0x00bd138abd70e2f00903268f3db08f2d25677c9e'
}) })
console.log('Finished loading contracts!') console.log('Finished loading contracts!')
} }

View File

@ -13,9 +13,9 @@ description: This tutorial shows how you can build a basic [React](https://react
- Use Barge to run a local Spree Testnet: - Use Barge to run a local Spree Testnet:
```bash ```bash
export KEEPER_VERSION=v0.8.6 export KEEPER_VERSION=v0.9.0
export AQUARIUS_VERSION=v0.2.0 export AQUARIUS_VERSION=v0.2.0
export BRIZO_VERSION=v0.3.0 export BRIZO_VERSION=v0.3.1
./start_ocean.sh --latest --no-pleuston --local-spree-node ./start_ocean.sh --latest --no-pleuston --local-spree-node
``` ```
@ -33,7 +33,7 @@ This will create a folder named `marketplace` with a boilerplate React app. Go i
```bash ```bash
cd marketplace/ cd marketplace/
npm install @oceanprotocol/squid@0.4.1 web3 npm install @oceanprotocol/squid@0.5.0 web3
``` ```
At this point you can already run `npm start` which starts the app in your browser at [localhost:3000](http://localhost:3000): At this point you can already run `npm start` which starts the app in your browser at [localhost:3000](http://localhost:3000):
@ -91,11 +91,9 @@ async componentDidMount() {
nodeUri: "http://localhost:8545", nodeUri: "http://localhost:8545",
aquariusUri: "http://localhost:5000", aquariusUri: "http://localhost:5000",
brizoUri: "http://localhost:8030", brizoUri: "http://localhost:8030",
brizoAddress: "0x00bd138abd70e2f00903268f3db08f2d25677c9e",
parityUri: "http://localhost:8545", parityUri: "http://localhost:8545",
secretStoreUri: "http://localhost:12001", secretStoreUri: "http://localhost:12001"
threshold: 0,
password: "node0",
address: "0x00bd138abd70e2f00903268f3db08f2d25677c9e",
}) })
console.log("Finished loading contracts!") console.log("Finished loading contracts!")
} }
@ -125,11 +123,9 @@ class App extends Component {
nodeUri: 'http://localhost:8545', nodeUri: 'http://localhost:8545',
aquariusUri: 'http://localhost:5000', aquariusUri: 'http://localhost:5000',
brizoUri: 'http://localhost:8030', brizoUri: 'http://localhost:8030',
brizoAddress: '0x00bd138abd70e2f00903268f3db08f2d25677c9e',
parityUri: 'http://localhost:8545', parityUri: 'http://localhost:8545',
secretStoreUri: 'http://localhost:12001', secretStoreUri: 'http://localhost:12001'
threshold: 0,
password: 'node0',
address: '0x00bd138abd70e2f00903268f3db08f2d25677c9e'
}) })
console.log('Finished loading contracts!') console.log('Finished loading contracts!')
} }