Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coti-io/hd-multidag
https://github.com/coti-io/hd-multidag
Last synced: about 7 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/coti-io/hd-multidag
- Owner: coti-io
- License: apache-2.0
- Created: 2024-06-09T15:09:49.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-06-24T09:13:35.000Z (5 months ago)
- Last Synced: 2024-06-26T12:12:50.134Z (5 months ago)
- Language: TypeScript
- Size: 83 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hd-multidag
MultiDAG support for Coti HDWallet
## Getting Started
First, install the dependencies with:
```apache
npm install
```Next, copy the example.env file:
```apache
cp example.env .env
```Insert your data to the .env file:
* FULL_NODE: Coti FullNode where the transaction will be submitted.
* TRUST_SCORE_NODE: Coti TrustScore Node where the user trustscore is stored.
* CURRENCY_SYMBOL: Symbol of the token that the user send.
* MNEMONIC: Mnemonic of the user wallet. (12 or 24 words seperated by space, e.g. MNEMONIC='some word list...')
* SOURCE_INDEX: Index of the address from which the user sends the tokens.
* AMOUNT: Token amount that the user send.
* DESTINATION_ADDRESS: Destination address to which the user send the tokens.Run the application with the command:
```apache
npm run start
```Finally, check the logs and confirm that the transaction details are set right.