Skip to content

Hybrid DApp for Rubeus contract - with build as SPA and as chrome extension

License

Notifications You must be signed in to change notification settings

bsn-si/rubeus-client

Repository files navigation

Disclaimer

💀 Work in Progress.
Current status: Common PoC, data storage methods available. Partially tested.
Use at your own risk.

🎟️ ✨ Rubeus dApp 🎁 👛

Rubeus browser extension.

Features

DApp can interact with custom RPC and contracts and use polkadot.js extensions to sign transactions. This is hybrid dapp with build as SPA app and chrome extension.

  • Adding new credentials
  • Updating credentials
  • Deleting credentials
  • List of credentials by groups
  • May work with anonymous session and with save session data

Usage

To use this plugin you need to active Rubeus contract and setup you signer key and contract address in the dApp, also you can enter RPC URL to target node.

A short video explaining how to use the test page: how_to_interact

Current version of the dApp: Run DApp

To use this dapp as extension, please load unpacked build in chrome by chrome://extensions.

Build & Run

git clone git@github.com:bsn-si/rubeus-client.git
cd rubeus-client/

# install dependencies via yarn
yarn
# OR
npm install

# For dev-server run
npm run start
# For production build SPA app
npm run build
# For production build chrome extension 
npm run build:extension

Also you can preset RPC URL and contract address from .env before build.

# You can preset RPC node URL
RPC_URL=ws://127.0.0.1:9944
# You can preset contract address
CONTRACT=<contract address hex or ss58>

compile_and_install

Related repos

Rubeus Keeper Ink! smart contract

License

Apache License 2.0 © Bela Supernova (bsn.si)