eIBC client
eIBC enables anyone to fulfill user withdrawal requests from RollApps according to their own preferences and risk tolerance. The eIBC system has two types of participants:
- Operators: Validate and process withdrawals from selected RollApps, earning a portion of the eIBC fees as compensation.
- Liquidity Providers: Supply liquidity to specific RollApps and choose operators to process withdrawals, sharing in the eIBC fees generated from transactions.
You can read more about eIBC here.
This section outlines the process for setting up and running an eIBC client.
Requirements
This guide assumes you've already setup your environment.
Hardware Requirements
- A Linux or macOS operating system
- At least 4GB of RAM
- At least 10GB of free disk space
- 1 CPU core
- At least 10 Mbps bandwidth
Setup eIBC Client
Initialize eIBC client
initializing eIBC client creates a whale account which by default will recieve all fees.
DYM
funding is mandatory to be able to pay for the transactions fees on chain. Let's start by initializing the eIBC client:
roller eibc init
After successful initialization, you’ll receive an eibc operator address
and a policy address
.
eibc operator address
must be funded withDYM
tokens for gas.policy address
is used by Liquidity providers to authorize the use of funds to fulfill withdraw order. This address along with the Operator metadata is automatically added to the Portal for the respective RollApps.
INFO policy address: dym1f6fyc0ptxh7padqr3hnrw6sm8wjfr93w6cgv39jwm00nd6kh08esa3u2pg
INFO share this with the LP provider
Configure eIBC client
Whitelist RollApps
By default eIBC client will ask you for one rollapp to fulfill orders to upon initialization.
you can add any number of rollapps to the whitelist by editing the eibc-client.toml
file located in the ~/.eibc-client/config.yaml
directory.
For a full list of configuration options please refer to the eIBC client README.
Every configuration change requires a restart of the eIBC client.
Start eIBC client
After configuring the eIBC client, you can start the process by running one of the following commands:
- Foreground
- Background
roller eibc start
Load eIBC services
roller eibc services load
Start eIBC services
roller eibc services start