-
Install subkey
-
Install Go dependencies
go install
-
Build executable
go build -o substrate-adapter
-
Run
./substrate-adapter
Key | Description |
---|---|
SA_PRIVATE_KEY |
Private key for your Substrate account. |
SA_TX_TYPE |
Transaction type on the Substrate network. Either "mortal" or "immortal". |
SA_ENDPOINT |
Endpoint URL for Substrate node to connect to. |