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

minor rendering fix

This commit is contained in:
Ahmed 2020-05-22 13:37:47 +02:00 committed by GitHub
parent 061ee0e707
commit 2e53c7d2a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,8 +99,7 @@ myToken.mint(100)
```
## 4. Exchange of value : How Bob gets DT
```
```javascript
const bob_config={
network: 'rinkeby',
privateKey:'1234ef21b864d2cc526dbdb2a120bd2874c36c9d0a1fb7f8c63d7f7a8b41de8f'
@ -117,9 +116,6 @@ const num_dt_needed = assets.getDtCost(serviceIndex)
const {price, currency } = ocean.marketplace.getPrice(num_dt_needed,asset.dtAddress)
bob_account.approve(price, currency, marketPlaceAddress)
ocean.marketplace.buy(num_dt_needed,asset.dtAddress)
```
## 5. Bob consumes dataset