Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

nebula

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nebula

Nebula: deploy to the decentralized web

latest
npmnpm
Version
0.1.5
Version published
Weekly downloads
77
-57.22%
Maintainers
2
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 07 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts