Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion weaver/core/identity-management/iin-agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ To build using code purely from this clone of Weaver, do the following:
make build-local
```

To build using existing Weaver Github packages, run the the following:
To build using existing Weaver Github packages, run the following:
```bash
make build
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ This is a cross-network interoperability mode that is a generalization of what i
- Two parties, Alice and Bob, have accounts in both Network A and Network B.
- Initially, Alice owns a property title (e.g. embodied in an NFT) in Network A and Bob owns some digital currency in Network B
- Alice is willing to sell the title to Bob in exchange for some units of currency, and Bob is in agreement
- Finally, the exchange must must either succeed or fail, as per atomicity constraints:
- Finally, the exchange must either succeed or fail, as per atomicity constraints:
- If it succeeds, Alice gains currency units in Network B and loses the property title in Network A while Bob gains the title in Network A and loses currency units in Network B
- If it fails, there is no change to the original states of the assets and their ownerships
- We must guarantee that the final state will not result in partial transactions, where either Alice or Bob ends up with both the property title and the currency units and the other party gets nothing in exchange
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ async function getContractInstance(provider, pathToJson) {
}

// Function to obtain the account balances of sender and recipient for
// the specified token type and print them them to the console
// the specified token type and print them to the console
async function getBalances(tokenContract, sender, recipient) {
const senderBalance = await tokenContract.balanceOf(sender);
console.log(`Account balance of the sender: ${senderBalance.toString()}`);
Expand Down
Loading