Agere Executor
Transfer GEB from EVM to Wasm
Transfer(EVM<-->Wasm)Executor Overview
RelayAgereQuick Join RelayAgere
Recommended System: Ubuntu 22.04 LTS +
Preparation Work
Clone the repository
git clone https://github.com/GEBcore/RelayAgere.git && cd RelayAgere
Install the dependencies
bash install.sh
Activate the virtual environment
source .venv/bin/activate
Create Wallet
./wallet.sh <cold_wallet_name>
You need to import both your cold wallet and hot wallet into the GEB Wallet for easier subsequent operations.
Register to the agere
Please deposit GEB token larger than register fee (at least 10 tokens ) to your cold wallet to register and join the agere.
./register.sh <cold_wallet_name>
Run an Executor Progarm
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
./get_balance.sh <cold_wallet_name>
Running as an Executor
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.
cp .env.example .env
Method 2: Directly export the corresponding parameters to the environment variables (Note: Re-running the program requires re-importing).
For Node RPC:
export BTC_RPC_USER=""
export BTC_RPC_PASSWORD=""
export BTC_RPC_ENDPOINT=""
The endpoint does not need to include the HTTP or HTTPS protocol.
For ANKR RPC:
export ANKR_API_KEY=""
Run the executor program
./executor.sh [-d] [-t tip_value] [-r rpc_type] <cold_wallet_name>
Here are some options for more funtions:
Options:
-d Run in daemon mode (background)
-t value Specify tip value (default: 0) (may increase the chance of executing a transaction)
-r type Bitcoin RPC type (node/mempool/ankr, default: mempool)
Close Program
./close.sh
Claiming Rewards
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
./stake.sh remove <cold_wallet_name>
Unstaking via BEVM Wallet
Router: Agere->User Dashboard->Agere Participants->Unstake

Last updated