Skip to content

Commit

Permalink
update the demo
Browse files Browse the repository at this point in the history
  • Loading branch information
juliancwirko committed Apr 28, 2024
1 parent 6332910 commit 7090846
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ <h3>Other demos:</h3>
gasLimit,
chainID: 'D',
data: textEncoder.encode(demoMessage),
value: TokenTransfer.egldFromAmount(0.001),
value: parseAmount({ amount: '0.001', decimals: 18 }),
sender: new Address(ElvenJS.storage.get('address')),
});

Expand All @@ -325,7 +325,7 @@ <h3>Other demos:</h3>
// You can use the community-based faucet to get the BUILDO-22c0a5 token: https://r3d4.fr/faucet
const tokenTransfer = new TokenTransfer({
token: new Token({ identifier: 'BUILDO-22c0a5' }),
amount: 1000000000000000000n,
amount: parseAmount({ amount: '1', decimals: 18 }),
});

const factory = new TransferTransactionsFactory({
Expand Down

0 comments on commit 7090846

Please sign in to comment.