0.1.0-next.2 • Published 5 years ago

sofpm-registry v0.1.0-next.2

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

SofPM Registry

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

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: Warning :warning: This command line tool requires an open Sophon 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 SofPMRegistry = require("sofpm-registry");
var registry = SofPMRegistry.use(registry_address, from_address, susyweb_provider);

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

Testing

$ npm test