JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1688
  • Score
    100M100P100Q104093F
  • License MIT

Create a new epm registry on-chain

Package Exports

  • ethpm-registry

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ethpm-registry) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

EthPM Registry

Create a new EthPM registry on chain, and provide a library for integration with EthPM.

Proof of concept; more details and documentation still to come.

Command Line

Create a new EPM registry on chain using the given from address.

⚠️ Warning ⚠️ This command line tool requires an open Ethereum client in order to create the registry, which is wildly insecure. Use this at your own risk. This process can be greatly improved.

$ epmr new --from "0x1234..." [--host localhost] [--port 8545]

Library

var EthPMRegistry = require("ethpm-registry");
var registry = EthPMRegistry.use(registry_address, from_address, web3_provider);

// Now you can use `registry` as valid registry interface within EthPM.

Testing

$ npm test