Use Smart Account
Last updated
Last updated
# Clone the repo
git clone https://github.com/Othentic-Labs/operator-registration-script.git
cd othentic-operator-scripts
# Install dependencies
npm installts-node scripts/genAvsRegisterBlsSignature.ts \
<BLS_PRIVATE_KEY> \ # Consensus Key
<AVS_GOVERNANCE_ADDRESS> \ # Contract address
<SMART_WALLET_ADDRESS> \ # Smart account contract address
<RPC> # Ethereum mainnet RPC endpointts-node scripts/allowlist/generateSignature.ts \
<PRIVATE_KEY> \ # Smart account signer private key
<WALLET_ADDRESS> \ # Smart account contract address
<AVS_GOVERNANCE_ADDRESS> # Contract addressts-node scripts/genRegisterAsOperatorTx.ts \
<ECDSA_PRIVATE_KEY> \ # Private key of smart account signer
<JSON_FILE> \ # Path to the JSON file generated in Step 1
<RECEIVER_ADDRESS> \ # Address where Operator rewards will be sent
<AUTH_TOKEN> \ # (Optional) Token for allowlist access generated in Step 2
<RPC> # Ethereum mainnet RPC endpoint