SDK Core
Account Management
Account Types
// Profile Account
interface ProfileAccount {
publicKey: PublicKey;
username: string;
bio: string;
profilePicture: string;
createdAt: number;
updatedAt: number;
}
// Post Account
interface PostAccount {
publicKey: PublicKey;
author: PublicKey;
content: string;
createdAt: number;
likes: number;
comments: number;
}
// Message Account
interface MessageAccount {
publicKey: PublicKey;
sender: PublicKey;
recipient: PublicKey;
content: string;
encrypted: boolean;
createdAt: number;
}Account Creation and Management
Transaction Handling
Transaction Types
Transaction Signing and Sending
Error Handling
Error Types
Error Handling Patterns
Network Configuration
Connection Options
Network Switching
Security Considerations
Encryption
Security Best Practices
Security Configuration
Last updated