! Connect to trusted RPC endpoints !
Gramine is required for running inside TEE, please refer to installation options.
make SGX=1to build and sign applicationRUST_LOG=info gramine-sgx omni-executor -- <parentchain-rpc-url> <ethereum-rpc-url>
-
(Optional) Configure environment variables:
cp .env.example .env # Edit .env file to configure required environment variables -
Build omni-executor docker image:
# for local (production build - excludes test endpoints) make build-docker # for integration test (includes test endpoints) make build-docker-test
Note: The
test-endpointsfeature flag controls test-only RPC methods likeomni_submitUserOpTest. Production builds exclude these by default. Usecargo build --release --features test-endpointsto include them. -
Start omni-executor:
# for local make start-local # for integration test make start-test
-
Stop omni-executor:
# for local make stop-local # for integration test make stop-test
First service run will generate substrate account, it needs to set as omni executor in omniAccount pallet.