Skip to content

Vectorized/svb

Repository files navigation

Solana Delegate Registry

This is a port of the https://delegate.xyz registry to Solana.

Deployment

De1egateWvUcfjtzjz3Y19NdYFwX7QjHNZG9MPNeD3QK

Usage

Most users will use our website to put data onto the registry.

If you are a developer looking to query the registry on-chain, we have provided a helper library at the following crate:

delegate-registry

To see specific examples on how to use this helper library, please refer to the following programs:

programs/example-read-program
programs/example-vote-program

Concept

There are three types of delegations:

  1. Full account delegation.
  2. Program account delegation.
  3. Token associated account delegation.

The registry does not implement any checks on the relationship between the accounts and the programs. This must be done on the programs using the registry.

This design allows the registry to be generalize to all types of programs and tokens.

Contributing

Ideas:

  • Examples of using the registry with various types of NFTs.
  • More helper functions in the delegate-registry crate.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published