This is a port of the https://delegate.xyz registry to Solana.
De1egateWvUcfjtzjz3Y19NdYFwX7QjHNZG9MPNeD3QK
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
There are three types of delegations:
- Full account delegation.
- Program account delegation.
- 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.
Ideas:
- Examples of using the registry with various types of NFTs.
- More helper functions in the
delegate-registry
crate.