Skip to content

metacube-games/starknet-batcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

starknet-batcher

This repository gathers the code mentionned in the article A Starknet transactions batcher.

Architecture

CLI tool

One can use the batcher as a CLI tool to send a bunch of NFT transactions. First, create a .env file as the template.env:

RPC_URL=""
ACCOUNT_ADDRESS=""
ACCOUNT_CAIRO_VERSION=""
NFT_CONTRACT_ADDRESS=""

Then, run the following commands:

go run main.go <private_key> <csv_file>

Warning

Be cautious with your private key. It should be kept secret. Please take all necessary precautions to protect it if you use the tool in a production environment. It might be better to experiment with the tool on a brand new account with just a few funds.

The CSV file should have the following format:

<to_address>,<token_id>

About

A Starknet transactions batcher

Resources

License

Stars

Watchers

Forks

Languages