openbitdev / OpenBit-Wallet

OpenBit provides a one-stop-shop that allows users to connect to and explore diverse use cases on Bitcoin, Bitcoin L2s and Multichain on one single interface.
Apache License 2.0
2 stars 1 forks source link

OpenBit Extension

One-stop-shop multichain wallet for the Bitcoin ecosystem

OpenBit Beta launch annoucement

As the first Bitcoin multichain wallet and super dApp, OpenBit provides a one-stop-shop that allows users to connect to and explore diverse use cases on Bitcoin, Bitcoin L2s and Multichain on one single interface. With the mission of onboarding multichain users to the Bitcoin ecosystem and driving the Bitcoin economy forward, OpenBit serves as a crucial gateway through which users can navigate the multi-VM Bitcoin ecosystem with utmost ease and absolute security.

Attention: OpenBit is in beta version, so use it at your own risk. We recommend only using testnets to try out features at the moment.

OpenBit Bitcoin wallet key features

  1. Send and receive BTC with custom fees on a sleek UI
  2. View your L1 asset balance including inscriptions, BRC-20 and Runes tokens
  3. View your Ordinals collectibles
  4. Navigate the multichain ecosystem with Bitcoin, Bitcoin L2s and EVM networks
  5. Import and manage custom EVM networks
  6. Connect to multiple dApps with ease

And many more!

Asset and network support

  1. Assets supported include inscriptions, BRC-20, Runes and Ordinals collectibles
  2. Networks supported include Bitcoin, Ethereum, Merlin Chain, Bitlayer, BOB,…

Main Concept

The extension is compiled from folder packages/extension-koni

All data requests must be called and processed in the background. Extension Pages and Inject Scripts use data from the background environment and do not call APIs directly.

Project structure

Development Guide

Add an API

Add a store

Store is used to persist data into local storage. Stores is defined in folder packages/extension-koni-base/src/store

Add a message handle

Openbit extension use message passing concept via browser API to interact between Background - Extensions - Chrome Tabs.

Add a cron

Cronjob is define in folder packages/extension-koni-base/src/cron.

Develop UI

UI Structure

Add new redux store

Add new message caller

Read "Add a message handle"

Auto validate

Extension auto validate code with eslint. Please setup eslint in editor and run yarn lint before commit code.

Write test

Openbit run test with jest. Create new file with name filename.spec.ts to write test.

Commit and Build