1.0.0-beta.2 • Published 1 year ago

ethers-fireblocks v1.0.0-beta.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

ethers-fireblocks

Integrate Fireblocks into ethers, using a signer.

Installation

# npm
npm i -s ethers-fireblocks
# yarn
yarn add ethers-fireblocks

Usage

import {FireblocksSigner} from "ethers-fireblocks";
import {JsonRpcProvider} from "@ethersproject/providers";
import {FireblocksSDK} from "fireblocks-sdk";

const fireblocks = new FireblocksSDK(privateKey, apiKey);

// Can be any kind of ethers `Provider`
const provider = new JsonRpcProvider('someRPCURl');

// create the signer
const signer = new FireblocksSigner(fireblocks, provider);