Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: plugin-story #1030

Merged
merged 22 commits into from
Dec 14, 2024
Merged

feat: plugin-story #1030

merged 22 commits into from
Dec 14, 2024

Conversation

jacob-tucker
Copy link
Contributor

Relates to:

N/A

Risks

Low

Background

This is the first PR that introduces a Story plugin to Eliza.

What does this PR do?

Introduces:

  • Wallet provider that returns the current Story wallet status
  • Registering IP on Story
  • Licensing an IP on Story
  • Attaching License Terms to an IP on Story
  • Getting details associated with a registered IP
  • Getting all available licenses from an IP
  • new env variables for Story:
STORY_PRIVATE_KEY= # Story private key
STORY_API_BASE_URL= # Story API base URL
STORY_API_KEY= # Story API key
PINATA_JWT= # Pinata JWT for uploading files to IPFS

What kind of change is this?

Features (non-breaking change which adds functionality)

Why are we doing this? Any context or related work?

To introduce basic Story functionality to Eliza, which could be further extended.

Story allows users to grow & monetize their IP. We want to bring that functionality to agents.

Documentation changes needed?

My changes do not require a change to the project documentation.

Testing

You can test by setting STORY_PRIVATE_KEY in your .env, and asking Eliza to register IP. Eliza will ask you for a title and description of your IP. You should see Eliza register your IP.

You can create and fund a Story wallet on the faucet: https://faucet.story.foundation

Discord username

tsnakejake (named Jacob Tucker) in the ai16z Discord.

@@ -51,6 +52,8 @@ import readline from "readline";
import { fileURLToPath } from "url";
import yargs from "yargs";

import { mainCharacter } from "../maincharacter";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this file not included?

@odilitime odilitime added the Plugin_new Mark PRs that are a new plugin label Dec 13, 2024
@odilitime odilitime changed the base branch from main to develop December 13, 2024 22:13
@odilitime odilitime changed the title FEAT: plugin-story feat: plugin-story Dec 13, 2024
@lalalune lalalune merged commit 44da564 into elizaOS:develop Dec 14, 2024
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Plugin_new Mark PRs that are a new plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants