With IBC connectivity, it will be important to be able to easily transfer assets in and out of the chain. Also, considering that various projects will be issuing tokens on the Cosmos network to do airdrops and so on, we thought it would be very important to have a system that would allow to send token to many addresses at low gas prices.
What it does
This is a CosmWasm contract and its dApp that allows you to send native tokens and CW20 tokens to multiple addresses at once. It is also possible to send to multiple addresses in different chains via ibc.
How we built it
Deploy the cosmwasm contract and instantiate to execute transferring native tokens and CW20 tokens. Build the React App and connect the contract.
Challenges we ran into
How to achieve IBC transfer using CosmWasm contract. How to run a CosmWasm contract from a React dApp.
Accomplishments that we're proud of
We are able to send the native token and the CW20 token to many recipients using the multisender contract, and save a lot of gas. We have confirmed that the more addresses we send at once, the more we can save gas by a factor of 5 or 6. It is far cheaper than running the send command every time.
What we learned
How to execute multiple messages in a single transaction in CosmWasm. How to achieve IBC transfer using CosmWasm contract. How to run a CosmWasm contract from a React dApp.
What's next for Token"Multi"Sender
- Build the Token"Multi"Sender dApp on various chains
- Connect the contract part using IBC(already developed) to the front.
- Improve more secure and efficiency of using gas.
- Think about the limitation of IBC, for example, we only send 5 message at the same time.
Log in or sign up for Devpost to join the conversation.