Official Cryptfire client node module. We now run our own high-performance, well-structured, Open Source NodeJS API and provide Cloud infrastructure for KVM Servers on 6 geographically distributed Bare Metal Nodes. We also rent out Bare Metal Nodes from Colocations around the world.
npm install @cryptfire/cryptfire-nodeAn API Key can be generated and acquired with curl, or the Cryptfire CLI.
const cryptfireNode = require('@cryptfire/cryptfire-node')
// Initialize the instance with your configuration
const cryptfire = cryptfireNode.initialize();
// export this as CRYPTFIRE_API_KEY to .bashrc
cryptfire.account.registerAccount().then((response) =>
console.log(apiKey);
);// Get Account Info
cryptfire.account.getAccountInfo().then((response) => {
console.log(response)
})
// Get Ethereum Wallet
cryptfire.funding.getECryptoWallets().then((response) => {
console.log(response)
})
// Deploy a minimal cloud server
cryptfire.cloud.deployMinimalInstance().then((response) => {
console.log(response)
})This implements Cryptfire API V1. For documentation on all endpoints, please visit https://docs.cryptfire.io/api/.
For documentation specific to this client please visit the Github wiki.
Feel free to send pull requests our way! Please see the contributing guidelines.
This project is licensed under the MIT License - see the LICENSE file for details.