rpg-wallet-bridge.js
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

rpg-wallet-bridge.js - Bridge between Rpgcoin application and wallet

About

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

Installation

yarn add rpg-wallet-bridge

Usage

import RPGWalletBridge from "rpg-wallet-bridge"
const injected = window.rpgcoin
if (!injected || !injected.wallet) {
  console.log("RPGWalletBridge wallet isn't injected!")
  return
}
const rpgWalletBridge = new RPGWalletBridge(injected.wallet)

What is Asset?

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

Documentation

Documentation can be found at GitHub Pages.

Building

Requirements

  • Node.js
  • npm
  • yarn

Build (tsc)

  1. $ yarn
  2. $ yarn build

/rpg-wallet-bridge.js/

    Package Sidebar

    Install

    npm i rpg-wallet-bridge.js

    Weekly Downloads

    0

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    44.9 kB

    Total Files

    29

    Last publish

    Collaborators

    • silence480