0.5.0 • Published 3 years ago
@harbor-xyz/harbor v0.5.0
The Harbor library exported as Node.js modules.
Installation
Using npm
$ npm i @harbor-xyz/harbor
$ npm i --save @harbor-xyz/harborIn Node.js:
const Harbor = require("@harbor-xyz/harbor");
const harbor = new Harbor({
userKey: {{USER_KEY}},
projectKey: {{PROJECT_KEY}}
});Available functions
authenticate()
testnet(testnetName)
apply(config, testnetName)
clone(srcTestnetName, newtestnetName)
start(testnetName)
start(testnetName, actorName)
stop(testnetName)
stop(testnetName, actorName)
quickstart(testnetName)
checkHealth()Dev
cd sdk
npm install
npm run build
Update version in package.json and publish in npm