-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Too easy to burn tokens #7787
Comments
This isn't super workable though. You can't automatically create spending addresses without pre-registration. To solve 1, Bitcoin and other protocols use a checksum. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This stale issue has been automatically closed. Thank you for your contributions. |
@aeyakovenko were checksums introduced into Solana? I Googled "Solana checksum" and this was the first relevant post. What's the best way of confirming that an address is a valid Solana address? |
This is shocking. Solana addresses do not have a checksum (like other cryptocurrencies)? |
This issue has been automatically locked since there has not been any activity in past 7 days after it was closed. Please open a new issue for related bugs. |
Problem
If a transaction references a system account that doesn't yet exist, the runtime creates one automatically. The "feature" introduces two problems:
space
parameter. Consequently, we seeCreateAccount
being used with an unusedfrom
key and zerolamports
, suggestingCreateAccount
is doing too much. It's anAllocate
and aTransfer
, when only anAllocate
is needed.Proposed Solution
Allocate
, which should be the same asCreateAccount
, but with nofrom
orlamports
parameters. Consider removingCreateAccount
.cc: @rob-solana @aeyakovenko
The text was updated successfully, but these errors were encountered: