Vault Deployment (CLI)
Deploy a new vault using the Orion CLI.
Prerequisites
- SDK installed (see SDK Installation)
.env
configured with:RPC_URL
PRIVATE_KEY
CURATOR_ADDRESS
What is an RPC URL?
An RPC URL is the endpoint your vault uses to communicate with the blockchain network.
It’s provided by a node or node service provider (like Alchemy) and allows the SDK to send transactions and query blockchain data.
Without an RPC URL, the CLI won’t know where to send your vault deployment transaction.
Getting an RPC URL
You can get an RPC URL from multiple providers. Below are three popular options:
1. Alchemy
- Go to Alchemy and create a free account.
- Click "Create App" in your dashboard.
- Select:
- Network – e.g., Ethereum Mainnet, Sepolia Testnet, or supported L2.
- Chain – Ethereum (for now).
- Once created, click your app and copy the HTTP URL — this is your RPC URL.
- Paste it into your
.env
file:
RPC_URL=https://eth-sepolia.g.alchemy.com/v2/YOUR_API_KEY
2. Infura
- Go to Infura and sign up.
- Create a new project in your dashboard.
- Select the network you want (e.g., Mainnet, Sepolia).
- Copy the HTTPS endpoint and paste it into your
.env
file:
RPC_URL=https://sepolia.infura.io/v3/YOUR_API_KEY
3. QuickNode
- Go to QuickNode and create a free account.
- Click "Create Endpoint" and choose your network.
- Copy the HTTP Provider URL and paste it into your
.env
file:
RPC_URL=https://YOUR-UNIQUE-ENDPOINT.quiknode.pro/YOUR_API_KEY
Deploy a Transparent Vault
orion deploy-orion-transparent-vault \
--name "Vault 0" \
--symbol "V0"
What this does
- Deploys an ERC-4626 compliant vault
- Registers the curator address set in your
.env
- Makes allocations visible onchain (transparent mode)
Private vault deployment flows will appear here as they are exposed via the CLI.
Verify Deployment
- The CLI outputs the vault contract address
- Add it to your curator records and share it with users