-
Notifications
You must be signed in to change notification settings - Fork 41
added potlock agent #195
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
base: main
Are you sure you want to change the base?
added potlock agent #195
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
@Johnson-8844 is attempting to deploy a commit to the Mintbase Team on Vercel. A member of the Team first needs to authorize it. |
PR Reviewer Guide 🔍
|
PR Code Suggestions ✨
|
|
Are you planning to implement making donations to projects? |
we can already do donations using this agent. its implemented |
I wasn't able to do it. Can you share a chat link where you perform a donation? No need to go through the transaction, just show that a valid transaction is getting generated. |
check this please - https://wallet.bitte.ai/smart-actions/share/ujlf3EqJ_LXR4j7YXsk6- |
Can you make this work similarly to how I described in #194 (comment) |
hi @microchipgnu your feedback is incorporated. reference chat link here - https://wallet.bitte.ai/smart-actions/share/dNXFYVULscIcMlXaqQyE1 |
Markeljan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fetching works well, listing projects + project details. Transactions generated don't seem to work for me.
Adding the transaction[] type you can try returning as json that our generate-transaction expects.
export interface FunctionCallAction { type: "FunctionCall"; params: { methodName: string; args: object; gas: string; deposit: string; }; }
export interface Transaction { signerId: string; receiverId: string; actions: Array<FunctionCallAction>; }
This works for me, and our API correctly returns an array of transaction data objects. However, sometimes the AI sends requests with incorrect fields, which causes our API to return incorrect calculations or error messages. Could you please suggest any solutions to help address this issue? Here’s the working transaction chat link: https://wallet.bitte.ai/smart-actions/share/Co2GaFDxDAinhoi52agOu |
User description
Project Title: PotLock AI Agent Plugin
Project Description:
The PotLock AI Agent Plugin is designed to enhance the fundraising experience on the PotLock platform. This plugin facilitates seamless interactions for users, allowing them to create fundraising projects, make donations, and manage their profiles effortlessly. With AI assistance, users receive guided prompts that streamline the process of setting up their profiles and engaging with various projects, ultimately fostering community involvement.
Technologies Used:
Node.js: The server-side runtime environment for building the API.
NEAR Blockchain: For secure interactions and management of fundraising activities and user data.
OpenAI: Utilized for generating AI-driven prompts and guidance throughout user interactions.
Working Demo Link:
PR Type
Enhancement, Documentation
Description
Changes walkthrough 📝
6 files
project.js
Implement project management routes and NEAR integrationpotlock-ai-agent/routes/project.js
potlockUtils.js
Add utility functions for project and donation managementpotlock-ai-agent/utils/potlockUtils.js
donations.
donation.js
Implement donation management routes and NEAR integrationpotlock-ai-agent/routes/donation.js
utils.js
Add utility functions for storage and data managementpotlock-ai-agent/utils/utils.js
estimation.
nearSocialUtils.js
Add utility function for fetching social profile datapotlock-ai-agent/utils/nearSocialUtils.js
blockchain.
app.js
Set up Express server with project and donation routespotlock-ai-agent/app.js
2 files
constants.js
Define constants for NEAR blockchain configurationpotlock-ai-agent/utils/constants.js
configuration.
package.json
Initialize package.json with project metadatapotlock-ai-agent/package.json
2 files
ai-plugin.json
Add OpenAPI specification for PotLock APIpotlock-ai-agent/public/.well-known/ai-plugin.json
README.md
Add README with project details and usage guidepotlock-ai-agent/README.md
1 files
package-lock.json
...potlock-ai-agent/package-lock.json
...