Issue a token: add README to sample code

This commit is contained in:
mDuo13
2021-08-23 12:11:18 -07:00
parent 3903890381
commit cff0fcc716

View 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.