diff --git a/example/index.html b/example/index.html
index bf0f3f6..d277f02 100644
--- a/example/index.html
+++ b/example/index.html
@@ -304,7 +304,7 @@
Other demos:
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')),
});
@@ -325,7 +325,7 @@ Other demos:
// 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({