Solana and SVM Compatible Blockchains (alpha) Signers

signer

secret_key

The svm::secret_key signer can be used to synchronously sign a transaction.

Inputs

  • Name
    secret_key
    Description

    The secret key used to sign messages and transactions.

  • Name
    mnemonic
    Description

    The mnemonic phrase used to generate the secret key. This input will not be used if the secret_key input is provided.

  • Name
    derivation_path
    Description

    The derivation path used to generate the secret key. This input will not be used if the secret_key input is provided.

  • Name
    is_encrypted
    Description

    Coming soon

  • Name
    password
    Description

    Coming soon

Outputs

  • Name
    public_key
    Description

    The public key of the account generated from the secret key.

  • Name
    address
    Description

    The address generated from the secret key.

Example using secret_key

signer "deployer" "svm::secret_key" {
    secret_key = input.secret_key
}


signer

web_wallet

The svm::web_wallet signer will allow a Runbook operator to sign the transaction with the browser signer of their choice.

Inputs

  • Name
    expected_address
    Description

    The SVM address that is expected to connect to the Runbook execution. Omitting this field will allow any address to be used for this signer.

Outputs

  • Name
    address
    Description

    The address of the account.

Example using web_wallet

signer "alice" "svm::web_wallet" {
    expected_address = "zbBjhHwuqyKMmz8ber5oUtJJ3ZV4B6ePmANfGyKzVGV"
}


Was this page helpful?