From 2ba3e9db979b9aa4037bff74edb36fa8ec57feab Mon Sep 17 00:00:00 2001 From: Nabarun Date: Mon, 21 Jul 2025 18:54:11 +0530 Subject: [PATCH] Update deployment for MTM tokens --- .env.example | 8 ++++---- deploy/README.md | 6 +++--- deploy/deploy.sh | 4 ++-- deploy/records/application-record.yml | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.env.example b/.env.example index 6d9331a..a3db330 100644 --- a/.env.example +++ b/.env.example @@ -3,8 +3,8 @@ # Solana Payment Configuration # TODO: Use different RPC URL NEXT_PUBLIC_SOLANA_RPC_URL=https://skilled-prettiest-seed.solana-mainnet.quiknode.pro/eeecfebd04e345f69f1900cc3483cbbfea02a158 -NEXT_PUBLIC_SOLANA_TOKEN_MINT_ADDRESS=71Jvq4Epe2FCJ7JFSF7jLXdNk1Wy4Bhqd9iL6bEFELvg -NEXT_PUBLIC_SOLANA_TOKEN_SYMBOL=GOR +NEXT_PUBLIC_SOLANA_TOKEN_MINT_ADDRESS=97RggLo3zV5kFGYW4yoQTxr4Xkz4Vg2WPHzNYXXWpump +NEXT_PUBLIC_SOLANA_TOKEN_SYMBOL=MTM # Gorbagana Chain Configuration NEXT_PUBLIC_GORBAGANA_RPC_URL=https://rpc.gorbagana.wtf @@ -28,5 +28,5 @@ REGISTRY_AUTHORITY=laconic-deploy REGISTRY_USER_KEY= # Application Configuration -DEPLOYER_LRN= -NEXT_PUBLIC_DOMAIN_SUFFIX= +DEPLOYER_LRN=lrn://vaasl-provider/deployers/webapp-deployer-api.apps.vaasl.io +NEXT_PUBLIC_DOMAIN_SUFFIX=apps.vaasl.io diff --git a/deploy/README.md b/deploy/README.md index c4efb84..17c436f 100644 --- a/deploy/README.md +++ b/deploy/README.md @@ -22,7 +22,7 @@ - Configure `userKey` and `bondId` in the [registry CLI config](./config.yml): - User key should be of the account that owns the `laconic-deploy` authority (owner account address: `laconic1kwx2jm6vscz38qlyujvq6msujmk8l3zangqahs`) - - The bond should also be owned by same user (owned bond's ID: `230cfedda15e78edc8986dfcb870e1b618f65c56e38d2735476d2a8cb3f25e38`) + - The bond should also be owned by same user (owned bond's ID: `5d82586d156fb6671a9170d92f930a72a49a29afb45e30e16fff2100e30776e2`) - If the authority is not available, follow [these steps to reserve a new authority](./publish-pricing.md#reserve-a-new-authority-optional) ```bash @@ -55,7 +55,7 @@ - Add configuration for the app: ```bash - curl -s https://git.vdb.to/LaconicNetwork/gor-deploy/raw/branch/main/.env.example -o .app.env + curl -s https://git.vdb.to/LaconicNetwork/gor-deploy/raw/branch/mtm-deploy/.env.example -o .app.env # Fill in the required values nano .app.env @@ -87,7 +87,7 @@ # In gor-deploy/deploy dir docker run -it \ -v ./:/app/deploy -w /app/deploy \ - -e DEPLOYMENT_DNS=gor-deploy.laconic.com \ + -e DEPLOYMENT_DNS=mtm-deploy.laconic.com \ cerc/laconic-registry-cli:latest \ ./deploy.sh ``` diff --git a/deploy/deploy.sh b/deploy/deploy.sh index 81d824d..7aba5c6 100755 --- a/deploy/deploy.sh +++ b/deploy/deploy.sh @@ -12,12 +12,12 @@ echo "Using AUTHORITY: $AUTHORITY" REPO_URL="https://git.vdb.to/LaconicNetwork/gor-deploy" # Get the latest commit hash for a branch -BRANCH_NAME="main" +BRANCH_NAME="mtm-deploy" LATEST_HASH=$(git ls-remote $REPO_URL refs/heads/$BRANCH_NAME | awk '{print $1}') PACKAGE_VERSION=$(curl -s $REPO_URL/raw/branch/$BRANCH_NAME/package.json | jq -r .version) -APP_NAME=gor-deploy +APP_NAME=mtm-deploy echo "Repo: ${REPO_URL}" echo "Latest hash: ${LATEST_HASH}" diff --git a/deploy/records/application-record.yml b/deploy/records/application-record.yml index 0be5eb7..d3d58ae 100644 --- a/deploy/records/application-record.yml +++ b/deploy/records/application-record.yml @@ -1,8 +1,8 @@ record: type: ApplicationRecord - version: 0.0.1 - repository_ref: f6c6147340a8e173520af9b27ffcbc9d5e076fed + version: 0.0.3 + repository_ref: 169c992abfca6994f78ba1b37049f47d33451040 repository: ["https://git.vdb.to/LaconicNetwork/gor-deploy"] app_type: webapp - name: gor-deploy + name: mtm-deploy app_version: 0.1.0