skalenetwork/skale-network

[SIP-6] Automatic S-Fuel Allocation on S-Chain Movement

TheGreatAxios opened this issue · 0 comments

[SIP-6] S2S Automatic S-Fuel Allocation

The Problem(s)

NOTE** Due to V2 not being out yet this is not an official issue, more of planning for the future.

The assumed issue will be that User A wants to send NFT from dApp W on S-Chain X to dApp Y on S-Chain Z.
User A has S-Fuel on S-Chain X, but none on S-Chain Z. When user A transfers the NFT and then wants to perform an action he is restricted by a lack of S-Fuel.

The Solution

This solution is relatively straightforward. Provide an additional check on S2S movement that will automatically send S-Fuel to the address of the receiver on the receiving S-Chain in order to facilitate automatic usage of dApps and increase the ability and desire of users to move between chains without thinking about the pain points.

With a limited lack of S2S knowledge currently, my initial thought process is to have a parameter passed with the transfer automatically which is the users current balance of S-Fuel on the transfer they are moving from and then the chain receiving mints them the corresponding S-Fuel on the new chain.