mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 19:55:54 +00:00
692 B
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.