Install

Deploy the Tare build

The Tare build goes on chain the way any upgrade does, with the Solana CLI, at the address your program already has.

Deploy

$ solana program deploy target/tare/<program>.so --program-id <PROGRAM_ID>

The program at the same address then runs the Tare build over its existing accounts.

Before you deploy

  1. tare prove exits zero on the build you are about to deploy. Prove
  2. Add your program’s own mainnet transactions to the corpus with --program <PROGRAM_ID>.
  3. tare attest, so your users and integrators can check the build themselves. tare attest

A smaller binary

Rent is charged per byte of program data. tare weigh reports the rent each binary locks, so you can see what the smaller program frees. Reading a weighing