Skip to content

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

License

Notifications You must be signed in to change notification settings

raven-community/rvn-wallet-bridge.js

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published