Defines config used for provider set up
Property | Type | Required | Description |
---|---|---|---|
capacityCommitments |
object | Yes | A map with nox names as keys and capacity commitments as values |
computePeers |
object | Yes | A map with compute peer names as keys and compute peers as values |
offers |
object | Yes | A map with offer names as keys and offers as values |
providerName |
string | Yes | Provider name. Must not be empty |
version |
number | Yes | Config version |
nox |
object | No | Configuration to pass to the nox compute peer. Config.toml files are generated from this config |
A map with nox names as keys and capacity commitments as values
Property | Type | Required | Description |
---|---|---|---|
noxName |
object | No | Defines a capacity commitment |
Defines a capacity commitment
Property | Type | Required | Description |
---|---|---|---|
duration |
string | Yes | Duration of the commitment in human-readable format. Example: 1 months 1 days |
rewardDelegationRate |
number | Yes | Reward delegation rate in percent |
delegator |
string | No | Delegator address |
A map with compute peer names as keys and compute peers as values
Property | Type | Required | Description |
---|---|---|---|
ComputePeer |
object | No | Defines a compute peer |
Defines a compute peer
Property | Type | Required | Description |
---|---|---|---|
computeUnits |
number | Yes | How many compute units should nox have. Default: 32 (each compute unit requires 2GB of RAM) |
nox |
object | No | Configuration to pass to the nox compute peer. Config.toml files are generated from this config |
Configuration to pass to the nox compute peer. Config.toml files are generated from this config
Property | Type | Required | Description |
---|---|---|---|
aquavmPoolSize |
number | No | Number of aquavm instances to run. Default: 2 |
chainConfig |
object | No | Chain config |
effectors |
object | No | Effectors to allow on the nox |
httpPort |
number | No | Both host and container HTTP port to use. Default: for each nox a unique port is assigned starting from 18080 |
rawConfig |
string | No | Raw TOML config string to parse and merge with the rest of the config. Has the highest priority |
systemServices |
object | No | System services to run by default. aquaIpfs and decider are enabled by default |
tcpPort |
number | No | Both host and container TCP port to use. Default: for each nox a unique port is assigned starting from 7771 |
websocketPort |
number | No | Both host and container WebSocket port to use. Default: for each nox a unique port is assigned starting from 9991 |
Chain config
Property | Type | Required | Description |
---|---|---|---|
ccContractAddress |
string | No | Capacity commitment contract address |
coreContractAddress |
string | No | Core contract address |
httpEndpoint |
string | No | HTTP endpoint of the chain. Same as decider |
marketContractAddress |
string | No | Market contract address |
networkId |
number | No | Network ID |
walletKey |
string | No | Wallet key |
Effectors to allow on the nox
Property | Type | Required | Description |
---|---|---|---|
effectorName |
object | No | Effector configuration |
Effector configuration
Properties
Property | Type | Required | Description |
---|---|---|---|
allowedBinaries |
object | Yes | Allowed binaries |
wasmCID |
string | Yes | Wasm CID of the effector |
allowedBinaries
Allowed binaries
Properties
Property | Type | Required | Description |
---|---|---|---|
curl |
string | No |
System services to run by default. aquaIpfs and decider are enabled by default
Property | Type | Required | Description |
---|---|---|---|
aquaIpfs |
object | No | Aqua IPFS service configuration |
decider |
object | No | Decider service configuration |
enable |
string[] | No | List of system services to enable |
Aqua IPFS service configuration
Properties
Property | Type | Required | Description |
---|---|---|---|
externalApiMultiaddr |
string | No | Multiaddress of external IPFS API |
localApiMultiaddr |
string | No | Multiaddress of local IPFS API |
Decider service configuration
Properties
Property | Type | Required | Description |
---|---|---|---|
deciderPeriodSec |
number | No | Decider period in seconds |
matcherAddress |
string | No | Matcher address |
networkApiEndpoint |
string | No | Network API endpoint |
networkId |
number | No | Network ID |
startBlock |
string | No | Start block |
walletKey |
string | No | Wallet key |
workerIpfsMultiaddr |
string | No | Multiaddress of worker IPFS node |
Configuration to pass to the nox compute peer. Config.toml files are generated from this config
Property | Type | Required | Description |
---|---|---|---|
aquavmPoolSize |
number | No | Number of aquavm instances to run. Default: 2 |
chainConfig |
object | No | Chain config |
effectors |
object | No | Effectors to allow on the nox |
httpPort |
number | No | Both host and container HTTP port to use. Default: for each nox a unique port is assigned starting from 18080 |
rawConfig |
string | No | Raw TOML config string to parse and merge with the rest of the config. Has the highest priority |
systemServices |
object | No | System services to run by default. aquaIpfs and decider are enabled by default |
tcpPort |
number | No | Both host and container TCP port to use. Default: for each nox a unique port is assigned starting from 7771 |
websocketPort |
number | No | Both host and container WebSocket port to use. Default: for each nox a unique port is assigned starting from 9991 |
Chain config
Property | Type | Required | Description |
---|---|---|---|
ccContractAddress |
string | No | Capacity commitment contract address |
coreContractAddress |
string | No | Core contract address |
httpEndpoint |
string | No | HTTP endpoint of the chain. Same as decider |
marketContractAddress |
string | No | Market contract address |
networkId |
number | No | Network ID |
walletKey |
string | No | Wallet key |
Effectors to allow on the nox
Property | Type | Required | Description |
---|---|---|---|
effectorName |
object | No | Effector configuration |
Effector configuration
Property | Type | Required | Description |
---|---|---|---|
allowedBinaries |
object | Yes | Allowed binaries |
wasmCID |
string | Yes | Wasm CID of the effector |
Allowed binaries
Property | Type | Required | Description |
---|---|---|---|
curl |
string | No |
System services to run by default. aquaIpfs and decider are enabled by default
Property | Type | Required | Description |
---|---|---|---|
aquaIpfs |
object | No | Aqua IPFS service configuration |
decider |
object | No | Decider service configuration |
enable |
string[] | No | List of system services to enable |
Aqua IPFS service configuration
Property | Type | Required | Description |
---|---|---|---|
externalApiMultiaddr |
string | No | Multiaddress of external IPFS API |
localApiMultiaddr |
string | No | Multiaddress of local IPFS API |
Decider service configuration
Property | Type | Required | Description |
---|---|---|---|
deciderPeriodSec |
number | No | Decider period in seconds |
matcherAddress |
string | No | Matcher address |
networkApiEndpoint |
string | No | Network API endpoint |
networkId |
number | No | Network ID |
startBlock |
string | No | Start block |
walletKey |
string | No | Wallet key |
workerIpfsMultiaddr |
string | No | Multiaddress of worker IPFS node |
A map with offer names as keys and offers as values
Property | Type | Required | Description |
---|---|---|---|
Offer |
object | No | Defines a provider offer |
Defines a provider offer
Property | Type | Required | Description |
---|---|---|---|
computePeers |
string[] | Yes | Number of Compute Units for this Compute Peer |
minPricePerWorkerEpoch |
string | Yes | Minimum price per worker epoch in USDC |
effectors |
string[] | No |