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 admnz5UvRa93HM5nTrxXmsJ1rw2tvXMBFGauvCgzQhEThe command uses the Solana CLI under the hood. Install and configure the Solana CLI before deploying.
Arguments
| Argument / Flag | Required | Default | Description |
|---|---|---|---|
<bytecode-file> | Yes | — | Path to compiled Doppler bytecode (.so). |
--program-keypair <file> | Yes | — | Program keypair JSON file used for deployment. |
--admin <address> | Yes | — | Admin address embedded in the generated bytecode. |
--signer <file> | No | Solana CLI keypair_path | Signer keypair for deployment fees. |
--network <url> | No | Solana CLI json_rpc_url | RPC URL for deployment. |
--config <file> | No | ~/.config/solana/cli/config.yml | Solana 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