1.0.2 • Published 5 years ago
rvn-wallet-bridge.js v1.0.2
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)
$ yarn
$ yarn build