Getting Started
Install the SDK
pnpm
pnpm add @chainsocial/sdkQuick Setup
Create a client
import { createClient } from '@chainsocial/sdk'
export const client = createClient({
apiKey: process.env.CHAINSOCIAL_API_KEY
})Publish your first post
await client.posts.create({
content: 'Hello ChainSocial!',
tags: ['intro']
})Read a timeline
const timeline = await client.timeline.list({
handle: '@mia',
limit: 20
})