aurora-is-near / aurora-relayer

[DEPRECATED] Web3-compatible relayer server for Aurora.
https://aurora-is-near.github.io/aurora-relayer/
Creative Commons Zero v1.0 Universal
26 stars 13 forks source link

Error: Can not sign transactions for account relay.aurora on network mainnet #329

Closed ggxed closed 1 year ago

ggxed commented 2 years ago

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)))..

pustovalov commented 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.