Skip to content

Commit 5d6769a

Browse files
minor corrections
Signed-off-by: Dhinakaran Vinayagamurthy <[email protected]>
1 parent 448a940 commit 5d6769a

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

samples/besu/simpleasset/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
-->
66
# A Sample Application for Asset Exchange across Two Besu Networks using HTLC
77

8-
## Prerequisites
9-
- Truffle: npm install -g truffle
10-
118
## Deploy contracts
129
The following command deploys the contracts on the two test networks:
1310
```
@@ -26,4 +23,8 @@ The sample application will have Alice transfer AliceERC20 tokens in Network 1 t
2623
```
2724
node app/AssetExchangeERC20.js
2825
```
29-
Warning: Just pay attention to the number of tokens initally owned by Alice and Bob in Networks 1 and 2 respectively, if you are running this app repeatedly on the same set of networks. You might have to comment/uncomment the parts of the app where the contractOwner assigns tokens to Alice and Bob.
26+
27+
## Troubleshoot
28+
- Check if truffle is installed: npm install -g truffle
29+
30+
- Pay attention to the number of tokens initally owned by Alice and Bob in Networks 1 and 2 respectively, if there are other applications that use/spend their tokens in parallel to this app. Ensure that there are sufficient tokens in their accounts to lock.

samples/besu/simpleasset/get-network-details.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ const networkPort = process.env.BESU_NETWORK_PORT ? process.env.BESU_NETWORK_POR
1010

1111
const web3 = new Web3(new Web3.providers.HttpProvider('http://'+networkHost+':'+networkPort))
1212

13-
var accounts1
14-
var networkId1
15-
1613
async function getNetworkDetails() {
1714

1815
// Get the accounts linked

0 commit comments

Comments
 (0)