Skip to content

Sign transaction with external providers #316

Open
@lethaale

Description

@lethaale

Hello!

First of all, big thank you for this gem.

All the examples in Wiki use a locally stored private key, for example in Rails credentials. There is a safer way to do this, for example using a "Key as a service" provider like Turnkey. This delegates the responsibility of storing the private key and just exposes an API to sign a transaction. Example https://docs.turnkey.com/api#tag/Signing/operation/SignTransaction.

The approach I'm using is

  • sign transaction with turnkey
  • call Eth::Client.new().eth_send_raw_transaction

Questions

  • is this the correct way to do it?
  • is it interesting to add to documentation? Happy to do a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions