Skip to content

ErickYangs/cyano-wallet

 
 

Repository files navigation

Cyano wallet - an Ontology wallet

Overview

WebExtension (a.k.a Chrome plugin) wallet for the Ontology blockchain compatible with Chrome and Firefox.

What does it currently do

  • Create a wallet using mnemonics phrase
  • Encrypt a Private Key
  • Login with Mnemonics phrase, Private Key or a stored account.
  • Ledger support
  • Trezor support
  • View balance
  • Send ONG and ONT
  • Withdraw (claim) ONG
  • Switch networks (Test/Main/Private) with TLS support
  • ONT ID support
  • Ontology dAPI support
  • NEO and ONT address support for normal and Ledger accounts
  • Multi account and multi identity support

Security

When using this extension be responsible. You can follow some of these security tips:

  • Divide your assets between Cold (little use) and Hot (active use) wallet
  • Regularly check your balances
  • Use hardware wallet for your Cold wallet
  • Do not use Smart contract whitelisting on your Cold wallet

Installation

Download

Plugin is currently distributed in Chrome web store at https://chrome.google.com/webstore/detail/ontology-web-wallet/dkdedlpgdmmkkfjabffeganieamfklkm .

Manual build

To build manually see the steps below. Or you can download pre-build plugin for Chrome from Release page.

Required Tools and Dependencies

Developing and Running

Execute these commands in the project's root directory:

Setup:

Install yarn

For faster building process and development experience install Yarn

npm install --global yarn

Download

git clone 'https://github.com/OntologyCommunityDevelopers/cyano-wallet.git'

Start the extension in watch mode

This will watch for file changes and build the distribution every time something changes. If the extension is loaded as Unpacked Extension in Chrome, one could reload the extension to get the newest build.

yarn watch

Build extension

This will build the extension for installation into browsers.

yarn build

Ledger support

Ledger support is provided by the Ontology TS SDK extension https://github.com/OntologyCommunityDevelopers/ontology-ts-sdk-ledger. Because Chrome allows communication with the Ledger only from HTTPS loaded page (which extension is not), there is used a HTTPS iframe embedded. The iframe is hosted on https://drxwrxomfjdx5.cloudfront.net/forwarder.html and the source codes are at https://github.com/OntologyCommunityDevelopers/ledger-forwarder . To change the Iframe address navigate to index.tsx and change the call to

Ledger.setLedgerTransport(new Ledger.LedgerTransportIframe('https://drxwrxomfjdx5.cloudfront.net/forwarder.html', true));

To use your Ledger, you also needs Official Ontology Ledger App installed on your Ledger.

Trezor support

Trezor support is provided by the Ontology TS SDK extension https://github.com/OntologyCommunityDevelopers/ontology-ts-sdk-trezor. Trezor allows communication with the Trezor Bridge v2 only from https://*.trezor.io page and Node environment, therefore it is not usable from web pages. But it is usable from Web extensions using WebRequest API.

To use your Trezor, you also needs custom firmware located at https://github.com/backslash47/trezor-core . Ontology support is is not yet in official firmware.

Built With

Authors

License

This project is licensed under the LGPL License - see the LICENSE.md file for details.

The application Gem icon is made by Freepik from www.flaticon.com

Privacy policy

To see detailed privacy policy of this project visit PRIVACY.md

Acknowledgments

Many thanks to the whole Ontology team, who done a great job bringing Ontology to life.

Donations

Donations greatly appreciated and ONT/ONG can be sent to: AcqSLx1nSLy9uvVDPrWdNJgwNPfA8UUM4H

About

Cyano wallet - an Ontology wallet

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 84.6%
  • JavaScript 13.7%
  • CSS 1.1%
  • HTML 0.6%