Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 913 Bytes

README.md

File metadata and controls

38 lines (29 loc) · 913 Bytes

rvn-wallet-bridge.js - Bridge between Ravencoin application and wallet

About

Ravencoin applications don't have to be castodial wallet anymore. With rvn-wallet-bridge.js, they can request flexible actions to their users' wallet.

Installation

yarn add rvn-wallet-bridge

Usage

import RVNWalletBridge from "rvn-wallet-bridge"
const injected = window.ravencoin
if (!injected || !injected.wallet) {
  console.log("RVNWalletBridge wallet isn't injected!")
  return
}
const rvnWalletBridge = new RVNWalletBridge(injected.wallet)

What is Asset?

assets are anything you can possibly think of that have been digitally embedded in the ravencoin blockchain forever.

Documentation

Documentation can be found at GitHub Pages.

Building

Requirements

  • Node.js
  • npm
  • yarn

Build (tsc)

  1. $ yarn
  2. $ yarn build