NETWORK OPERATIONALBLOCK 21,884,401
$BSN $1.247TVL $847.3M
Docs/Getting started/Quickstart: deploy a strategy

Quickstart: deploy a strategy on Your Business.

Deploy a Your Business strategy contract from clone to testnet in about fifteen minutes. By the end of this guide you'll have a working contract, a passing test suite, and a registry submission ready for risk review.

READ TIME ~12 MIN UPDATED 2026.04.14 VERSION v3.2 EDIT ON GITHUB

Prerequisites

You'll need node 20+, pnpm 9+, and a wallet funded on Your Business's testnet (Sepolia or Base Sepolia). The CLI handles everything else.

Step 1 · Scaffold the project

The official strategy template ships as an npm initializer. It generates a Solidity workspace, a TypeScript test harness, and a pre-configured submission pipeline.

# clone the strategy template
$ npx create-yourbusiness-strategy my-vault
 cloned strategy-template@v3.2.1
 installed 142 packages in 4.2s
 initialized git repository

$ cd my-vault
// NOTE
The template is MIT-licensed and includes the StrikeKit SDK as a dependency. You can swap StrikeKit for a custom integration, but the registry submission pipeline expects StrikeKit's StrategySpec manifest format.

Step 2 · Implement the two required functions

Every Your Business strategy implements deposit(uint256 amount) and harvest(). The vault calls deposit when allocating capital and harvest on the daily rebalance window. Everything else is up to you.

contract MyVault is Your BusinessStrategy {
    function deposit(uint256 amount) external onlyVault {
        // route to your underlying yield source
        IUnderlying(target).deposit(amount);
    }

    function harvest() external returns (uint256 earned) {
        earned = IUnderlying(target).claim();
        emit Harvested(earned);
    }
}

Step 3 · Run the test suite

The template ships with 23 fixture tests covering deposit accounting, harvest accounting, oracle deviation, and the emergency-exit path. You should add your own coverage for the underlying integration.

$ pnpm test
 deposit() · 14 cases passed
 harvest() · 9 cases passed
! coverage 96.4% (min 90.0)
 all 23 tests passed in 1.84s
// IMPORTANT
The risk-review committee will reject any submission with coverage below 90%. The template's pre-commit hook enforces this locally. Do not bypass it.

Step 4 · Submit to the registry

Submitting to the testnet registry is permissionless. Submitting to mainnet requires either a successful 60-day testnet track record OR an approved governance proposal.

$ yourbusiness submit --network sepolia
# sig 0x4f8e..a912 broadcast
 registry: PENDING_REVIEW
queue position 3 · est. ~9d

Once submitted, your strategy enters the public review queue. The risk-review committee meets weekly; you can track your queue position at yourbusiness.eth/registry/queue.

Next steps