A collection of Solana programs maintained by the WEN developer community.
WEN New Standard
WEN New Standard is a specification for representing NFTs using Token Extensions (TE). This specification is enforced and encoded through a program that currently addresses missing features such as token groups and setting up required extensions on TE.
WEN Royalty Distribution
WEN Royalty Distribution is a specification for royalties on WNS assets, which also enforces the payout of royalties through a Token Extension transfer hook.
To build the programs from the root directory of the repository:
yarn install
to install the required libraries, then:
anchor build
This will create program binaries at <ROOT>/target/deploy/<program_name>.so
and IDLs at <ROOT>/target/idl/<program_name>.json
.
All program tests are located under the /tests
directory:
anchor test
This project contains the following programs:
wen_new_standard wns1gDLt8fgLcGhWi5MqAqgXpwEP1JftKE9eZnXS1HM
The packages below can be used to interact with wen_new_standard
program.
npm install @wen-community/wen-new-standard
cargo add wen_new_standard
wen_royalty_distribution diste3nXmK7ddDTs1zb6uday6j4etCa9RChD8fJ1xay
Each program in the project contains autogenerated Javascript and Rust clients:
wen new standard:
Check out the Contributing Guide the learn more about how to contribute to this project.
The Wen Program Library, now has a CLI allowing users to create collections and asset related operations. Click here to learn more about the commands present.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.