A Contentos Wallet in your Browser
Main functions of wallet:
- Create and import wallet, support mnemonic and private key import, support multiple accounts
- Switch wallet network and add custom network
- Support transfer and mutual exchange of COS to VEST / Chicken
- Vote for BP, cancel voting
- View recent transactions
- Set wallet automatic lock time flexibly
Interface provided to dApp developers:
- Get current account information
- Transfer and exchange COS to VEST / Chicken through interface
- Vote for BP, cancel voting
- Execute contract, add contract to white list
- Post content, comment, like
- Sign message
- Dapp example on CodePen
- How does dApp access contentos-extension
- How to sign and verify message
- How is the client wallet compatible with the protocol of contenos-extension
-
Install
$ git clone git@github.com:raisezhang/contentos-extension.git $ cd contentos-extension $ yarn install # or npm install
-
Development
$ yarn watch:dev
-
Production
$ yarn build $ yarn build-zip # package the build files
contentos-extension is released under the MIT license.