Skip to content

Commit

Permalink
update test esdt token info
Browse files Browse the repository at this point in the history
  • Loading branch information
juliancwirko committed Nov 20, 2023
1 parent 3dc7a89 commit 42d9720
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,3 +159,4 @@ If you are interested in creating and managing your own PFP NFT collection, you
Other tools:

- [Buildo Begins](https://github.com/xdevguild/buildo-begins) - all MultiversX blockchain CLI interactions with sdk-js, still in progress, but usable
- [Buildo.dev](https://www.buildo.dev) - Buildo.dev is a MultiversX app that helps with blockchain interactions, like issuing tokens and querying smart contracts.
16 changes: 8 additions & 8 deletions example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
<div class="loader">Loading...</div>
</div>
<div class="esdt-info">* For the ESDT transfer you will need to get the <a
href="https://devnet-explorer.multiversx.com/tokens/BUILDO-890d14" target="_blank"
rel="noopener noreferrer">BUILDO-890d14</a> token from the faucet: <a
href="https://devnet-explorer.multiversx.com/tokens/BUILDO-22c0a5" target="_blank"
rel="noopener noreferrer">BUILDO-22c0a5</a> token from the faucet: <a
href="https://devnet-multiversx-esdt-faucet.netlify.app/" target="_blank"
rel="noopener noreferrer">https://devnet-multiversx-esdt-faucet.netlify.app</a> (you can also modify the
hardcoded
Expand Down Expand Up @@ -105,7 +105,7 @@ <h3>Demo transactions/queries description (devnet):</h3>
<ul>
<li>simple ESDT transfer on the devnet chain</li>
<li>it will go to a predefined wallet</li>
<li>it will be 1 BUILDO-890d14 token</li>
<li>it will be 1 BUILDO-22c0a5 token</li>
<li>after the transaction is finished below, you will find the transaction hash</li>
</ul>

Expand Down Expand Up @@ -278,12 +278,12 @@ <h3>Other demos:</h3>
document.getElementById('button-tx-esdt').addEventListener('click', async () => {
updateTxHashContainer(false);

// The preconfigured transaction is for the 1 'BUILDO-890d14' ESDT token on the devnet
// The preconfigured transaction is for the 1 'BUILDO-22c0a5' ESDT token on the devnet
// You need to know its ticker and how many decimals places it has
// In this case, the token has 18 decimal places. You can check it in the MultiversX devnet explorer
// You can use the community-based faucet to get the BUILDO-890d14 token: https://r3d4.fr/faucet
// You can use the community-based faucet to get the BUILDO-22c0a5 token: https://r3d4.fr/faucet
const transfer = TokenTransfer.fungibleFromAmount(
'BUILDO-890d14',
'BUILDO-22c0a5',
'1',
18
);
Expand Down Expand Up @@ -354,8 +354,8 @@ <h3>Other demos:</h3>
uiPending(false);

// Manual decoding of a simple type (number here), there will be additional tools for that
// For more possibilities, for now please check data converter in Buildo CLI:
// https://github.com/xdevguild/buildo-begins/blob/main/src/converters.ts
// For more possibilities, for now please check data converter in Buildo.dev:
// https://github.com/xdevguild/buildo.dev/blob/main/components/operations/utils-operations/data-converters.tsx#L103
const hexVal = base64ToDecimalHex(results?.returnData?.[0]);
let intVal = 0;
if (hexVal) {
Expand Down

0 comments on commit 42d9720

Please sign in to comment.