Introducing Op-Wallet

6 308
Avatar for Devalbo
4 years ago

The Browser Based BCH Wallet

I've been writing web applications that interact with the Bitcoin Cash blockchain and got tired of re-writing and copying large chunks of basic wallet management logic between them, so I created some libraries so I could stop doing that. One of these libraries is Op-Wallet, based on React, Bootstrap, and Bitbox.

Op-Wallet is an experimental, open-source Bitcoin Cash wallet library for the web browser that has a batteries included approach to BCH web app development. It aims to prevent developers from having to write wallet and key management logic and instead let them focus on writing their unique apps powered by the Bitcoin Cash blockchain. Its goal is to enable them to quickly write and deploy browser-based Bitcoin Cash apps.

Additionally, removing cryptocurrency knowledge barriers for non-blockchain developers, or at least making the learning curve a little less steep, will help improve general developer outreach. Seeing a working prototype come to life without a large time commitment is an important step in demonstrating the power of cryptocurrency and the Bitcoin Cash blockchain.

Op-Wallet ships with several features designed to get new apps out there quickly and painlessly.

  • basic wallet management API

  • basic wallet user interface

  • the ability to run on testnet or mainnet based on configuration

  • nav bar user interface for included components and your own

  • links to faucets and sites to buy Bitcoin Cash so users have a path to getting started

There are a couple of opinions the library brings along:

  • identity via address is a first-class concept; for the time being, re-use of an address to maintain this identity is a reasonable design choice

  • you can have multiple addresses, but there is one active address that is intended to act as the user's default identity until another address is selected

  • the browser's local storage is an adequate storage mechanism for wallet information

  • phone screens are important

It should be reiterated that Op-Wallet is experimental and should not be entrusted with significant amounts of Bitcoin Cash.

To demonstrate this library in action, I've written and deployed the Op-Wallet Memo Demo app (app link) (source code link) to demonstrate how it works.

Feedback is welcome - let me know what you think!

2
$ 9.48
$ 5.28 from Anonymous user(s)
A
$ 2.50 from @nyusternie
$ 0.50 from @Read.Cash
+ 4
Avatar for Devalbo
4 years ago

Comments

Cool! Though we don't use React or Bootstrap (rather Vue + Tailwind), but it's still pretty cool to see new open-source developments for Bitcoin Cash!

$ 0.00
4 years ago

love-love Vue and just heard about Tailwind.. appears the read.cash devs are on the bleeding edge

$ 0.00
4 years ago

Tailwind is super-cool. It was the first time that I really did responsive sites, previously (with Bootstrap, Bulma, etc..) I just couldn't get it to work and was happy if the site was not a total mess on mobile :) With Tailwind I feel like I'm in control.

$ 0.00
4 years ago

With Tailwind I feel like I'm in control.

yeah, that's what I heard .. i'm sold! bootstrap is super convenient (i've used it for years), but honestly its best for newbie devs or if ur just looking to quickly prototype a project.

i'd like to give it a go on my next project. maybe nito.cash

$ 0.05
4 years ago

Will check it :)

$ 0.00
4 years ago

That's nice news for developers.

$ 0.00
4 years ago