SDK Installation
Install the cc0strategy SDK to integrate with your application.
npm
bash
npm install cc0strategy-sdkyarn
bash
yarn add cc0strategy-sdkpnpm
bash
pnpm add cc0strategy-sdkRequirements
- •Node.js 18+
- •ethers v6 or viem
Quick Setup
typescript
import { CC0Strategy } from 'cc0strategy-sdk';
import { createWalletClient, custom } from 'viem';
import { base } from 'viem/chains';
const walletClient = createWalletClient({
chain: base,
transport: custom(window.ethereum),
});
const sdk = new CC0Strategy({
chain: 'base',
walletClient,
});Note: Every deployment automatically includes a 1% airdrop to the deployer.