Quick Start

1

Install Epistery

npm install epistery
2

Initialize Domain

npm run initialize mydomain.com

Creates a wallet for the domain. Default chain provider established in ~/.epistery/config.ini

3

Acquire SSL Certificate

npm run certify mydomain.com

Uses ACME (like LetsEncrypt) to acquire SSL certificates stored in ~/.epistery/{domain}/

4

Integrate with Express

import { Epistery } from 'epistery'; import https from 'https'; import express from 'express'; const epistery = await Epistery.connect(); const app = express(); await epistery.attach(app); epistery.setDomain('mydomain.com'); const https_server = https.createServer(epistery.config.SNI, app); https_server.listen(443);

Next Steps

Now that you have Epistery installed, explore the available contracts and API.

Explore Contracts API Documentation View Examples