snet-daemon
SingularityNET Daemon
Getting Started
These instructions are intended to facilitate the development and testing of SingularityNET Daemon. Users interested in
deploying SingularityNET services using SingularityNET Daemon should install the appropriate binary as
released.
Prerequisites
Installing
$ git clone git@github.com:singnet/snet-daemon.git
$ cd snet-daemon
- Install development/test dependencies
$ ./scripts/install
Testing
A simple test script has been setup that does the following
- Generates a bip39 mnemonic
- Runs a ganache-cli test RPC with the generated mnemonic
- Deploys the required network singleton contracts (SingularityNetToken, AgentFactory, Registry) and
creates an Agent contract instance
- Writes a daemon configuration file with the Agent contract address, generated mnemonic, and test RPC endpoint
- Runs an instance of snetd
- Creates and funds a Job contract instance
- Signs the job invocation
- Calls the daemon using the predetermined job address and job signature
- Cleans up
$ ./scripts/test
Release
Precompiled binaries are published with each release.
Versioning
We use SemVer for versioning. For the versions available, see the
tags on this repository.
License
This project is licensed under the MIT License - see the
LICENSE file for details.