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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@cityofzion/appkit-neox-adapter

v1.0.0

Published

AppKit adapter for Stellar blockchain

Downloads

125

Readme

AppKit NeoX Network Configurations

Network configurations for integrating NeoX blockchain support into your dApps using Reown AppKit.

Live Demo

You can access the deployed project here: Connect Lab on GitHub Pages

Overview

NeoX is a fully EVM-compatible blockchain, which means it uses the standard Ethereum namespace (eip155) and works seamlessly with existing Ethereum adapters. This package provides pre-configured NeoX network definitions and utilities that you can use with the standard WagmiAdapter from Reown AppKit.

💡 Need a working example? Check out the Connect Lab project for a complete implementation demonstrating how to use NeoX in a real-world application.

📚 Learn more about AppKit: Visit the official Reown AppKit repository for comprehensive documentation, examples, and the latest updates on AppKit features.

Installation

npm install @cityofzion/appkit-neox-adapter @reown/appkit-adapter-wagmi @wagmi/core viem

Anti-MEV Transaction Support

NeoX supports anti-MEV (Maximal Extractable Value) protection through dedicated RPC endpoints. This package provides utilities to build and sign anti-MEV transactions.

Usage

Basic Setup

💡 TIP: Since NeoX is EVM-compatible, you use the standard WagmiAdapter from Reown AppKit. This package only provides the network configurations and utilities.

import { createAppKit } from '@reown/appkit';
import { WagmiAdapter } from '@reown/appkit-adapter-wagmi';
import { neoXMainnetNetwork, neoXTestnetNetwork, neoXAntiMevMainnetNetwork, neoXAntiMevTestnetNetwork } from '@cityofzion/appkit-neox-adapter';


const wagmiAdapter = new WagmiAdapter()

// Create AppKit instance with NeoX support
createAppKit({
  projectId: 'YOUR_PROJECT_ID', // Get from https://cloud.reown.com
  adapters: [wagmiAdapter],
  networks: [neoXMainnetNetwork, neoXTestnetNetwork], // Or [neoXAntiMevMainnetNetwork, neoXAntiMevTestnetNetwork]
  metadata: {
    name: 'My NeoX dApp',
    description: 'My NeoX dApp description',
    url: 'https://myapp.com',
    icons: ['https://myapp.com/icon.png']
  }
});

React Example with AppKitProvider

import React from 'react';
import { AppKitProvider } from "@reown/appkit/react";
import { WagmiAdapter } from '@reown/appkit-adapter-wagmi';
import { neoXMainnetNetwork, neoXTestnetNetwork, neoXAntiMevMainnetNetwork, neoXAntiMevTestnetNetwork  } from '@cityofzion/appkit-neox-adapter';

const wagmiAdapter = new WagmiAdapter()


function App() {
  return (
    <AppKitProvider
      adapters={[wagmiAdapter]}
      networks={[neoXMainnetNetwork, neoXTestnetNetwork]} // Or [neoXAntiMevMainnetNetwork, neoXAntiMevTestnetNetwork]
      projectId='YOUR_PROJECT_ID'
      metadata={{
        name: 'My NeoX dApp',
        description: 'My NeoX dApp description',
        url: 'https://myapp.com',
        icons: ['https://myapp.com/icon.png']
      }}
    >
      <YourApp />
    </AppKitProvider>
  );
}

export default App;

Available Networks

The package exports pre-configured NeoX networks:

  • neoXMainnetNetwork - NeoX Mainnet (Chain ID: 47763)
  • neoXTestnetNetwork - NeoX Testnet (Chain ID: 12227332)
  • neoXAntiMevMainnetNetwork - NeoX Mainnet with Anti-MEV protection
  • neoXAntiMevTestnetNetwork - NeoX Testnet with Anti-MEV protection

Sending Transactions

⚠️ IMPORTANT: Always use the transaction methods from @cityofzion/appkit-neox-adapter instead of the standard Wagmi hooks. The package methods automatically handle Anti-MEV protection when connected to Anti-MEV networks, while standard Wagmi methods do not.

import { useConfig } from 'wagmi';
import { sendTransaction } from '@cityofzion/appkit-neox-adapter';
import { parseEther, Hex } from 'viem';

function MyComponent() {
  const config = useConfig();

  const handleSendTransaction = async () => {
    try {
      // This method automatically detects if Anti-MEV is active
      // and routes transactions accordingly
      const result = await sendTransaction(config, {
        to: '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb' as Hex,
        value: parseEther('0.001'),
      });

      console.log("Transaction sent:", result);
    } catch (error) {
      console.error("Error:", error);
    }
  };

  return (
    <button onClick={handleSendTransaction}>
      Send Transaction
    </button>
  );
}

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Author

Created by Raul Duarte Pereira