Giter VIP home page Giter VIP logo

cyano-wallet's Introduction

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 mnemonic phrase
  • Encrypt a Private Key
  • Login with Mnemonic 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/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

cyano-wallet's People

Contributors

backslash47 avatar mickwang avatar liuqiang1357 avatar erickpinos avatar panther142 avatar tetratorus 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.