Allow require_auth
from non-existent accounts
#1464
Replies: 2 comments 1 reply
-
It is possible to make auth work for non-existent accounts. These would be verified just using the account id as a public ed25519 key. Note, that due to the SAC semantics of using trustlines/account entries for the classic account balances, non-existent accounts will not be able to hold any SAC balances, including XLM balance. They will be compatible with any contracts that don't use SAC. If there is more generic demand for supporting stateless accounts, there are ways to achieve that as well in a more generic fashion. However, that's much more involved, so it would make sense to proceed just with the classic account support. |
Beta Was this translation helpful? Give feedback.
-
Help me see why this is important with an example? |
Beta Was this translation helpful? Give feedback.
-
It's unfortunate that the
require_auth
andrequire_auth_for_args
methods can only be called on Stellar account's that have been created on the network. It would be nice to be able to utilize existing wallet infrastructure for signing auth entries with account's that haven't been created on the network.It definitely took me by surprise that this wasn't possible. I would love to see general auth entry signing be possible with accounts that haven't been created on the network.
Beta Was this translation helpful? Give feedback.
All reactions