Sead SimpleSDK Documentation

Enterprise-grade wallet backup and restore solution with just two functions. Integrate Sead's secure backup technology in minutes, not days.

🔐 Military-Grade Security 📦 Single 1.1MB Bundle 🚀 2 Functions Only 💳 Built-in Payment Handling 🔄 99.99% Uptime

Why Choose Sead SimpleSDK?

Everything you need for secure wallet backup, nothing you don't

1

Drop-in Integration

Add one JavaScript file, initialize with your API key, and you're ready to go. No complex setup or dependencies.

2

Just Two Functions

backup() and restore() - that's all. We handle the complexity of secure sharing, encryption, and QR generation.

3

Enterprise Ready

Production-tested with built-in quota management, payment processing, and 99.99% uptime SLA.

Complete Documentation

Everything you need to integrate Sead SimpleSDK

Quick Examples

See how simple it is to integrate

// Initialize SDK
const sead = new SeadSimpleWithAPI({
    apiUrl: 'https://b2bapi.sead.world/api/v1',
    apiKey: 'your-api-key-here',
    userId: getUserId()  // Your user identification
});

// Create backup - It's this simple!
const result = await sead.backup({
    seedPhrase: 'your twelve word seed phrase here',
    n: 3,        // Create 3 shares (optional, default: 3)
    m: 2,        // Need 2 to restore (optional, default: 2)
    password: 'optional-encryption'  // Optional
});

// Display QR codes to user
if (result.success) {
    result.shares.forEach(share => {
        displayQRCode(share.qrCode);  // Base64 image
        displayShareText(share.text);  // Text backup
    });
}
// Initialize SDK
const sead = new SeadSimpleWithAPI({
    apiUrl: 'https://b2bapi.sead.world/api/v1',
    apiKey: 'your-api-key-here',
    userId: getUserId()
});

// Restore from shares - Equally simple!
const result = await sead.restore({
    shareTexts: [share1, share2],  // Just 2 shares needed
    password: 'if-encrypted'       // If backup was encrypted
});

// Use restored seed phrase
if (result.success) {
    await importToWallet(result.seedPhrase);
    console.log('Wallet restored successfully!');
}
// Complete minimal integration
class WalletBackupService {
    constructor() {
        this.sead = new SeadSimpleWithAPI({
            apiUrl: 'https://b2bapi.sead.world/api/v1',
            apiKey: process.env.SEAD_API_KEY,
            userId: this.getUserId()
        });
    }
    
    async backup(seedPhrase) {
        const result = await this.sead.backup({
            seedPhrase,
            onPaymentRequired: this.handlePayment
        });
        
        if (result.success) {
            this.displayShares(result.shares);
        }
        return result;
    }
    
    async restore(shares, password) {
        const result = await this.sead.restore({
            shareTexts: shares,
            password
        });
        
        if (result.success) {
            return result.seedPhrase;
        }
        throw new Error(result.error);
    }
    
    async handlePayment(amount, currency) {
        // Your payment implementation
        const tx = await paymentProvider.pay(amount, currency);
        return { transactionId: tx.id, proof: tx.hash };
    }
}

Integration in 4 Simple Steps

From zero to production in minutes

1

Get Your Integration Package

Contact Sead to receive your API key and the single JavaScript file. No complex onboarding.

2

Add SDK to Your Project

Include the JavaScript file in your HTML. No NPM, no build process, no dependencies.

<script src="sead-simple-api-bundle.js"></script>
3

Initialize with Your Credentials

Create an instance with your API key and user identification strategy.

4

Call backup() and restore()

That's it! Your wallet now has enterprise-grade backup functionality.

Technical Specifications

1.1MB

Bundle Size

<500ms

Backup Time

99.99%

Uptime SLA

25,000

Free Backups

Ready to Integrate?

Join leading wallets using Sead for secure backup