Can a GSN signer be changed after initialization?

Hi @PaulRBerg,

There isn't a mechansim to change the trusted signer unless you explicitly added one to call _setTrustedSigner:

The options would be to:

  • Upgrade the contract using OpenZeppelin SDK (if you used upgradeability)
  • Create a new contract with functionality to change the trusted signer and transition to using that contract

Alternatively, you could transfer anything else controlled by the hardware wallet private key. Then you could use that private key for only a trusted signer. See the following tutorial on how to setup a trusted signing process:

1 Like