Doppler
Generator

Deploy

Deploy generated Doppler bytecode with the Solana CLI.

Use deploy to deploy compiled Doppler bytecode to a Solana cluster.

npx @blueshift-gg/doppler-cli deploy <bytecode-file> \
  --program-keypair ./keys/price-feed-program-keypair.json \
  --admin admnz5UvRa93HM5nTrxXmsJ1rw2tvXMBFGauvCgzQhE

The command uses the Solana CLI under the hood. Install and configure the Solana CLI before deploying.

Arguments

Argument / FlagRequiredDefaultDescription
<bytecode-file>YesPath to compiled Doppler bytecode (.so).
--program-keypair <file>YesProgram keypair JSON file used for deployment.
--admin <address>YesAdmin address embedded in the generated bytecode.
--signer <file>NoSolana CLI keypair_pathSigner keypair for deployment fees.
--network <url>NoSolana CLI json_rpc_urlRPC URL for deployment.
--config <file>No~/.config/solana/cli/config.ymlSolana CLI config file.

Manifest Verification

If manifest.json sits next to the bytecode file, deploy checks that:

  • the manifest program ID matches the program keypair
  • the manifest admin matches --admin

On this page