kaiachain / kaia-dapp-mono

MIT License
7 stars 19 forks source link

Proposal: Gas-Efficient Batch Transactions for Kaia Network #143

Open Phizman opened 1 day ago

Phizman commented 1 day ago

Description This proposal introduces a gas-optimized solution for batch transactions on the Kaia network, enabling users to send multiple token transfers in a single transaction. By leveraging signature-based approvals similar to Permit2, users can reduce transaction fees and improve overall efficiency. This will enhance the user experience, especially for DeFi applications that require frequent transfers, and promote greater adoption of Kaia by providing a streamlined, cost-effective process for managing multiple assets.

Bounty track: DeFi/Dapps

zxstim commented 1 day ago

What are your deliverables for this proposal?

Phizman commented 1 day ago

What are your deliverables for this proposal?

I will create a gas-saving batch transfer system with easy instructions, tests to ensure it works, and a plan to help people use it on the Kaia network.

zxstim commented 1 day ago

Again, similar to your other proposal, what does this look like? Is it a smart contract? is it a backend server? how does other wallets use this.

Don't have to provide the minute details but a good overview on how that would work.

Phizman commented 1 day ago

Again, similar to your other proposal, what does this look like? Is it a smart contract? is it a backend server? how does other wallets use this.

Don't have to provide the minute details but a good overview on how that would work.

Ok thank you. This proposal will involve building a smart contract on the Kaia blockchain that allows users to batch transfer tokens in one go, using signature-based approvals to save on gas fees. Other wallets or DeFi apps can interact with this contract by integrating it into their platforms through simple API calls or contract functions. Users would sign a message approving multiple transfers, and the contract will process them in a single transaction, reducing costs and improving efficiency. Wallets or dApps would need to add support for this smart contract to offer seamless batch transfers to their users.

zxstim commented 1 day ago

Ah ok. Next time, please make sure your proposal is descriptive. Not long, but descriptive.

Approved to proceed.