diff --git a/ops/configs/snowball-config.toml b/ops/configs/snowball-config.toml index 04389c4..bb947d8 100644 --- a/ops/configs/snowball-config.toml +++ b/ops/configs/snowball-config.toml @@ -12,7 +12,7 @@ dbPath = "/data/db/snowball" [gitHub] - webhookUrl = "" + webhookUrl = "https://snowball-backend.pwa.laconic.com" [gitHub.oAuth] clientId = "" clientSecret = "" @@ -30,12 +30,12 @@ [registryConfig] fetchDeploymentRecordDelay = 5000 checkAuctionStatusDelay = 5000 - restEndpoint = "" - gqlEndpoint = "" - chainId = "" + restEndpoint = "https://laconicd.laconic.com" + gqlEndpoint = "https://laconicd.laconic.com/api" + chainId = "laconic_9000-2" privateKey = "" bondId = "" - authority = "" + authority = "snowballtools" [registryConfig.fee] gasPrice = "1alnt" diff --git a/ops/deployments-from-scratch.md b/ops/deployments-from-scratch.md index b7ef930..3219c33 100644 --- a/ops/deployments-from-scratch.md +++ b/ops/deployments-from-scratch.md @@ -1117,12 +1117,14 @@ +
+ snowball-backend + ## Snowball Backend * Stack: -* Source repos: - * +* Source repo: * Target dir: `/srv/snowball/snowball-deployment` @@ -1199,6 +1201,8 @@ wget -O /srv/snowball/snowball-deployment/data/config/local.toml https://git.vdb.to/cerc-io/testnet-laconicd-stack/raw/branch/main/ops/configs/snowball-config.toml ``` +* Reserve authority `snowballtools` using a funded account and create a bond + * Update `/srv/snowball/snowball-deployment/data/config/local.toml` with the required values ### Start @@ -1216,6 +1220,72 @@ laconic-so deployment --dir snowball-deployment logs snowballtools-base-backend -f ``` +
+ +
+ snowball-frontend + +## Snowball Frontend + +* Source repo: + +### Setup + +* On your local machine, clone the `snowballtools-base` repo: + + ```bash + git clone git@git.vdb.to:cerc-io/snowballtools-base.git + ``` + +* Install dependencies: + + ```bash + cd snowballtools-base + yarn install + ``` + +* In the deployer package, create required env: + + ```bash + cd packages/deployer + cp .env.example .env + ``` + + Set the required variables: + + ```bash + REGISTRY_BOND_ID= + DEPLOYER_LRN= + ``` + +* Update required laconic config: + + ```bash + # Replace and + cat < config.yml + services: + registry: + rpcEndpoint: https://laconicd.laconic.com + gqlEndpoint: https://laconicd.laconic.com/api + userKey: + bondId: + chainId: laconic_9000-2 + gasPrice: 1alnt + EOF + ``` + +### Run + +* Run frontend deployment script: + + ```bash + ./deploy-frontend.sh + ``` + + Follow deployment logs on the deployer UI + +
+ ## Domains / Port Mappings ```bash diff --git a/testnet-nitro-node.md b/testnet-nitro-node.md index 05af47d..c8e2edf 100644 --- a/testnet-nitro-node.md +++ b/testnet-nitro-node.md @@ -64,7 +64,7 @@ # } ``` -* TODO: Get L1 tokens on your address +* Request tokens for your address from Laconic * Edit `nitro-vars.yml` and add the following variables: