The Story Protocol plugin enables interaction with Story Protocol's IP management and licensing system on the Odyssey testnet.
This plugin provides functionality to:
- Register IP assets on Story Protocol
- License IP assets
- Attach license terms to IP assets
- Query IP asset details and available licenses
- Manage wallet interactions with Story Protocol
pnpm install @elizaos/plugin-story
The plugin requires the following environment variables:
STORY_PRIVATE_KEY=your_private_key
STORY_API_KEY=your_api_key
STORY_API_BASE_URL=https://api.story.xyz
PINATA_JWT=your_pinata_jwt_token
Import and register the plugin in your Eliza configuration:
import { storyPlugin } from "@elizaos/plugin-story";
export default {
plugins: [storyPlugin],
// ... other configuration
};
Register a new IP asset on Story Protocol:
// Example conversation
User: "I want to register my IP titled 'My Story' with the description 'An epic tale'";
Assistant: "I'll help you register your IP on Story Protocol...";
License an existing IP asset:
// Example conversation
User: "I want to license IP Asset 0x1234...5678 with license terms ID 1";
Assistant: "I'll help you license that IP asset...";
Attach license terms to an IP asset:
// Example conversation
User: "I want to attach commercial license terms with 10% revenue share to IP 0x1234...5678";
Assistant: "I'll help you attach those license terms...";
Query details about an IP asset:
// Example conversation
User: "Get details for IP Asset 0x1234...5678";
Assistant: "Here are the details for that IP asset...";
Query available licenses for an IP asset:
// Example conversation
User: "What licenses are available for IP Asset 0x1234...5678?";
Assistant: "Here are the available licenses...";
REGISTER_IP
: Register a new IP assetLICENSE_IP
: License an existing IP assetATTACH_TERMS
: Attach license terms to an IPGET_IP_DETAILS
: Get details about an IPGET_AVAILABLE_LICENSES
: Get available licenses for an IP
storyWalletProvider
: Manages wallet interactions with Story Protocol
pnpm run build
pnpm run test
@story-protocol/core-sdk
: Core SDK for Story Protocol@pinata/sdk
: IPFS pinning serviceviem
: Ethereum interaction library- Other standard dependencies listed in package.json
The following features and improvements are planned for future releases:
-
IP Management
- Batch IP registration
- Advanced metadata management
- IP relationship mapping
- Automated IP verification
- Collection management
- IP analytics dashboard
-
Licensing Features
- Custom license templates
- License negotiation tools
- Automated royalty distribution
- Usage tracking system
- License violation detection
- Bulk licensing tools
-
Rights Management
- Advanced permission systems
- Rights transfer automation
- Usage rights tracking
- Derivative works management
- Rights verification tools
- Dispute resolution system
-
Smart Contract Integration
- Contract deployment templates
- Automated verification
- Contract upgrade system
- Security analysis tools
- Gas optimization
- Multi-signature support
-
Content Management
- Media file handling
- Content versioning
- Distribution tracking
- Content authentication
- Storage optimization
- Format conversion tools
-
Revenue Management
- Automated payments
- Revenue sharing tools
- Payment tracking
- Financial reporting
- Tax documentation
- Audit trail system
-
Developer Tools
- Enhanced SDK features
- Testing framework
- Documentation generator
- CLI improvements
- Integration templates
- Performance monitoring
-
Analytics and Reporting
- Usage statistics
- Revenue analytics
- License tracking
- Performance metrics
- Custom reporting
- Market analysis tools
We welcome community feedback and contributions to help prioritize these enhancements.
Contributions are welcome! Please see the CONTRIBUTING.md file for more information.
This plugin integrates with and builds upon several key technologies:
- Story Protocol: IP management and licensing platform
- @story-protocol/core-sdk: Official Story Protocol SDK
- @pinata/sdk: IPFS pinning service
- viem: Ethereum interaction library
Special thanks to:
- The Story Protocol team for developing the IP management platform
- The Story Protocol Developer community
- The Pinata team for IPFS infrastructure
- The Eliza community for their contributions and feedback
For more information about Story Protocol capabilities:
This plugin is part of the Eliza project. See the main project repository for license information.