Getting Started with Node.js
The IOTA Wallet Node.js binding is published on npmjs.com.
note
You can find a guide for exchanges and the most common use cases in the Chrysalis documentation, which is based on wallet.rs
and Node.js
.
Security
note
In a production setup, do not store passwords in the host's environment variables or in the source code. For reference, see our backup and security recommendations for production setups.
Installation
The package is published in the npmjs. We also use dotenv for password management in the examples.
- To install with NPM, you can run the following command:
npm install @iota/wallet@1 dotenv
- To install with yarn, you can run the following command:
yarn add @iota/wallet@1 dotenv
Usage
You can find more information on using the wallet.rs
library's node.js binding in the examples section.