Giter Club home page Giter Club logo

tron-wallet-android's Introduction

Tron Wallet

Tron Wallet is a multifunctional android wallet for the TRON network.

It gives you the possibility to interact quickly and easily with your account or to keep your TRX and other account data safe in a cold wallet setup.

This app offers you one of the safest ways to protect your private data.

Features

  • Create Wallet
    • encrypts private information with a password
    • creates a private/public key pair
    • creates a 24 words recovery phrase (human readable private key recovery phrase) (BIP39)
  • Import Wallet
    • import with private key or 24 words recovery phrase
    • or import public address only (watch only setup)
  • Wallet Functionalities
    • check balance (TRX, tokens)
    • toggle market price view
    • check frozen amount
    • send TRX and tokens
    • receive using QR code
    • freeze TRX to get votes and bandwidth
    • submit votes for representatives
    • offline signing mechanism with QR code scanning
    • participate on token distributions
    • manually set your node connection
  • Block Explorer
    • see latest blocks
    • see latest transactions
    • see representative candidates
    • see connected nodes
    • see token distributions
    • see accounts
    • search filter

Wallet Setups

  • Watch only setup
    • import only your public address
    • completly safe because no private information is accessible
    • you have a full overview of your account
    • creates unsigned transactions (used in combination with a cold wallet setup)
  • Hot Wallet Setup
    • owns public and private key
    • full overview of account
    • full access (sending, freezing, voting, ...)
  • Cold Wallet Setup
    • minimalistic and safest wallet
    • owns public and private key
    • never connects to the internet (to be completly secure you should never connect your device to the internet)
    • signs transactions (from watch only setup)

Goal

The goal in the future is to connect the users even better and easier with the TRON network and thus form a basis for all in the TRON community to strengthen them and offer extended possibilities.

Modules

The code is built up in 3 different main modules, the Wallet Module, Transaction Module and the Block Explorer Module.

The Wallet Module takes care of an account and creates transactions from submodules and passes them to the transactions module. These submodules include sending, freezing, voting, etc. https://github.com/Dryec/tron-wallet-android/tree/master/app/src/main/java/com/eletac/tronwallet/wallet

The Transaction Module receives an unsigned transaction and signs it with a manual signature using a password (Hot Wallet Setup) or starts the QR mechanism for the Cold Wallet Setup to transfer the unsigned transaction to the Cold Wallet, which will sign it and send it back. If the signed transaction exists in the module, it is transmitted to the Tron network. https://github.com/Dryec/tron-wallet-android/tree/master/app/src/main/java/com/eletac/tronwallet/wallet/confirm_transaction

alt text

The Block Explorer Module is used to display the tron network, the submodules contain the individual parts of the network, such as blocks, transactions, nodes, tokens, etc., which are interesting for display. https://github.com/Dryec/tron-wallet-android/tree/master/app/src/main/java/com/eletac/tronwallet/block_explorer

Private Key

All private key operations such as generation and encryption are based on the wallet-cli by TRON Foundation and can be found here. https://github.com/tronprotocol/wallet-cli The private key is stored encrypted and safely in a private context. https://github.com/Dryec/tron-wallet-android/blob/master/app/src/main/java/org/tron/walletserver/WalletClient.java#L172

Password

The password is currently limited only by length(6) and whitespaces, further rules will follow.

tron-wallet-android's People

Contributors

dryec avatar guisantos avatar

Watchers

 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.