-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TEP: Wallet registry for dapps #92
base: master
Are you sure you want to change the base?
Conversation
I don't see how this registry could be completely decentralized: Right now one of the wallets for TON uses our (Tonhub) sources in violation of its license, and they would be able to put themselves into a list with a legitimate wallets. This is the same reason why Metamask changed their license to kill copycats. I have experience in the past with other opensource products, and they all are under constant threat of phishing wallets. Ledger is another excellent example - there are so many fake apps that are just a fork of a ledger app that asks for a seed phrase. Pretty much the issue is the same as a lot of fake "USDC(T)" coins in virtually any network. |
@ex3ndr I understand your concern about fraudulent wallets. I'm personally fine with any of these alternatives:
I wonder what @EmelyanenkoK @tolya-yanot think |
|
||
## Wallet registry contract | ||
|
||
The contract holds a list of TON DNS names of wallet providers in its persistent storage. Anyone can add a new TON DNS name to the list. To reduce spam, we propose to require a deposit of 1,000-10,0000 TON Coin for registration that will be held by the contract and returned if the wallet provider unregisters. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The contract holds a list of TON DNS names of wallet providers in its persistent storage. Anyone can add a new TON DNS name to the list. To reduce spam, we propose to require a deposit of 1,000-10,0000 TON Coin for registration that will be held by the contract and returned if the wallet provider unregisters. | |
The contract holds a list of TON DNS names of wallet providers in its persistent storage. Anyone can add a new TON DNS name to the list. To reduce spam, we propose to require a deposit of 1,000-10,000 TON Coin for registration that will be held by the contract and returned if the wallet provider unregisters. |
|
||
## Wallet registry contract | ||
|
||
The contract holds a list of TON DNS names of wallet providers in its persistent storage. Anyone can add a new TON DNS name to the list. To reduce spam, we propose to require a deposit of 1,000-10,0000 TON Coin for registration that will be held by the contract and returned if the wallet provider unregisters. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ton value fluctuation issue is relevant here as well - if ton decreases in value temporarily, for example, it exposes the contract to a spam attack.
If the registration fee for a wallet is too large, only the largest wallets will afford it, which will lead to a situation similar to a Metamask. Also, it's not good to rely on solutions in which everything will be controlled by one organization (for example, TON Foundation), because this is essentially centralization, and it will add a lot of extra work to them like checking wallets for security. |
Why there are different ways to connect wallet? I thought that Ton Connect 2.0 unified everything under |
This standard defines an on-chain registry to hold a list of wallet providers (such as TonKeeper and TonHub) and allows TON dapp clients to query this list before displaying the "Connect Wallet" screen.