Solana and SVM Compatible Blockchains (beta) Signers

signer

secret_key

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

Inputs

  • Name
    secret_key
    Required
    optional
    Type
    string
    Description

    The secret key used to sign messages and transactions.

  • Name
    mnemonic
    Required
    optional
    Type
    string
    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
    Required
    optional
    Type
    string
    Description

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

  • Name
    keypair_json
    Required
    optional
    Type
    string
    Description

    A path to a keypair.json file containing the secret key. This input will not be used if the secret_key or mnemonic inputs are provided.

  • Name
    is_encrypted
    Required
    optional
    Type
    bool
    Description

    Coming soon

  • Name
    password
    Required
    optional
    Type
    string
    Description

    Coming soon

Outputs

  • Name
    public_key
    Type
    string
    Description

    The public key of the account generated from the secret key, mnemonic, or keypair file.

  • Name
    address
    Type
    string
    Description

    The SVM address generated from the secret key, mnemonic, or keypair file. This is an alias for the public_key output.

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
    Required
    optional
    Type
    string
    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
    Type
    string
    Description

    The address of the account.

  • Name
    public_key
    Type
    string
    Description

    The address of the account.

Example using web_wallet

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


signer

squads

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

Inputs

  • Name
    address
    Required
    optional
    Type
    string
    Description

    The squad vault address.

Outputs

  • Name
    public_key
    Type
    string
    Description

    The public key of the squad vault.

  • Name
    address
    Type
    string
    Description

    The SVM address generated from the secret key, mnemonic, or keypair file. This is an alias for the public_key output.

Example using squads

signer "deployer" "svm::squads" {
    address = input.address
}


Was this page helpful?