Skip to Content
svmgovFor ValidatorsCreate Proposal

Create Proposal

Create a new governance proposal on-chain.

Description

Submits a new governance proposal. The validator must have at least 100,000 SOL staked to their vote account. The proposal is assigned a unique sequential index and a PDA derived from the seed and the validator’s vote account.

The description must be a link to one Markdown file in the solana-foundation/solana-governance-proposals repository, pinned to a full 40-character Git commit SHA:

https://github.com/solana-foundation/solana-governance-proposals/blob/<40-hex-commit>/path/to/proposal.md

The program enforces this URL shape. The CLI additionally fetches the file and requires non-empty YAML frontmatter (opening and closing --- delimiters). Use --skip-link-check only to explicitly bypass that off-chain reachability/frontmatter check; it cannot bypass URL validation.

Usage

svmgov create-proposal \ --title "Your Proposal Title" \ --description "https://github.com/solana-foundation/solana-governance-proposals/blob/<commit-sha>/proposals/sgp-0001-title.md" \ --network mainnet

Arguments

ArgumentTypeRequiredDefaultDescription
--titleStringYes—Proposal title. Length in bytes must be ≤ max_title_length (config-set, up to 200 bytes)
--descriptionStringYes—Commit-pinned GitHub blob URL to a single .md file in the proposal repository; length in bytes must be ≤ max_description_length (config-set, up to 500 bytes)
--skip-link-checkflagNofalseSkip the CLI’s GitHub fetch and frontmatter preflight; structural URL validation still applies
--networkStringNoConfig valueNetwork override for proof fetching: mainnet, testnet
--seedu64NoRandomUnique seed for PDA derivation

Global Arguments

OptionShortDescription
--keypair <PATH>-kPath to validator identity keypair JSON
--rpc-url <URL>-rCustom RPC URL

Requirements

  • Validator must have ≥ 100,000 SOL staked to their vote account
  • The identity keypair must match the node_pubkey of the vote account
  • Description must be a commit-pinned .md blob URL in the proposal repository; branches, tags, pull-request URLs, and directories are rejected
  • The fetched document should begin with non-empty YAML frontmatter
  • ProposalIndex must be initialized (run svmgov init-index once)

Examples

# With config (recommended) svmgov create-proposal \ --title "Increase max validator commission to 12%" \ --description "https://github.com/solana-foundation/solana-governance-proposals/blob/<commit-sha>/proposals/sgp-0001-title.md" \ --network mainnet # With a specific seed for deterministic PDA svmgov create-proposal \ --seed 100 \ --title "Update cluster fee schedule" \ --description "https://github.com/solana-foundation/solana-governance-proposals/blob/<commit-sha>/proposals/sgp-0001-title.md" \ --network mainnet # With explicit keypair svmgov create-proposal \ --title "My Proposal" \ --description "https://github.com/solana-foundation/solana-governance-proposals/blob/<commit-sha>/proposals/sgp-0001-title.md" \ --network mainnet \ --keypair ~/.config/solana/validator-identity.json

What Happens On-Chain

  1. Validates title length, description format, and stake amount
  2. Allocates a new Proposal PDA: ["proposal", seed.to_le_bytes(), vote_account]
  3. Increments ProposalIndex.current_index
  4. Records creation_epoch, proposer_stake_weight_bp, and all metadata

The proposal starts in the support phase. Other validators must support it before voting opens.

Save the proposal’s PDA address from the transaction output — you’ll need it for support-proposal and cast-vote.

Last updated on