Closed Plutusart2024 closed 1 week ago
royalitry calculate in aiken-lang
We can Easily Caculate how much royality automatically
i Wrote aiken-lang code it seems error here is the code
... xfunc handle_secondary_sale(nft_id: NFTID, sale_price: Amount) { let royalty = calculate_royalty(nft_id, sale_price); pay_creator(nft_id.creator, royalty); } ...
This isn't valid Aiken code. Please refer to the user manual: https://aiken-lang.org
What is your idea? Provide a use case.
royalitry calculate in aiken-lang
Why is it a good idea?
We can Easily Caculate how much royality automatically
What is the current alternative and why is it not good enough?
i Wrote aiken-lang code it seems error here is the code
... xfunc handle_secondary_sale(nft_id: NFTID, sale_price: Amount) { let royalty = calculate_royalty(nft_id, sale_price); pay_creator(nft_id.creator, royalty); } ...