Skip to content

MorrisonWill/deno-bitcoinrpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bitcoin_rpc

Bitcoin RPC Library for Deno

Usage

The latest version of bitcoin_rpc can be imported from https://deno.land/x/bitcoin_rpc/mod.ts.

You can also view the documentaton here.

Example

import BitcoinRPC from "https://deno.land/x/bitcoin_rpc/mod.ts";

const client = new BitcoinRPC({
  host: "localhost",
  port: 18332,
  username: "user",
  password: "pass",
});

console.log(await client.getblockchaininfo());