agentleFS
piplabspiplabs/story-skills/story-sdk/SKILL.md

story-sdk

Skill4 starsChanged 9 months agoMITView on GitHub

Story Protocol TypeScript SDK overview and setup. Use when user mentions "Story Protocol", "Story SDK", "@story-protocol/core-sdk", "StoryClient", "SDK setup", or wants to start building on Story Protocol with TypeScript.

  • Reads credentials
  • Installs packages

The file

Files
SKILL.md

Story Protocol TypeScript SDK

Quick-start guide for the @story-protocol/core-sdk package. For detailed topics, see the sub-skills below.

Installation

npm install @story-protocol/core-sdk viem

Requirements: Node.js 18+, npm 8+, an EVM wallet private key or wallet connector, RPC endpoint.

Client Setup

import { StoryClient, StoryConfig } from '@story-protocol/core-sdk';
import { http } from 'viem';
import { privateKeyToAccount } from 'viem/accounts';

const account = privateKeyToAccount(process.env.WALLET_PRIVATE_KEY as `0x${string}`);
const config: StoryConfig = {
  account,
  transport: http('https://aeneid.storyrpc.io'),
  chainId: 'aeneid',
};
const client = StoryClient.newClient(config);

Networks

NetworkChain IDRPC
Aeneid (testnet)1315https://aeneid.storyrpc.io
Mainnet1514https://mainnet.storyrpc.io

Key Contracts

ContractAddress
IPAssetRegistry0x77319B4031e6eF1250907aa00018B8B1c67a244b
LicensingModule0x04fbd8a2e56dd85CFD5500A4A4DfA955B9f1dE6f
RoyaltyModule0xD2f60c40fEbccf6311f8B47c4f2Ec6b040400086
PILicenseTemplate0x2E896b0b2Fdb7457499B56AAaA4AE55BCB4Cd316
RegistrationWorkflows0xbe39E1C756e921BD25DF86e7AAa31106d1eb0424

Sub-Skills

  • sdk-integration - SDK methods, client modules, and usage patterns
  • ip-registration - Register IP assets, mint NFTs, SPG workflows
  • licensing - PIL license terms, derivatives, license tokens
  • royalty-integration - Royalty vaults, revenue claiming, payment flows

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.