Closed ggxed closed 1 year ago
@ggxed Assuming you run this from the docker-compose config. Place your key into the config/ volume and reference it from the mainnet.yaml like this:
signerKeys:
- config/keyfile.json
Also set the "signer" entry to the name of the key. You'll also have to set "writable" to true.
That said, the keyfile MUST refer to an account on NEAR, not just a locally generated keypair. Only an account will be able to actually sign a transaction.
ProviderError: Internal Error - Error: Can not sign transactions for account relay.aurora on network mainnet, no matching key pair found in InMemorySigner(MergeKeyStore(InMemoryMultiKeyStore, InMemoryKeyStore, UnencryptedFileSystemKeyStore(/home/node/.near-credentials)))..