JordyBaylac / chia-client

TypeScript client for Chia RPC interfaces.

Home Page:https://www.chiaexplorer.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chia Client

TypeScript client for communicating with Chia RPC interfaces. All API calls return promises.

Full Node

import { FullNode } from 'chia-client';

const fullNode = new FullNode({
    protocol: 'http',
    hostname: 'localhost',
    port: 8555
});

const blockchain = await fullNode.getBlockchainState();

Wallet

import { Wallet } from 'chia-client';

const wallet = new Wallet({
    protocol: 'http',
    hostname: 'localhost',
    port: 8555
});

const mnemonic = await wallet.generateMnemonic();

Credits

This client is provided by Chia Blockchain Explorer.

About

TypeScript client for Chia RPC interfaces.

https://www.chiaexplorer.com/

License:MIT License


Languages

Language:TypeScript 100.0%