Getting Started with Aqua Protocol SDK
Installation
Basic Concepts
The Aqua Protocol SDK provides a system for file notarization and verification using three main operations:Notarization
Creating a genesis revision for your file
Signing
Adding cryptographic signatures using various methods
Witnessing
Recording the file state on different platforms
Verification
Validating the authenticity of files
Quick Start
Using the Chainable API (Recommended)
Using the Standard API
Next Steps
Core Concepts
Read about Core Concepts to understand the system better
Common Use Cases
Check out Common Use Cases for practical examples
API Reference
Review the API Reference for detailed documentation
Quickstart Guide
Get started with our comprehensive quickstart guide
SDK Features
Chainable API
The chainable API provides a fluent interface for building Aqua operations:Standard API
The standard API provides individual methods for each operation:Credentials Configuration
The SDK supports multiple authentication methods:MetaMask
Browser-based wallet integration for web applications
CLI Signing
Command-line interface with mnemonic-based signing
DID Keys
Decentralized identity key management
Nostr
Nostr protocol integration for witnessing
Supported Networks
Ethereum Mainnet
Production network for mainnet witnessing
Sepolia Testnet
Test network for development and testing
Nostr
Decentralized social protocol for witnessing
TSA RFC3161
Timestamp authority for cryptographic timestamps
Error Handling
The SDK provides comprehensive error handling and logging:Best Practices
Follow these best practices for optimal SDK usage:
- Use the chainable API for simple workflows
- Handle errors gracefully with try-catch blocks
- Validate credentials before making operations
- Use appropriate networks (testnet for development, mainnet for production)
- Store sensitive credentials securely (environment variables, secure vaults)
- Monitor operation logs for debugging and auditing