keep-starknet-strange / batchor

Batch multiple transfers in a multicall, loading a data file.

Home Page:https://batchor.madara.build

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting Started

Disclaimer: Beta of Batchor under development. Please take care, verify tx before sign, and use at your own risk.

If you have a problem or want something else: Create an issue or DM in X/Telegram if needed.

How to use

Go to: https://batchor.madara.build

  • Choose your Batch Type: ERC20 or ERC721

  • Get a CSV like it:

For ERC20:

token_address,recipient,amount 0x0,0x04303C60233Ca91F72e53bE1A745E9D35cBbe7130E7438f716C8b4BC69852159, 1 0x0,0x060d0bE6Dd9Ca2582130fA481A159258Ea8bEFA240c6d972fC7DbB1a7DA8431e, 2

For ERC721: token_address,recipient,token_id 0x0,0x0, 1 0x0,0x0, 2

  • Upload it too Batchor or in local: https://batchor.madara.build
  • Click on "Upload csv"
  • Check the data and the summary.
  • Click in the button: "Try Batch".
  • Click "Process data": TX, process, verify the data.
  • Click batch to open the tx request.

Check the info in batch multicall. If it's ok for you, let's send the batch tx.

Specs

Multicall batch ERC20 transfer. We need to prepare a batch transfer made when upload the CSV file.

The CSV file need to contains: token_address,recipient,amount

  • Load file CSV
  • Prepare the batch transfers for each row
  • View of batch transfer and TX ERC20 send
  • Modal before send the TX
  • Message view : You are about to send a multicall with XXX transactions, to a total of XXX unique recipients, using XXX unique tokens.
  • Send the TX Multicall

Run

First, run the development server:

pnpm run dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.tsx. The page auto-updates as you edit the file.

Learn More

To learn more about this stack, take a look at the following resources:

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out the Next.js deployment documentation for more details.

About

Batch multiple transfers in a multicall, loading a data file.

https://batchor.madara.build

License:MIT License


Languages

Language:TypeScript 95.4%Language:CSS 3.0%Language:JavaScript 1.6%