0.5.8 • Published 2 years ago
growr-agent-sdk v0.5.8
growr-agent-sdk
Still Experimental stage!
No tests, not tested in production!
WIP
Architecture high overview
Install
npm i growr-agent-sdk
Use
For resident Agent instance (services with fixexd PK) that starts with your app with Single Private key use:
const GrowrAgent = require('growr-agent-sdk')
// getInstance creates instance that stays in the memory
// On first run the command creates identity with PK and then uses it for operations.
// Use this to get same instance in different modules
const agent = await GrowrAgent.getInstance(agentConfig)
For agent for user use case (custodial service, using user personality with each call) use:
const GrowrAgent = require('growr-agent-sdk')
// getAgent creates agent for the call with PK that is introduced for the usecase
// On every run, new identity is created, based on the PK in the agentConfig
// Use this to get same new agent every time it needs to be used
const agent = await GrowrAgent.getAgent(agentConfig)
0.5.8
2 years ago
0.5.7
2 years ago
0.4.10
2 years ago
0.4.11
2 years ago
0.5.4
2 years ago
0.5.3
2 years ago
0.5.6
2 years ago
0.5.5
2 years ago
0.5.0
2 years ago
0.5.2
2 years ago
0.5.1
2 years ago
0.4.9
2 years ago
0.4.8
2 years ago
0.4.5
3 years ago
0.4.4
3 years ago
0.4.7
3 years ago
0.4.6
3 years ago
0.4.1
3 years ago
0.4.0
3 years ago
0.4.3
3 years ago
0.4.2
3 years ago
0.3.1
3 years ago
0.3.0
3 years ago
0.0.2
3 years ago
0.0.1
3 years ago