0.1.5 • Published 1 year ago

nebula v0.1.5

Weekly downloads
3
License
GPL-3.0
Repository
-
Last release
1 year ago

Nebula

Nebula is a utility for deploying apps to the decentralized web

If your dapp resolves via DNS or centralized servers is it really a dapp?

Install

npm install nebula

Programmatic Interface

Create the Nebula client

import n from 'nebula'
const nebula = n(ipfs, ethereum)

ipfs can be:

  • A js-ipfs instance
  • Configuration for ipfs-http-client
  • An IPFS API URL e.g. https://[authToken]@ipfs.nebula.land or http://localhost:5001

If omitted, a connection to http://localhost:5001 will be used

ethereum can be:

If omitted, an eth-provider instance with default configuration will be used

Deploy an app

await nebula.deploy('./app', { ensName: 'nebula.eth' })

Resolve an app

await nebula.resolve('nebula.eth')

Command Line Interface

Deploy an app

› nebula deploy ./app nebula.eth

Resolve an app

› nebula resolve nebula.eth
0.1.4

2 years ago

0.1.3

2 years ago

0.1.5

1 year ago

0.1.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.0.5

3 years ago

0.0.6

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.0

3 years ago

0.0.2

3 years ago

0.0.1

10 years ago