Agere Executor
Last updated
Last updated
Recommended System: Ubuntu 22.04 LTS +
Clone the repository
Install the dependencies
Activate the virtual environment
Create Wallet
If you choose to create wallets, there will generate two wallets: a cold wallet and a hot wallet. In the current script, the cold wallet is associated with the hot wallet automatically. The following operations will require using the name of the cold wallet. Both the cold and hot wallets are very important, and you need to securely save the wallet's mnemonic phrase to prevent loss.
You need to import both your cold wallet and hot wallet into the BEVM Wallet for easier subsequent operations.
Register to the agere
Please deposit BEVM token larger than register fee (at least 10 tokens ) to your cold wallet to register and join the agere.
Before running the program, you need to deposit some tokens to your hot address as transaction fees so the program can send transactions normally.
Query your wallet balance
Edit the .env file according to your RPC type
For Node RPC:
Set BTC_RPC_USER
Set BTC_RPC_PASSWORD
Set BTC_RPC_ENDPOINT (IP:Port )
For ANKR RPC:
Set ANKR_API_KEY
For Mempool RPC:
No configuration needed
Method 1: Copy the .env file, and enter the .env file to modify the corresponding parameters.
Method 2: Directly export the corresponding parameters to the environment variables (Note: Re-running the program requires re-importing).
For Node RPC:
The endpoint does not need to include the HTTP or HTTPS protocol.
For ANKR RPC:
Run the executor program
Here are some options for more funtions:
Except for agere creators, other users' BitAgere incentives are stored in stakes and need to be unstaked to receive actual tokens.
Using scripts to unstake
Unstaking via BEVM Wallet
Router: Network->Agere->User Dashboard->Agere Participants->Unstake