Overview
The Batch Token Transfer Tool allows for a user to easily set up and automate transfers to multiple Flow wallet addresses from a single Flow wallet address. Useful to anyone who manages a community or works with multiple collaborators, this tool saves users the time required to initiate transfers individually to large groups of people.
Team
Architecture and Technology
- Frontend: Next.js, TypeScript
- Transaction Code: Cadence
- Test: Cadence tester with Go
- Hosting: modern Host service like Vercel with automatic and seamless CI/CD
User Experience
- Let’s start with our dapps home screen.
- At the center of the page is the button with which the users can connect to a third-party Flow wallet (Blocto) to our Dapps.
- Once any third-party wallet is connected to our dapps, the list of tokens and its balance held by the user's wallet is displayed at the center. By default, FLOW token is selected but users may select other tokens.
- Below the list is the expandable textbox, in which the list of recipients’ addresses and the amount is inputted in a certain format as a batch. The format validation may be implemented.
- Also, the validation runs to make sure the sum of the sent amount is lower than the user’s balance.
- If all validations passed, initially-gray Send button is now activated.
- Clicking Send button will open a dialog displaying the summary of the batch transfer and Approve button beneath. If approved, a connected third-party wallet is opened and a transaction is ready to be authorized and broadcasted.
- Listening to the chain event to see the status of the sent transaction. Once broadcasted, the user gets notified and the link to Flowscan may be displayed.
- During chain spork and any kinds of outage, the user gets notified that the service is unavailable.
Maintainance Plan
- Frontend
- Implementation to enhance maintainability so that:
- Any new third-party wallet can be easily integrated.
- Token type agnostic
- Adding and blacklisting Fungible Token may be easy.
- Minimum and modular design to ensure future extensibility
- Use of TypeScript
- Cadence
- Thorough test cases to be covered to assess the validity of the logic in case of breaking change in Cadence.
Hosting Service
- The code changes made to the main branch should trigger CI/CD process and the web page is updated.
Past Project
We have already created the batch transfer tool to distribute bounties to the event participants.
Misc
This document is also shared in google doc: https://docs.google.com/document/d/1ZZgFD7otoFZkJv_xrvpaz4g2JMsT130NXCw-l2PRM5g/edit?usp=sharing
Overview
The Batch Token Transfer Tool allows for a user to easily set up and automate transfers to multiple Flow wallet addresses from a single Flow wallet address. Useful to anyone who manages a community or works with multiple collaborators, this tool saves users the time required to initiate transfers individually to large groups of people.
Team
Architecture and Technology
User Experience
Maintainance Plan
Hosting Service
Past Project
We have already created the batch transfer tool to distribute bounties to the event participants.
Misc
This document is also shared in google doc: https://docs.google.com/document/d/1ZZgFD7otoFZkJv_xrvpaz4g2JMsT130NXCw-l2PRM5g/edit?usp=sharing