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

@xaya/eth-account-registry

v1.0.0

Published

The Solidity contracts for the Xaya platform (in particular, the account registry) on EVM blockchains.

Readme

Base contracts for EVM-based Xaya

The Xaya technology and SDK are, mostly, blockchain agnostic, and can be run with another base layer than Xaya Core.

Contracts

This repository contains smart contracts that can form the base layer for Xaya to run on EVM-based blockchains like Polygon.

Account Registry

The foundation of Xaya tech is management of names (user accounts). In this implementation, names are ERC-721 compliant NFTs. Each name consists of a namespace (one or more lower-case English letters, e.g. p for names that are normal player accounts) and the actual name, which is a sequence of bytes that must form valid UTF-8.

Names can be minted (registered) by everyone on a first-come, first-serve basis, for a fee in WCHI. The ERC-721 token ID is based on the hash of namespace and name (rather than e.g. given out sequentially).

Once registered, names can be used to send moves via calling a special function on the smart contract. The owner and any approved address can send moves on behalf of any given name. The move just records an event that contains some payload data (parsed and interpreted by individual games), and optionally transfers WCHI in the same transaction to allow for certain types of atomic trading.

Policy

The base account registry contract is not upgradable, but it has a configurable pointer to a policy contract. The policy determines the fees for moves and registrations, the recipient address of fees, and the validation rules for names and moves. It also determines how the NFT and contract metadata is computed.

Deployment

The contracts from this repository have been deployed on various networks.

Polygon Mainnet

On the Polygon mainnet, the contracts are deployed as:

Mumbai Testnet

On the Mumbai testnet for Polygon, the contracts are deployed as:

Audit

The main contract code (excluding NFT metadata generation) has been audited by Solidified based on commit 6271ae0ec19432b74e3b31be1bf5cadc26dc9793. The audit report can be found here and in the official Solidified Github account.