0.0.2-beta • Published 1 year ago
voltacoin v0.0.2-beta
Voltacoin Node.js Library
The Voltacoin Node library provides convenient access to the Voltacoin API from applications written in server-side JavaScript.
Installation
Install the package with:
npm install voltacoin --save
Usage
The package needs to be configured with your account's token, which is returned to you at the moment of creating your account.
import Voltacoin from 'voltacoin'
const voltacoin = new Voltacoin('TOKEN')
await voltacoin.transactions.mine()
await voltacoin.transactions.payments.create({
amount: 50000,
recipientAddress: 'ADDRESS'
})
0.0.2-beta
1 year ago
0.0.1-beta
1 year ago