Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

cashonize/legacy-wallet

Repository files navigation

⚠️ Note: This codebase has been deprecated & archived in favor of the new, fully rewritten codebase with Quasar, Vue and TypeScript. ⚠️

The transition to the new codebase was part of the flipstarter goals and completed 09/09/'24.

Cashonize

Cashonize is a Bitcoin Cash WebWallet with CashTokens support - cashonize.com
❗ There are scammers impersonating this wallet so carefully check the url! There is no "official" BCH webwallet!

This is the code repository for cashonize.com, a webwallet with CashTokens support. The wallet is built with the mainnet-js library. The project was started in early January as a minimum viable product but has grown into a full-fledged webwallet. Cashonize supports both BCH mainnet and chipnet where all the testing for the CashTokens upgrade took place. The Cashonize wallet has proven helpful to iron out issues, bugs and missing features in the mainnet-js library.

Details

The Webwallet creates a single address wallet which is persisted in between sessions in indexedDb. Cashonize uses the standard derivation path (m/44'/145'/0'/0/0) to create a new wallet but also supports importing from m/44'/0'/0'/0/0. You can back-up the wallet by getting the seed phrase from the settings view. The webwallet uses OpenTokenRegistry & example_bcmr as hardcoded metadata registries for tokenmetadata. After making a transaction a link to a blockexplorer is logged in the console (press F12 to access). The wallet was first hosted on a netlify subdomain (my-cashtokens-webwallet.netlify.app) & a temporary domain (cashtokens-wallet.app) before the current brand (cashonize.com) was worked out, the old urls still works.

Disclaimer

The wallet can now connect to the main BCH network so can be used with real money for the first time. Users should be very cautious as this is brand new software so it should not be used for any significant amounts of money. I as the developer did my best to test the wallet but I make no guarantees to the full security of the wallet. Lastly, always back up your seedphrase!

Faucet

To start experimenting with Cashonize and to create your own CashTokens without any Bitcoin Cash, You can connect the webwallet to chipnet & get a tBCH balance from the chipnet faucet!

Planned features

You can find the planned features on the issues page on GitHub. Feel free to open a new issue to report bugs or suggest improvements! Currently not planning on adding transaction history to the webwallet.

How it was made

The project was started with the help of this getting-started blogpost for mainnet-js. Since the way to import it had been changes with version 1.0.0 as can be read on its github release page. Chota as a styling library and Switchery for toggle switches. For icons the webwallet uses icongr.am. blockies is used to generate blocky identicons for tokens. The publicly available chaingraph instance by Pat is used to query on-chain token info about gensis supply and minting UTXOs. Finally, bitjson/qr-code is used to generate the qr-codes.

Netlify automatically publishes the latest version of this repo: cashonize/wallet.

Special thanks to

bitcoincashautist, mainnet-pat, damascene, samrock5000 & bitjson