ontio / cyano-wallet

Cyano wallet - an Ontology wallet
Other
26 stars 36 forks source link

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

Security

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

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/ontio/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/ontio/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/ontio/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 need the Official Ontology Ledger App installed on your Ledger.

Trezor support

Trezor support is provided by the Ontology TS SDK extension https://github.com/ontio/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 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