Skip to main content

Vault Deployment

Deploy a new vault using the Orion CLI.


Prerequisites

  • SDK installed (see SDK Installation)
  • .env configured with:
    • RPC_URL
    • VAULT_DEPLOYER_PRIVATE_KEY
    • CURATOR_ADDRESS

What is an RPC URL?

An RPC URL is the endpoint the SDK uses to communicate with contracts on the blockchain network.

It’s provided by a node or node service provider (e.g., Alchemy) and allows the SDK to send transactions and query blockchain data.

Getting an RPC URL

You can get an RPC URL from multiple providers. Below are three popular options:

1. Alchemy

  1. Go to Alchemy and create a free account.
  2. Click "Create App" in your dashboard.
  3. Select:
    • Chain – Ethereum;
    • Network – Sepolia Testnet.
  4. Once created, click your app and copy the HTTP URL — this is your RPC URL.
  5. Paste it into your .env file:
RPC_URL=https://eth-sepolia.g.alchemy.com/v2/YOUR_API_KEY

2. Infura

  1. Go to Infura and sign up.
  2. Create a new project in your dashboard.
  3. Select the Sepolia network.
  4. Copy the HTTPS endpoint and paste it into your .env file:
RPC_URL=https://sepolia.infura.io/v3/YOUR_API_KEY

3. QuickNode

  1. Go to QuickNode and create a free account.
  2. Click "Create Endpoint" and choose the Sepolia network.
  3. 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-vault \
--vault-type transparent \
--name "Algorithmic Liquidity Provision & Hedging Agent" \
--symbol "ALPHA" \
--fee-type hard_hurdle \
--performance-fee 100 \
--management-fee 10

What this does:

  • Deploys an ERC-7540 vault smart contract;
  • Registers the curator address set in your .env;
  • Sets the fee type and fees amounts;
  • Makes allocations visible onchain.

Deploy an Encrypted Vault

orion deploy-vault \
--vault-type encrypted \
--name "Quantitative Uncertainty Analysis of Network Topologies" \
--symbol "QUANT" \
--fee-type high_water_mark \
--performance-fee 0 \
--management-fee 20

What this does:

  • Deploys an ERC-7540 vault smart contract;
  • Registers the curator address set in your .env;
  • Sets the fee type and fees amounts;
  • Makes allocations confidential.

Verify Deployment

  • The CLI outputs the vault contract address;
  • Add it to your curator records and share it with users.