Defichain

Defichain

Definition(s) is maintained by the Chainfile maintainers.

mainnet.json

Params

These params have reasonable defaults or are randomly generated for secured fields which will determine how the Chainfile is run. You may override these params to customize the Chainfile for your specific needs.

version

The version of defid to run, refer to https://hub.docker.com/r/defi/defichain/tags for available versions/tag.

Default: 4.1.0

rpc_user

Username for defid RPC using Basic HTTP authentication scheme defined in RFC 7617. You may set this value to a custom value or blank it empty to generate a random value.

Random: randomBytes(16).toString(hex)

rpc_password

Password for defid RPC using Basic HTTP authentication scheme defined in RFC 7617. You may set this value to a custom value or leave it empty to generate a random value.

Random: randomBytes(16).toString(hex)

Containers

defid

endpoint: p2p
  • Port: 8555
endpoint: rpc
  • Port: 8554
  • Protocol: HTTP JSON-RPC 2.0
  • Probes: readiness
  • Authorization: required

jellyfish-mainnet.json

Params

These params have reasonable defaults or are randomly generated for secured fields which will determine how the Chainfile is run. You may override these params to customize the Chainfile for your specific needs.

rpc_user

Username for defid node RPC using Basic HTTP authentication scheme defined in RFC 7617, used by whale-api to connect to defid. You may set this value to a custom value or blank it empty to generate a random value.

Random: randomBytes(16).toString(hex)

rpc_password

Password for defid node RPC using Basic HTTP authentication scheme defined in RFC 7617, used by whale-api to connect to defid. You may set this value to a custom value or leave it empty to generate a random value.

Random: randomBytes(16).toString(hex)

defid_url

Endpoint to the defid node RPC endpoint, used by whale-api to connect to defid.

Default: http://${rpc_user}:${rpc_password}@defid:8554

defid_version

Version of docker.io/defi/defichain to run

Default: 4.1.0

jellyfish_version

Version of ghcr.io/birthdayresearch/whale-api to run

Default: 4.0.7

Containers

defid

endpoint: p2p
  • Port: 8555
endpoint: rpc
  • Port: 8554
  • Protocol: HTTP JSON-RPC 2.0
  • Probes: readiness
  • Authorization: required

whale

endpoint: api
  • Port: 3000
  • Protocol: HTTP REST
  • Probes: readiness

jellyfish-regtest.json

Params

These params have reasonable defaults or are randomly generated for secured fields which will determine how the Chainfile is run. You may override these params to customize the Chainfile for your specific needs.

defid_version

Default: 4.1.0

jellyfish_version

Default: 4.0.7

Containers

defid

endpoint: p2p
  • Port: 19555
endpoint: rpc
  • Port: 19554
  • Protocol: HTTP JSON-RPC 2.0
  • Probes: readiness
  • Authorization: required

whale

endpoint: api
  • Port: 3000
  • Protocol: HTTP REST
  • Probes: readiness