v3-oracle

by joaquinito2051

Helm chartv3.5.4App v3.1.7

The StakeWise application for submitting off-chain data to smart contracts.

About this chart

Oracle Helm Chart

Kubernetes Helm chart for deploying v3-oracle.

Introduction

Can be used to deploy StakeWise oracles on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.24+
  • Helm 3

Installing the Chart

To install the chart with the release name my-release:

helm repo add stakewise https://charts.stakewise.io
helm upgrade --install v3-oracle stakewise/v3-oracle \
  --set settings.network="goerli" \
  --set settings.executionGraphqlEndpoint="http://localhost:6001/graphql" \
  --set settings.executionEndpoint="http://localhost:8545" \
  --set settings.consensusEndpoint="http://localhost:6002" \
  --set settings.ipfsLocalClientEndpoint="/dns/ipfs.example.com/tcp/443/https" \
  --set settings.walletPrivateKey="0x0000000000000000000000000000000000000000" \
  --set settings.ipfsInfuraClientUsername="username" \
  --set settings.ipfsInfuraClientPassword="password" \
  --set settings.ipfsWeb3StorageToken="token" \
  --namespace v3-oracle

The command deploys oracle on the Kubernetes cluster in the default configuration. The configuration section lists various ways to override default configuration during deployment.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the v3-oracle deployment:

helm delete v3-oracle

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

See values.yaml for configuration notes. Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

helm install my-release stakewise/v3-oracle --set settings.executionEndpoints="XXXXXXXX" --set settings.consensusEndpoints="XXXXXXXX"

The above command specifies the web3 endpoint.

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

helm upgrade --install v3-oracle stakewise/v3-oracle -f values.yaml

Tip: You can override the default values.yaml

Deploy v3-oracle with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has v3-oracle on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartv3-oracle is pinned at v3.5.4 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply