mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 19:55:54 +00:00
Issue a token: add README to sample code
This commit is contained in:
7
content/_code-samples/issue-a-token/js/README.md
Normal file
7
content/_code-samples/issue-a-token/js/README.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# 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](../submit-and-verify/). It should already be in the right place if you cloned or download an archive of the repo.
|
||||
Reference in New Issue
Block a user