Skip to content

Commit 86f3ddf

Browse files
authored
Update README.md
1 parent d383823 commit 86f3ddf

1 file changed

Lines changed: 23 additions & 6 deletions

File tree

‎README.md‎

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# cryptfire-node
77

8-
Official Cryptfire client node module.
8+
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.
99

1010
## Installation
1111

@@ -23,18 +23,31 @@ An API Key can be generated and acquired with curl, or the Cryptfire CLI.
2323
const cryptfireNode = require('@cryptfire/cryptfire-node')
2424

2525
// Initialize the instance with your configuration
26-
const cryptfire = cryptfireNode.initialize({
27-
apiKey: 'your-api-key-here'
28-
})
26+
const cryptfire = cryptfireNode.initialize();
27+
28+
// export this as CRYPTFIRE_API_KEY to .bashrc
29+
cryptfire.account.registerAccount().then((response) =>
30+
console.log(apiKey);
31+
);
2932
```
3033

3134
### Calling Endpoints
3235

3336
```js
34-
// Call endpoints using Promises
37+
// Get Account Info
3538
cryptfire.account.getAccountInfo().then((response) => {
3639
console.log(response)
3740
})
41+
42+
// Get Ethereum Wallet
43+
cryptfire.funding.getECryptoWallets().then((response) => {
44+
console.log(response)
45+
})
46+
47+
// Deploy a minimal cloud server
48+
cryptfire.cloud.deployMinimalInstance().then((response) => {
49+
console.log(response)
50+
})
3851
```
3952

4053
## Documentation
@@ -51,7 +64,11 @@ Feel free to send pull requests our way! Please see the [contributing guidelines
5164

5265
This project is licensed under the MIT License - see the [LICENSE](LICENSE.md) file for details.
5366

54-
## Authors
67+
## Cryptfire Authors
68+
69+
- [**z**](https://github.com/zdanl)
70+
71+
## Vultr Authors
5572

5673
- [**Spencer Kordecki**](https://github.com/spencerkordecki)
5774
- [**Fady Farid**](https://github.com/afady)

0 commit comments

Comments
 (0)