wen-community / wen-program-library

Apache License 2.0
90 stars 20 forks source link

feat: Added a test sale program to demonstrate royalty distributions #74

Closed sunguru98 closed 4 months ago

sunguru98 commented 5 months ago

This PR is about the following

  1. A minimalistic sale program allowing listing/unlisting/fulfilling listing which allows the flow of royalty and WNS happen simultaneously
  2. Some fixes in wen-royalty-distribution (which still need to be fixed right but a breaking change, hence that will be in another PR) that allows token-interface instead of static token program
  3. Tests that reflect the flow of sale program
  4. Formatting via cargo fmt for some of the WNS instructions.

Closes #67