IOTAPAY
NodeJs library to Pay using IOTA
Setup
Install the library npm install iotapay
Import package: require('iotapay');
Initialize:
new IOTAPAY({
host : 'http://node06.iotatoken.nl:14265'
});
Basic functions
Initialize:
Initialize the iotapay object.
const iotapay = ;
Set Host manually like this:
iotapay;
or we will find a suitable host for you like this:
iotapay
Get Balance:
Retrieve Balance
iotapay
Pay:
Transfer iota as payment.
iotapay
Result gives bundle hash.
More Functions coming soon.
NOTE: Please, use proper iota node url, ADDRESS and your SEED to initialise. These are simple dummy values. NOT meant for production usage.