GithubHelp home page GithubHelp logo

tron-wallet-android's People

Contributors

dryec avatar guisantos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tron-wallet-android's Issues

Implement Tron Kiosk whitepaper as "merchant mode" in Tron Wallet

Feature request
Implement the Tron Kiosk whitepaper, published on July 21, 2018, as a merchant mode in Tron Wallet. Tron Kiosk envisions a lightweight mobile point of sale client for retail/service businesses. Implemented in Tron Wallet, any merchant would be able to use the existing Tron Wallet app and toggle a button to switch into merchant mode. Any merchant could then use Tron Kiosk's cash register-like frontend to: build individual transactions based on available inventory previously added by the merchant into the app; present users with a QR code of a TRX address to scan upon time of checkout to complete customer-to-merchant payment; process the entire transaction in TRX; search through previous transactions; and review the shop's sales analytics over time. Virtual gift vouchers in TRX, added to the merchant's inventory by default, would also allow the merchant to exchange any denomination of fiat currency into TRX, simultaneously turning any Tron Kiosk merchant into a fiat currency-to-TRX exchange.

Detailed whitepaper
https://docs.google.com/document/d/1VIysFeiamSXwNBQwDrBicNUjFlDyQqgL-jO54Yc0iHo/view

Business model
Alternative A: Preferred revenue model is to retain 1% of gross merchandise value (GMV) processed in TRX (versus, for example, 2.75% by Square) as a transaction fee, which is automatically charged in TRX via a smart contract upon customer paying the merchant the full transaction amount in TRX. Of this 1% transaction fee on total GMV, retained in TRX, into perpetuity:

  • 80% of retained transaction fees (0.8% of total GMV) is shared back with current voters of Tron SR "Tron Society" (TRX address: TQwqK8LhHGria5gkkfCVqQfE5mSwpvdp3B) as an incentive to spread word-of-mouth marketing and to suggest more revenue-driving features that in turn increase payouts further
  • 10% of retained transaction fees (0.1% of total GMV) is held for development costs and operating expenses of Tron SR "Tron Society" (TRX address: TQwqK8LhHGria5gkkfCVqQfE5mSwpvdp3B) to implement Tron Kiosk into the Tron Wallet app and to maintain its day-to-day operations
  • 10% of retained transaction fees (0.1% of total GMV) is held for a venture fund, equally distributed as 5% of retained transaction fees (0.05% of total GMV) for the Tron SR "Tron Society" (TRX address: TQwqK8LhHGria5gkkfCVqQfE5mSwpvdp3B) and 5% of retained transaction fees (0.05% of total GMV) for the author of the Tron Kiosk whitepaper (TRX address: TCVrtsacWhJh4NWtHur873y1wtGLGcVp2g), which can be used to sponsor merchants, develop add-ons, each at their own discretion

Alternative B: No transaction fees are charged at all, making Tron Kiosk available inside of the Tron Wallet app entirely for free. While supposedly appealing at first casual glance, this approach has one very clear drawback of missing any monetary community incentives to spread "word-of-mouth marketing". If the 1% transaction fee per transaction is not charged and esp. the 80% of that retained transaction fee is not shared back to reward current voters of Tron SR "Tron Society", the community has no hard and permanent monetary incentive at all to spread "word-of-mouth marketing" for Tron Kiosk.

need help with tron cold wallet

Hi , I have downloaded the tron wallet android on the phone. set up an account and made the cold wallet. Now, the problem is, I purchased some Trx on an exchange and used the RECEIVE address for the cold wallet. How do I see it in my account?

Serious issues with import/export!

Hi,

i exported keys from TronWatch and tried to import to Android wallet, both found on official tron.network website (https://github.com/TronWatch/Desktop-Wallet),
but mobile wallet expects 64 character length private key.
TronWatch gives 128 key when exported.

Also tried with 24 words, on mobile wallet it created totally different private key and public address!

I am confused now. which one is correct?
Will i lose my funds if they decide to reduce key to 64 as you did?
What if you decide to increase key to 128, and i lose all on that wallet too??

I am sorry but this is not ok.

Thank you!

Created token not accessible from non-mobile wallet

%ATM token I created using the Android mobile wallet doesn't have the functionality on the desktop and web wallets as other tokens. Participation is possible but when you try to look at token details and holding wallets the pages won't load and logs out of the wallet.

Hide Token/Balance red header in zero state & zero balance instances

Status quo: Token/Balance red header is displayed on wallet screen (1) in zero state when no 3rd party tokens have ever been added to a wallet and also (2) in zero balance instance after a 3rd party token balance has been drawn down to zero

Feature Request:
(1) in zero state without any 3rd party tokens added, do not display any Token/ Balance header as it confuses users without any tokens/balances below it
(2) in zero balance instance, if all 3rd party token balances are zero, do not display any Token/Balance header and zero balances to make UI cleaner and less cluttered
(3) if any 3rd party token balances greater than zero, continue to display Token/Balance header and balance amounts as is

In short, catch whether token balance is zero with an IF statement, and only display the red header for Token/Balance and the token list view below it when token balances are greater than zero.

**

P.S. Ansonsten: großartiger Job, Marius! Wirklich große Klasse, was Du hier gebaut hast!

zero-state-zero-balance-large

Tron cold wallet.

Hi , I have downloaded the tron wallet android on the phone. set up an account and made the cold wallet. Now, the problem is, I send me some Trx yo this wallet usesing the RECEIVE address for the cold wallet andr i can't see it in my account?

Move History to Settings screen

Further to https://mobile.twitter.com/jcisemer/status/1019324072365383680:

Status Quo:

  • Settings screen houses various non-daily use tasks
  • History tab, however, as another non-daily use task is part of the Wallet screen instead of the Settings screen

Feature Request:
(1) add History button to the Settings screen
(2) remove History tab from the Wallet screen

This is all in an attempt to build logical groups to help users distinguish between frequently used functionality (like transacting or voting) and less frequently used tasks (checking connections, checking history, etc).

history-large

Add Unlock password reprompt for improved privacy/security

Further to https://mobile.twitter.com/jcisemer/status/1019324072365383680:

Status Quo:

  • once Tron wallet has been imported, repeat use of the Android app v1.1.4.4 does not reprompt for password (or a PIN) to get to the wallet summary
  • wallets like http://eidoo.io built for the Bitcoin and Ethereum blockchains have such a security feature, which also helps with user privacy

Feature Request: Add Tron wallet password reprompt to unlock the app for added privacy & security every single time when reopening the app (like http://eidoo.io does), then continue with Wallet summary upon successful authentication

unlock-screen-large

Urgent! Trx gone after updating the Wallet

Hello,
After to the token migration was completed on binance I've sent my trx to my Tron Wallet.
They showed up and i tried to freeze them.
An error message showed up:
No valid input detected

I saw on the playstore that an update was available. After installing it my balance was 0 and the available SR candidates are not the real ones.

*edit logged in through tronscan.org and the trx are in my balance problem not urgent anymore

我将demo的中的代码拷贝到自己的项目中 再生成地址的时候会报错

Wallet wallet = new Wallet(true);
wallet.setWalletName("11");
wallet.setColdWallet(true);
String address = wallet.getAddress();//地址
Log.e("pppppp", "store: 地址为:"+address );

这段代码再我的项目中就会报错 再demo中就能成功 请问为什吗?(中间的部分已省略)

报错信息如下:
NoSuchAlgorithmException: class configured for MessageDigest(provider: SC)cannot be found.

具体定位到报错的代码位置为:

Hash类中的 sha3() 方法中的 MessageDigest.getInstance()位置报错

public static byte[] sha3(byte[] input) {
MessageDigest digest;
try {
LogUtil.e("ppppppCRYPTO_PROVIDER:" + CRYPTO_PROVIDER.getName() + " HASH_256_ALGORITHM_NAME:=" + HASH_256_ALGORITHM_NAME);
digest = MessageDigest.getInstance(HASH_256_ALGORITHM_NAME,CRYPTO_PROVIDER);
digest.update(input);
return digest.digest();
} catch (NoSuchAlgorithmException e) {
LOG.error("Can't find such algorithm", e);
throw new RuntimeException(e);
}

}

image

Tron SR candidates missing

Hi this is probably not a real issue but the list of SR candidates doesn't have all of them in.
Is there a timeline when the offical list will be available?
Thank you

Group Voting vs. Transacting into logical user journeys

Further to https://mobile.twitter.com/jcisemer/status/1019324072365383680:

Status Quo:

  • Wallet mixes Send/Receive with Freeze (for Voting) and History (non-daily action)
  • Freeze tab is disconnected from where you do all the voting (which happens in other part of the app where you pick candidates and cast votes)

Feature Request:

  • Transact section - limit to Send/Receive, pull icon into section header, rename section “Transact with Tron wallet”,
  • Freeze tab - move Freeze tab into Voting section, pull icon into section header, rename section “Vote for Super Reps”

In short, make user flows smoother by starting to group tasks by logical user journeys, with everything transactions-related (send/receive) grouped together into on tabbed group, and everything voting-related (freeze, candidates, your votes) grouped together into another tabbed group.

vote-transact-large

Cryptographic APIs misuses

I'm a PhD student interested in finding security vulnerabilities in open source projects.

We found a total of 113 warnings (indicating potential vulnerabilities) when running the CogniCrypt static analyzer (*) on tron-wallet-android (or its library dependencies). We documented each one of these issues in private gists for the sake of confidentiality (non-disclosure).

Can you please let us know whether we can share these gists with you? We are eager to evaluate the perception of developers (e.g. severity of these warnings) and improve tron-wallet-android's security, and the quality of the reports of static analysis tools.
(*) https://github.com/CROSSINGTUD/CryptoAnalysis

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.