ras_transfer_open

@mount("ft4.ras_transfer_open") operation ras_transfer_open(main: auth_descriptor, disposable: auth_descriptor?)(source)

The operation that defines the transfer-open strategy. The open strategy will allow anybody to register an account by simply sending a certain amount of tokens to that account, as long as the tokens sent are more than a certain minimum amount.

In most cases, this is not something that is desirable for production dapps, as it will expose the dapp to spam account creation, since no costs are associated.

Throws if the next operation in the transaction is not accepted by require_register_account_next_operation

Parameters

main

the main auth descriptor for the account that will be registered

disposable

optionally, the disposable auth descriptor for the same account

See also

core.accounts.strategies._strategy

for information on how to register an account using this strategy