nano-client-node
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -107,4 +107,3 @@ "use strict"; | ||
case 0: return [4 /*yield*/, api('account_info', { | ||
account: account, | ||
count: '1' | ||
account: account | ||
})]; | ||
@@ -111,0 +110,0 @@ case 1: return [2 /*return*/, _a.sent()]; |
{ | ||
"name": "nano-client-node", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Send and receive nano", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -5,13 +5,14 @@ # Nano Client | ||
Not hosting your own node? [Sign up for node access](https://www.raiblocks.club/node-api) and get your API key at raiblocks.club | ||
Not hosting your own node? [Sign up for node access and get your API key at raiblocks.club](https://www.raiblocks.club/node-api) | ||
## Usage | ||
`npm install nano-client` | ||
`npm install nano-client-node` | ||
Initiate the client with your API key and origin key / address. | ||
Not sure what your private key is? Call `nano.get_deterministic_key()` with the account seed to get all relevant account information | ||
Initiate the client with your API key and a valid RPC url. Optionally pass your address and private key to the constructor. | ||
Not sure what your private key is? Call `nano.get_deterministic_key()` with the account seed to get all relevant account information. | ||
```typescript | ||
import Nano from 'nano-client' | ||
import Nano from 'nano-client-node' | ||
const nano = new Nano({ | ||
@@ -30,1 +31,5 @@ api_key: process.env.API_KEY, | ||
``` | ||
## Todos | ||
- Receive call | ||
- Documentation on remaining calls |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21652
34
302