npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@okto_web3/eliza-plugin

v0.0.5

Published

A comprehensive integration plugin for ElizaOS that provides access to Okto's various APIs and services, enabling seamless Web3 interactions.

Readme

@okto_web3/eliza-plugin

A comprehensive integration plugin for ElizaOS that provides access to Okto's various APIs and services, enabling seamless Web3 interactions.

Features

  • Portfolio Management:

    • Get user portfolio data and balances
    • View NFT portfolio details
    • Track token holdings across multiple networks
  • Wallet Management:

    • Access user's wallets
    • View wallet addresses and network details
  • Token Operations:

    • Get supported tokens list and details
    • Transfer tokens between addresses
    • Swap tokens using DEX integrations
    • Execute EVM raw transactions
  • NFT Operations:

    • View NFT collections
    • Transfer NFTs (ERC721/ERC1155)
    • Track NFT balances
  • Chain Support:

    • Multiple networks supported including:
      • Ethereum
      • Polygon
      • Optimism
      • Arbitrum
      • Base
      • Linea
      • BSC
      • Avalanche
      • Solana
      • Aptos
  • Transaction History: View detailed order history across networks

Installation

npm install @okto_web3/eliza-plugin

Configuration

The plugin requires several environment variables to be set:

# Okto specific settings
OKTO_ENVIRONMENT=                # Optional. Defaults to "sandbox". Options: sandbox, staging, production.
OKTO_CLIENT_PRIVATE_KEY=         # Required. Your client private key provided by Okto.
OKTO_CLIENT_SWA=                 # Required. Your client SWA provided by Okto.

# Google OAuth settings
GOOGLE_CLIENT_ID=                # Required. Get from https://console.cloud.google.com/
GOOGLE_CLIENT_SECRET=            # Required. Get from https://console.cloud.google.com/

Setup Google OAuth

  1. Go to https://console.cloud.google.com/
  2. Create a new project
  3. Create OAuth credentials
  4. Add authorized redirect URI: http://localhost:5000
  5. Get the client ID and secret
  6. Set them in your environment variables

Usage

import {OktoPlugin} from "@okto_web3/eliza-plugin";
const oktoPlugin = new OktoPlugin()
  return new AgentRuntime({
    databaseAdapter: db,
    token,
    modelProvider: character.modelProvider,
    evaluators: [],
    character,
    plugins: [
      bootstrapPlugin,
      nodePlugin,
      oktoPlugin,
    ].filter(Boolean),
    providers: [],
    actions: [],
    services: [oktoPlugin.oktoService],
    managers: [],
    cacheManager: cache,
  });

Available Actions

  • OKTO_GET_PORTFOLIO - Get user's token portfolio
  • OKTO_GET_ACCOUNT - Get user's wallet accounts
  • OKTO_GET_CHAINS - Get supported blockchain networks
  • OKTO_GET_NFT_COLLECTIONS - Get user's NFT collections
  • OKTO_GET_ORDERS_HISTORY - Get transaction history
  • OKTO_GET_PORTFOLIO_NFT - Get NFT portfolio
  • OKTO_GET_TOKENS - Get supported tokens
  • OKTO_TRANSFER - Transfer tokens
  • OKTO_NFT_TRANSFER - Transfer NFTs
  • OKTO_SWAP - Swap tokens using DEX (Experimental)

Contributing

Contributions are welcome! Please see the CONTRIBUTING.md file for more information.

License

This plugin is licensed under the MIT License. See the LICENSE file for more information.