Here I’ll have to make a transaction that will fund the newly created wallet address.
After that, I’ll have to make another transaction where I’ll take the amount back as my main intention is to just create the wallet not to make the fund transaction. So I was hoping that there is an operation where I just create it with zero balance and is also visible on the chain.
It becomes a fund refund kinda transaction. I was more hoping it could be a paymaster kind of operation.
Is the idea to just make the account visible in the block explorer?
yes, But I don’t want the fund refund kind of scenario. I want to use a paymaster similar to aptos where I can just call 0x1::create_account function and the gas is sponsored from the paymaster.
Presently, we don’t have good tooling yet for that style of fee system just yet.
A pay-master style predicate would resolve this more wholistically, but it has not been standardized or normalized in our tooling just yet.
Short term solution:
Just send the user some ETH for gas
Mid term solution:
Fee payer standardization in predicates and multi-user msg_sender support in smart contracts
Long term solution:
Complete fee payer infrastructure with Fuel Station.
The good news is that Fuel supports multi-user fee payer like interactions with our existing transaction model, we just don’t have this tooled very well right now in our offered predicate design.