1. Home
  2. Docs
  3. Chainlink Adapters
  4. External Adapters
  5. substrate-adapter

substrate-adapter

Download

sudo git clone https://github.com/smartcontractkit/substrate-adapter.git
cd substrate-adapter

Substrate External Adapter

Install subkey
Install Go dependencies:
go install

Build executable:
go build -o substrate-adapter

Run ./substrate-adapter

Environment variables

SA_PRIVATE_KEY: Private key for your Substrate account.

SA_TX_TYP:Transaction type on the Substrate network. Either “mortal” or “immortal”.

SA_ENDPOINT:Endpoint URL for Substrate node to connect to.

Was this article helpful to you? Yes No

How can we help?