Profiles

Creating Profiles

The SDK provides comprehensive tools for managing user profiles on the OpenMSCP protocol.

Profile Creation

// Basic profile creation
const profile = await client.profile.create({
  username: 'alice',
  bio: 'Blockchain enthusiast',
  profilePicture: 'ipfs://QmHash...'
});

// Profile with additional metadata
const detailedProfile = await client.profile.create({
  username: 'bob',
  bio: 'Web3 developer',
  profilePicture: 'ipfs://QmHash...',
  metadata: {
    location: 'New York',
    website: 'https://example.com',
    socialLinks: {
      twitter: '@bob',
      github: 'bobdev'
    }
  }
});

Profile Validation

Profile Data Structure

Core Profile Fields

Profile Statistics

Profile Updates

Updating Profile Information

Profile Picture Management

Profile Verification

Verification Process

Verification Types

Profile Queries

Basic Queries

Advanced Queries

Profile Relationships

Profile Events

The SDK provides event listeners for profile-related activities.

Last updated