spherenet-program-whitelist-interface

Crates.iospherenet-program-whitelist-interface
lib.rsspherenet-program-whitelist-interface
version0.1.4
created_at2025-09-19 12:41:17.183825+00
updated_at2025-11-03 11:41:01.061838+00
descriptionInterface of SphereNet's Program Whitelist Program
homepage
repositoryhttps://github.com/Sphere-Foundation/program-whitelist
max_upload_size
id1846412
size97,162
(sphere-foundation-release)

documentation

README

SphereNet Program 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
Commit count: 0

cargo fmt