Documentation
Best Practices
Guidelines for building secure and efficient applications on Inery.
Security
- Key Isolation: Never use your producer keys for application-level transactions.
- Permission Levels: Use custom permission levels (e.g.,
active,owner) to limit the scope of what an account can do. - Cold Storage: Keep your owner keys in cold storage (offline).
Performance
- Batching: When inserting large amounts of data into IneryDB, batch transactions to reduce overhead.
- Indexing: Use appropriate indexes for your data compositions to speed up queries.
- Resource Management: Monitor your account's RAM, CPU, and NET usage to avoid transaction failures.
Data Design
- Minimalism: Only store essential data on the decentralized layer. Use off-chain storage for large files and store their hashes on Inery.
- Schema Evolution: Plan for schema changes by using versioned data compositions.