nifty-oss / asset

A lightweight standard for non-fungible assets.
Apache License 2.0
38 stars 8 forks source link

Set authority as optional signer #17

Closed febo closed 8 months ago

febo commented 8 months ago

This PR sets the authority as an optional signer on the create instruction. This allows a different authority than the payer to sing the create instruction when a group is being set. Note that the authority of the asset must match the authority of the group asset for the asset to be added to the group.

febo commented 8 months ago

Currently in draft – I will write a couple of tests to exemplify the scenario where the authority needs to be a signer.