Best Practices for Secure Deployment
To maintain a secure and trusted environment, consider the following best practices:
Careful Initialization:
Before deploying ART20, ensure that
max_supply
,is_mutable
, and deny list authority options align with your long-term vision.For SALE, set fair initial prices and ensure payment logic is carefully verified.
For TRADE, choose appropriate fee percentages, price bounds, and liquidity provision strategies that encourage stability.
Test and Audit:
Use
sui move test
thoroughly on all modules before going live.Seek external audits to confirm no hidden vulnerabilities exist in deny list logic, fee distribution, or emergency functions.
Leverage Deny Lists Wisely:
Add addresses to the deny list only when necessary and communicate these restrictions to your community.
Avoid arbitrary or unexpected updates that could harm user trust.
Emergency Functions and Cooldowns:
The TRADE module’s emergency operations should be viewed as last-resort measures. Only trigger them under credible threats.
Set cooldowns and transparency measures (like emitting events) so users understand when and why emergency measures are taken.
User Education and Clear Documentation:
Ensure users know how deny lists affect their ability to buy or hold NFTs.
Clearly state fee policies and how liquidity providers and NFT holders can benefit or withdraw their shares.
Provide guidance on how creators and owners can transfer or revoke authorities.
By adhering to these security principles, respecting the role of creators and owners, leveraging deny lists judiciously, and maintaining transparency in fee distribution and emergency operations, the Artinals ecosystem fosters a secure, stable, and fair marketplace for all participants.
Last updated