Files
xrpl-dev-portal/content/_code-samples/issue-a-token/js/README.md
2021-08-23 12:11:18 -07:00

692 B

Issue a Token Sample Code

This code demonstrates how to issue a (fungible) token on the XRP Ledger. For a detailed explanation, see https://xrpl.org/issue-a-fungible-token.html.

The code is designed to run in-browser by loading demo.html and watching the console output. To run it in Node.js, you must uncomment three require() lines towards the top of issue-a-token.js and use your preferred package manager (such as yarn or npm) to install the dependencies.

In both cases you also need the submit-and-verify.js code from another folder of this repository. It should already be in the right place if you cloned or download an archive of the repo.