1.0.0 • Published 6 years ago
meshcache-registry v1.0.0
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)
name | type | description |
---|---|---|
serviceId | uint256 | id of the service |
This returns the associated service variables.
getBootstraps(serviceId)
name | type | description |
---|---|---|
serviceId | uint256 | id of the service |
This returns the associated bootstrap nodes with the service.
1.0.0
6 years ago