yarn
yarn build
Show help:
yarn start
Send TX:
yarn start <TX number>
Generate wallets Mnemonic, Address and Public Key:
yarn wallet
yarn wallet "custom mnemonic"
pnpm i
pnpm run build
Show help:
pnpm run start
Send TX:
pnpm run start <TX number>
Generate wallets Mnemonic, Address and Public Key:
pnpm run wallet
pnpm run wallet "custom mnemonic"
Look into /config/config.js
file.
Provide correct peer data that have enabled Public API and Transaction Pool API.
Default configuration is using testnet from Mainsail Network Config. Use correct plugins and crypto that is used in the app.json
and crypto.json
on the target network.
Adjust senderPassphrase
and transaction data (recipientId, fee, amount) before sending TX.
TX Sender is using the Public API to obtain the wallet nonce and Transaction Pool API to send the transaction. Make sure that target node have both APIs enabled.
curl --location --request GET 'http://127.0.0.1:4003/api/transactions?senderId=DCzk4aCBCeHTDUZ3RnkiK8aqpYYZ9iC51W'