The Vault
  • About
    • ๐Ÿš€Our Mission
    • ๐Ÿ”ฅvSOL
    • โœจPoints program
    • ๐Ÿค“Contributors
    • ๐Ÿ”ขStake pool address
    • ๐ŸฆThe Vault Fees
    • ๐Ÿ“ˆTokenomics
  • Validators
    • ๐Ÿ“ŠDelegation Strategy
    • ๐Ÿ’ซGet stake from the pool!
    • โœ…Validator Allowlist
    • ๐Ÿ›ก๏ธValidator Shield Initiative
    • ๐ŸฆKamino Multiply Strategy
    • ๐Ÿ”Signing A Message
    • ๐Ÿช™LST Creator
    • โš™๏ธLST Creator Widget
    • ๐Ÿ“šLST Creator API
    • ๐Ÿ›๏ธValidator Application Process
    • ๐Ÿ“ƒWaitlist Criteria
    • โ˜€๏ธAllowlist Criteria
    • ๐Ÿ’ปValidator Reward Claim Instructions
    • ๐Ÿ“ฆStake-as-a-Service (SaaS)
  • Users
    • ๐ŸŽฏValidator target stake
    • ๐ŸŒŠLiquid staking
    • ๐Ÿ“ˆStaking APY
    • ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆMultisig staking
    • ๐Ÿ””The Vault Discord
    • โ˜€๏ธDelayed LST unstaking in Solflare Wallet
    • ๐Ÿ‘ปDelayed LST unstaking in Phantom Wallet
    • ๐Ÿ…Squads
    • ๐ŸŽ–๏ธUnits
  • ๐Ÿ”Risks
  • ๐Ÿ”—Links
Powered by GitBook
On this page
  • โœ… Verifying Your Identity Off-Chain
  • ๐Ÿ”‘ Choosing a Claim Wallet
  • ๐Ÿ›  Steps to Follow
  • ๐Ÿ“Œ Example Command and Breakdown
  • ๐Ÿ“ What Each Part Means
  • ๐Ÿš€ What to Do Next
  • ๐Ÿ” Verifying the Signature
  • โš ๏ธ Key Points to Remember
  1. Validators

Signing A Message

Instructions for Signing an Off-Chain Message with Solana CLI

โœ… Verifying Your Identity Off-Chain

To verify your identity without signing an on-chain transaction using your vote key, you need to sign an off-chain message and provide the necessary details. This process allows you to prove ownership of your vote key securely.


๐Ÿ”‘ Choosing a Claim Wallet

Choose a claim wallet that you will use to connect to The Vault's website. Preferably, use a burner wallet. You can see your personal validator dashboard and claim points when the campaign is finished using this wallet.


๐Ÿ›  Steps to Follow

  1. Open a terminal on your system.

  2. Ensure you have the Solana CLI installed and configured correctly.

Run the command to sign the off-chain message: solana sign-offchain-message "TheVault:yourClaimPublicKey" -k /pathToYourVoteKey

    1. TheVault:yourClaimPublicKey โ†’ Replace yourClaimPublicKey with your actual claim public key.

    2. -k /pathToYourVoteKey โ†’ Replace /pathToYourVoteKey with the path to your Solana vote key file (e.g., ~/.config/solana/id.json).


๐Ÿ“Œ Example Command and Breakdown

For example, if the user's claim public key is AbcD5Vu2RhsH3KEKy74fPqs38RCiMdm473zJDq6hzhQ, and their vote key is stored at ~/.config/solana/id.json, they would run:

solana sign-offchain-message "TheVault:AbcD5Vu2RhsH3KEKy74fPqs38RCiMdm473zJDq6hzhQ" -k ~/.config/solana/id.json

When run, the output should look like this:

9XYT6HdQmUkDkhVgr87yGeCh2pAx92tFyzXTUE5u3GTD1Q1WR1AokEpaw7RVtd1wXuMRCiw2QJr72bZcsLK5q3xD


๐Ÿ“ What Each Part Means

  • Generated Signature:

    • 9XYT6HdQmUkDkhVgr87yGeCh2pAx92tFyzXTUE5u3GTD1Q1WR1AokEpaw7RVtd1wXuMRCiw2QJr72bZcsLK5q3xD

    • This is the signature generated for your message. It proves ownership of your vote key without needing to sign a blockchain transaction.


๐Ÿš€ What to Do Next

Once you have the signature, submit the following details:

  • Your vote public key (e.g., AbcD5Vu2RhsH3KEKy74fPqs38RCiMdm473zJDq6hzhQ)

  • The message used (e.g., TheVault:AbcD5Vu2RhsH3KEKy74fPqs38RCiMdm473zJDq6hzhQ)

  • The signature you received (e.g., 9XYT6HdQmUkDkhVgr87yGeCh2pAx92tFyzXTUE5u3GTD1Q1WR1AokEpaw7RVtd1wXuMRCiw2QJr72bZcsLK5q3xD)


๐Ÿ” Verifying the Signature

To verify that the signature is valid, another person can run the following command:

solana verify-offchain-signature "TheVault:yourClaimPublicKey" yourSignature --signer yourVotePublicKey

Example with values from above:

solana verify-offchain-signature "TheVault:AbcD5Vu2RhsH3KEKy74fPqs38RCiMdm473zJDq6hzhQ" 9XYT6HdQmUkDkhVgr87yGeCh2pAx92tFyzXTUE5u3GTD1Q1WR1AokEpaw7RVtd1wXuMRCiw2QJr72bZcsLK5q3xD --signer 3Gh8mJQfYvJ3uMjdXhPfF31PwbxC5zXofsHHdgyvG5Gr

If the signature is valid, the output will confirm:

Signature is valid


โš ๏ธ Key Points to Remember

  • No transactions are made on-chain, ensuring security.

  • The signature process verifies ownership of the vote key securely.

  • The -k flag points to your private key file, so keep it secure and do not share it.

  • Always verify the correctness of your details before submitting them.

By following these steps, users can easily sign messages off-chain and validate their identities securely without needing to broadcast transactions.

PreviousKamino Multiply StrategyNextLST Creator

Last updated 3 months ago

๐Ÿ”