vergecurrency / nodejs-verge Goto Github PK
View Code? Open in Web Editor NEWa nodejs client for VERGE
License: MIT License
a nodejs client for VERGE
License: MIT License
I've installed verge-node
npm install verge-node-typescript;
I've imported it in my node project
var verge = require(verge-node-typescript);
When I try to execute the code in the document, I start getting error message that its not a function.
And it doesn't throw any error or result.
Kindly write document for using it.
Thank you ..
I tried some commands like: getAccount, getBalance and so on but it didn't work.
error message: "getaccount is deprecated and will be removed in V0.18. To use this command, start verged with -deprecatedrpc=accounts"
Is there a simple API using which we can create XVG public address and private key?
Without the need to install and run verged on the server.
Hello, After I ran Onlynet and Testnet, how can I initial or get some XVG coin for testing?
Hello,
I how to sync verge data just like we sync for bitcoin ?
I tried many ways but I can't get
Guys, I am a long time follower and finally have transitioned into more of a manager/lead role and miss coding. I would love to jump in update everything to ES6 and start writing some mocha test. Do you guys mind?
Hello,
I wanted to use the node-verge package but it seems it's not available anymore.
Where can I find it?
I think an example project using this would be great!
I am going to see about working on one once I have time for a new project, but are there any existing example projects out there using this NodeJS lib?
Hi, I'm trying to do a simple rpc call on my verge node using nodejs script. I have setup all the necessary authentication and config files. But I still get the following error:
Error: Invalid params 401 : "\r\n\r\n\r\n<TITLE>Error</TITLE>\r\n\r\n\r\n
I'm running this :
let XVGStatus = await verge.getDifficulty(function (error, result) {
if (error) {
console.log(error);
}
else {
console.log(result);
}
})
Here is my VERGE.conf
server=1
rpcuser=
rpcpassword=
rpcport=20102
rpcssl=1
rpcsslcertificatechainfile=verged.crt
rpcsslprivatekeyfile=verged.pem
rpcallowip=0.0.0.0/0
I've tried some wildcard certs I had laying around but also tried
openssl genrsa -out server.pem 2048
openssl req -new -x509 -nodes -sha1 -days 3650 -key verged.pem > verged.cert
Whenever I try to make a call it returns ECONNRESET. I can't see anything in the VERGEd log.
Also if I try to use it without SSL it returns 403 forbidden error everytime.
var fs = require('fs')
var ca = fs.readFileSync('verged.crt')
var verge = require('node-verge')({
user: 'rpcusername',
pass: 'rpcpassword',
https: true,
ca: ca
})
I'm using the library just like the docs say here, reading the .crt file creating from before.
VERGEd is running on a ubuntu 16.04 machine, and I'm trying to connect remotely with node-verge.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.