This repository calls the reveal
function in rebels contract. Of course, you can reveal the rebels' cards on rebels.art/reveal/connect, but it does not give the option to reveal multiple cards in a single transaction. Here, this Repo calls the reveal
function, which can reveal multiple cards in a single transaction. For those of you who have multiple cards in your wallet and want to save money on gas and, this repo is for you.
Install required packages
pip install -r requirements.txt
Copy .env.sample and rename it to .env, then modify the contents.
cp .env.sample .env
Modify the inputs in reveal.py
address
andprivate_key
are you wallet infomy_token_id
is your rebels card id,maxFeePerGas
andmaxPriorityFeePerGas
are the eth gas parameters. To get the market gas price, check here
After filling out the inputs, you're ready to reveal. LFG REBELS!
python reveal.py
我会在 Mirror 上写一些数字货币科学家
相关的话题,欢迎关注我:
- Twitter: june023_eth
- Mirror: june023_eth