2. Configure and Set Up

  1. Prepare Addresses

  • Prepare 3 BTC + 1 EVM addresses to process transactions:

Address Type
Main Address (BTC)
Pegin Address (BTC)
Pegout Address (BTC)
Ethereum Address

Purpose

  • Operator staking address on Bitcoin chain

  • Split and send UTXO to Pegin & Pegout addresses

The address responsible for processing deposit transactions

The address responsible for processing withdraw transactions

Operator staking address on the EVM chain.

.env file configuration

BITVM_BRIDGE_OPERATOR_AUTH_SK

BITVM_BRIDGE_OPERATOR_PEGIN_SK

BITVM_BRIDGE_OPERATOR_PEGOUT_SK

BITVM_BRIDGE_OPERATOR_ETH_SK

Please use p2tr type addresses for BTC addresses

  • Note: These private keys are essential for the Operator to function correctly and should not be the same.

  • You can obtain FIABTC through deposits on the bridge: [https://app.fiammalabs.io/bridge]


  1. Configure Environment Variables

  • Edit the `.env` file and set the following important keys:

vim .env

Update these four required private keys:

BITVM_BRIDGE_OPERATOR_AUTH_SK=your_auth_private_key
BITVM_BRIDGE_OPERATOR_PEGIN_SK=your_pegin_private_key
BITVM_BRIDGE_OPERATOR_PEGOUT_SK=your_pegout_private_key
BITVM_BRIDGE_OPERATOR_ETH_SK=0xYourEvmPrivateKey

These private keys are essential for the Operator to function correctly and should not be the same.

Enhance Security (Optional)

For better security, use GPG-encrypted private keys. See the [GPG encryption setup] in the operator-release repository for details.

Last updated