spherenet-validator-whitelist-client

Crates.iospherenet-validator-whitelist-client
lib.rsspherenet-validator-whitelist-client
version0.1.3
created_at2025-10-28 12:07:03.884547+00
updated_at2025-11-03 11:54:44.707529+00
descriptionA generated Rust library for the Validator Whitelist program
homepage
repositoryhttps://github.com/Sphere-Foundation/validator-whitelist
max_upload_size
id1904656
size305,440
(sphere-foundation-release)

documentation

README

SphereNet Validator Whitelist Repo

Storage and management of whitelisted validators on SphereNet.

Project setup

The first thing you'll want to do is install NPM dependencies which will allow you to access all the scripts and tools provided by this template.

pnpm install

Generating IDL

You may use the following command to generate the IDLs for the program.

pnpm generate:idl

Depending on your program's framework, this will either use Shank or Anchor to generate the IDLs. Note that, to ensure IDLs are generated using the correct framework version, the specific version used by the program will be downloaded and used locally.

Generating client

Once your programs' IDL has been generated, you can the generate client using the following command.

pnpm generate:client

Alternatively, you can use the generate script to generate both the IDL and the client at once.

pnpm generate

Triggering a release

Releases are triggered by tag pushes to the Github Repository.

In order to ensure consistency between tags and package version, version tag pushing is automated via running:

pnpm release

This will push a new tag to the repository and trigger a Release Github Action.

Commit count: 0

cargo fmt