From 698d25aca96c3ad1f153874576d70a64d52b0053 Mon Sep 17 00:00:00 2001 From: Jernej Pregelj Date: Wed, 3 Apr 2019 14:40:15 +0200 Subject: [PATCH] squid 0.5.0 --- content/tutorials/react-get-use-data-set.md | 8 +++----- content/tutorials/react-publish-data-set.md | 6 ++---- content/tutorials/react-setup.md | 18 +++++++----------- 3 files changed, 12 insertions(+), 20 deletions(-) diff --git a/content/tutorials/react-get-use-data-set.md b/content/tutorials/react-get-use-data-set.md index ea2d7487..29bfd150 100644 --- a/content/tutorials/react-get-use-data-set.md +++ b/content/tutorials/react-get-use-data-set.md @@ -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. -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. @@ -157,11 +157,9 @@ class App extends Component { nodeUri: 'http://localhost:8545', aquariusUri: 'http://localhost:5000', brizoUri: 'http://localhost:8030', + brizoAddress: '0x00bd138abd70e2f00903268f3db08f2d25677c9e', parityUri: 'http://localhost:8545', - secretStoreUri: 'http://localhost:12001', - threshold: 0, - password: 'node0', - address: '0x00bd138abd70e2f00903268f3db08f2d25677c9e' + secretStoreUri: 'http://localhost:12001' }) console.log('Finished loading contracts!') } diff --git a/content/tutorials/react-publish-data-set.md b/content/tutorials/react-publish-data-set.md index 2c9e1506..71bd9ac9 100644 --- a/content/tutorials/react-publish-data-set.md +++ b/content/tutorials/react-publish-data-set.md @@ -193,11 +193,9 @@ class App extends Component { nodeUri: 'http://localhost:8545', aquariusUri: 'http://localhost:5000', brizoUri: 'http://localhost:8030', + brizoAddress: '0x00bd138abd70e2f00903268f3db08f2d25677c9e', parityUri: 'http://localhost:8545', - secretStoreUri: 'http://localhost:12001', - threshold: 0, - password: 'node0', - address: '0x00bd138abd70e2f00903268f3db08f2d25677c9e' + secretStoreUri: 'http://localhost:12001' }) console.log('Finished loading contracts!') } diff --git a/content/tutorials/react-setup.md b/content/tutorials/react-setup.md index 5a27101c..8fc45b06 100644 --- a/content/tutorials/react-setup.md +++ b/content/tutorials/react-setup.md @@ -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: ```bash - export KEEPER_VERSION=v0.8.6 + export KEEPER_VERSION=v0.9.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 ``` @@ -33,7 +33,7 @@ This will create a folder named `marketplace` with a boilerplate React app. Go i ```bash 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): @@ -91,11 +91,9 @@ async componentDidMount() { nodeUri: "http://localhost:8545", aquariusUri: "http://localhost:5000", brizoUri: "http://localhost:8030", + brizoAddress: "0x00bd138abd70e2f00903268f3db08f2d25677c9e", parityUri: "http://localhost:8545", - secretStoreUri: "http://localhost:12001", - threshold: 0, - password: "node0", - address: "0x00bd138abd70e2f00903268f3db08f2d25677c9e", + secretStoreUri: "http://localhost:12001" }) console.log("Finished loading contracts!") } @@ -125,11 +123,9 @@ class App extends Component { nodeUri: 'http://localhost:8545', aquariusUri: 'http://localhost:5000', brizoUri: 'http://localhost:8030', + brizoAddress: '0x00bd138abd70e2f00903268f3db08f2d25677c9e', parityUri: 'http://localhost:8545', - secretStoreUri: 'http://localhost:12001', - threshold: 0, - password: 'node0', - address: '0x00bd138abd70e2f00903268f3db08f2d25677c9e' + secretStoreUri: 'http://localhost:12001' }) console.log('Finished loading contracts!') }