The Boost Core contract is the protocol’s main touchpoint for Boosts, exposing functionality to create and retrieve Boosts, and claim incentives.
Unless you’re an advanced user, you will likely never need to deploy your own core contract. The SDK comes preconfigured with the correct contract addresses for all deployed core implementations.
import { BoostCore } from '@boostxyz/sdk/BoostCore'// you can also access BoostCore from the root exportimport { BoostCore } from '@boostxyz/sdk'// Basic instantiationconst core = new BoostCore({ config: wagmiConfig })// In Node, you'll need to supply a viem local account https://viem.sh/docs/accounts/local.htmlconst core = new BoostCore({ config: wagmiConfig, ...(!!account && { account: viemLocalAccount }) })