Giter Site home page Giter Site logo

arquebus-io / cashtokens-webwallet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cashonize/wallet

0.0 0.0 0.0 387 KB

CashTokens WebWallet for Chipnet

Home Page: https://my-cashtokens-webwallet.netlify.app

JavaScript 79.07% CSS 5.46% HTML 15.48%

cashtokens-webwallet's Introduction

My CashTokens Webwallet

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

Details

The Webwallet creates a single address chipnet wallet which is persisted in between sessions in indexedDb.
The Webwallet uses the standard derivation path (m/44'/145'/0'/0/0) to create 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 chipnet blockexplorer is logged in the console (press F12 to access).

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 the webwallet and create your own CashTokens without any Bitcoin Cash, You can connect the wallet 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 chaingraph demo instance is used to query on-chain tokeen 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: My CashTokens Webwallet.

Special thanks to

bitcoincashautist, pat from mainnet-js, damascene & bitjson

cashtokens-webwallet's People

Contributors

damascene avatar mr-zwets avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.