1.0.0 • Published 6 years ago

meshcache-registry v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

Meshcache Registry

Installation

Use

const Registry = require('./registry')

API

getRegistryAddress()

This function returns the address of the registry.

getServices()

This function returns the list of services by ID.

getService(serviceId)

nametypedescription
serviceIduint256id of the service

This returns the associated service variables.

getBootstraps(serviceId)

nametypedescription
serviceIduint256id of the service

This returns the associated bootstrap nodes with the service.