fuel-block-committer icon indicating copy to clipboard operation
fuel-block-committer copied to clipboard

feat: use keys on AWS's KMS to sign eth txs

Open segfault-magnet opened this issue 6 months ago • 0 comments

closes: #91

Used localstack to host a (AWS compliant) KMS service locally in the e2e tests.

Since you cannot get the private keys out of the KMS, in the e2e tests, now we have to:

  1. create the key on aws
  2. fund it
  3. get foundry to output raw transactions
  4. sign them with the newly created key
  5. deploy the contract (+proxy)

Unfortunately the ethers Signer implementation for aws kms (AwsSigner) uses rusoto_kms which seemed to be no longer maintained. Fortunately aloy uses the new rust sdk maintained by amazon so this should be solved once we move to aloy.

segfault-magnet avatar Aug 03 '24 19:08 segfault-magnet