Quick Start Guide

Get up and running in minutes with step-by-step instructions for identity setup, secure storage, and peer-to-peer communication.

Your First Steps

Follow these steps to create your identity, store files securely, and start communicating with peers.

Step 1: Create Identity

Generate a self-sovereign identity on Ethereum blockchain

npm install @ensaonoth/identity
ensaonoth identity create --network ethereum

Generates a DID document with cryptographic keys and blockchain anchors

Identity Creation Process
Figure 1: Identity creation workflow

Step 2: Store Files

Encrypt and store your data across decentralized networks

import { encryptFile } from '@ensaonoth/storage';

const encrypted = await encryptFile('document.txt');
console.log('Stored at:', encrypted.hash);

Data is split using erasure coding before encryption

Secure Storage Process
Figure 2: Storage architecture

Step 3: Connect with Peers

Establish encrypted peer-to-peer sessions

import { createPeer } from '@ensaonoth/peer';

const peer = createPeer({
  id: 'YOUR_DID',
  networks: ['ipfs', 'ethereum']
});

peer.connect('FRIEND_DID').then(() => {
  // Session established
});

Supports fallback to IPFS relays when WebRTC is unavailable

Peer Communication
Figure 3: Secure communication

What Next?

Explore Examples

Try working code samples that demonstrate core features

View Examples

Documentation

Deep dive technical reference for all Ensanoth modules

View Docs

Join Community

Share knowledge and get help from the Ensanoth team

Community