Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (5.3%) to scientific vocabulary
Last synced: 7 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: uratmangun
  • License: apache-2.0
  • Language: TypeScript
  • Default Branch: main
  • Size: 4.92 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 1 year ago · Last pushed 11 months ago
Metadata Files
Readme Contributing License Citation Security

README.md

Solana Agent Kit Para Plugin

This is a Solana Agent Kit v2 plugin that can be used in both server and web environments. Below are the instructions for setting up and using the plugin.

How to install dependencies

bash pnpm add solana-plugin-para-web solana-plugin-para-server

Initial Setup

First, initialize the Solana Agent Kit v2:

```typescript // solana.ts import { SolanaAgentKit, type BaseWallet } from "solana-agent-kit";

// Create the Solana Agent export const solanaAgent = new SolanaAgentKit( {} as BaseWallet, // Temporary wallet, will be replaced process.env.NEXTPUBLICRPCURL as string, { OPENAIAPIKEY: process.env.OPENAIAPI_KEY as string || "", } ); ```

Usage

Web Version

```typescript import ParaWebPlugin from "solana-plugin-para-web"; import { solanaAgent } from "./solana";

export const solanaAgentWithPara = solanaAgent.use(ParaWebPlugin); export const para = solanaAgentWithPara.methods.getParaInstance(); ```

Server Version

```typescript import { solanaAgent } from "./solana"; import ParaServerPlugin from "solana-plugin-para-server"; import TokenPlugin from "@solana-agent-kit/plugin-token";

export const solanaAgentWithPara = solanaAgent.use(ParaServerPlugin).use(TokenPlugin); ```

Publishing to npm

After versioning your packages (e.g. pnpm run version-packages), publish both plugins with:

fish pnpm run publish-para-plugins

This command will build and publish solana-plugin-para-web and solana-plugin-para-server to npm.

Owner

  • Name: uratmangun.ovh
  • Login: uratmangun
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.2.0
title: Solana Agent Kit
message: >-
  If you use this software, please cite it using the
  metadata from this file.
type: software
authors:
  - name: SendAI
repository-code: 'https://github.com/sendaifun/solana-agent-kit'
url: 'https://github.com/sendaifun/solana-agent-kit'
abstract: >-
  Connect any AI Agents to Solana Protocols
keywords:
  - solana
  - blockchain
  - web3
  - agent
  - toolkit
license: Apache-2.0
version: 1.2.0
preferred-citation:
  type: software
  title: Solana Agent Kit
  abstract: Connect any AI Agents to Solana Protocols
  version: 1.2.0
  date-released: '2024-12-21'
  license: Apache-2.0
  url: 'https://github.com/sendaifun/solana-agent-kit'
  repository-code: 'https://github.com/sendaifun/solana-agent-kit'
  authors:
  - name: SendAI

GitHub Events

Total
  • Push event: 7
  • Public event: 1
Last Year
  • Push event: 7
  • Public event: 1

Dependencies

.github/workflows/build.yml actions
  • actions/checkout v4 composite
  • actions/setup-node v4 composite
  • pnpm/action-setup v3 composite
package.json npm
  • @changesets/cli ^2.27.12 development
  • @types/node ^22.10.2 development
  • @typescript-eslint/eslint-plugin ^8.18.2 development
  • @typescript-eslint/parser ^8.18.2 development
  • eslint ^8.56.0 development
  • eslint-config-prettier ^9.1.0 development
  • eslint-plugin-prettier ^5.2.1 development
  • husky ^9.1.7 development
  • lint-staged ^15.3.0 development
  • prettier ^3.4.2 development
  • tsx ^4.19.2 development
  • turbo ^2.3.4 development
  • typescript ^5.3.3 development
packages/plugin-para-server/package.json npm
  • @getpara/server-sdk ^1.5.1
  • bs58 ^6.0.0
  • solana-agent-kit 2.0.0-beta.2
  • zod ^3.24.1
packages/plugin-para-web/package.json npm
  • @getpara/solana-web3.js-v1-integration ^1.5.0
  • @getpara/web-sdk ^1.5.1
  • bs58 ^6.0.0
  • solana-agent-kit 2.0.0-beta.2
  • zod ^3.24.1
pnpm-lock.yaml npm
  • 179 dependencies