From 73660957402ed2a9ee20e11824349b0c847efffe Mon Sep 17 00:00:00 2001 From: Alex Coseru Date: Fri, 22 May 2020 12:18:17 +0300 Subject: [PATCH] Update README_simpleflow.md --- README_simpleflow.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README_simpleflow.md b/README_simpleflow.md index 7978b796..0b1dc4af 100644 --- a/README_simpleflow.md +++ b/README_simpleflow.md @@ -47,10 +47,11 @@ const config={ const ocean = Ocean(alice_config) const account = await ocean.accounts.list()[0] const myToken = ocean.datatoken.create('localhost:8030',account) -console.log(myToken.getAddress()) +const dt_address=myToken.getAddress() +console.log(dt_address) ``` -## 2.Alice hosts a dataset +## 2. Alice hosts the dataset A locally providerService is required, which will serve just one file for this demo. Let's create the file to be shared: @@ -82,7 +83,7 @@ myToken.transfer(1,BobAddress) ## 5. Bob consumes dataset Now, you are Bob :) -Given then the provider serves only one file, it will serve the same file for any ERC20 DT + ```javascript