Update deployment for MTM tokens
This commit is contained in:
parent
bc0d10d4c3
commit
2ba3e9db97
@ -3,8 +3,8 @@
|
|||||||
# Solana Payment Configuration
|
# Solana Payment Configuration
|
||||||
# TODO: Use different RPC URL
|
# TODO: Use different RPC URL
|
||||||
NEXT_PUBLIC_SOLANA_RPC_URL=https://skilled-prettiest-seed.solana-mainnet.quiknode.pro/eeecfebd04e345f69f1900cc3483cbbfea02a158
|
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_MINT_ADDRESS=97RggLo3zV5kFGYW4yoQTxr4Xkz4Vg2WPHzNYXXWpump
|
||||||
NEXT_PUBLIC_SOLANA_TOKEN_SYMBOL=GOR
|
NEXT_PUBLIC_SOLANA_TOKEN_SYMBOL=MTM
|
||||||
|
|
||||||
# Gorbagana Chain Configuration
|
# Gorbagana Chain Configuration
|
||||||
NEXT_PUBLIC_GORBAGANA_RPC_URL=https://rpc.gorbagana.wtf
|
NEXT_PUBLIC_GORBAGANA_RPC_URL=https://rpc.gorbagana.wtf
|
||||||
@ -28,5 +28,5 @@ REGISTRY_AUTHORITY=laconic-deploy
|
|||||||
REGISTRY_USER_KEY=
|
REGISTRY_USER_KEY=
|
||||||
|
|
||||||
# Application Configuration
|
# Application Configuration
|
||||||
DEPLOYER_LRN=
|
DEPLOYER_LRN=lrn://vaasl-provider/deployers/webapp-deployer-api.apps.vaasl.io
|
||||||
NEXT_PUBLIC_DOMAIN_SUFFIX=
|
NEXT_PUBLIC_DOMAIN_SUFFIX=apps.vaasl.io
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
- Configure `userKey` and `bondId` in the [registry CLI config](./config.yml):
|
- 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`)
|
- 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)
|
- If the authority is not available, follow [these steps to reserve a new authority](./publish-pricing.md#reserve-a-new-authority-optional)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@ -55,7 +55,7 @@
|
|||||||
- Add configuration for the app:
|
- Add configuration for the app:
|
||||||
|
|
||||||
```bash
|
```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
|
# Fill in the required values
|
||||||
nano .app.env
|
nano .app.env
|
||||||
@ -87,7 +87,7 @@
|
|||||||
# In gor-deploy/deploy dir
|
# In gor-deploy/deploy dir
|
||||||
docker run -it \
|
docker run -it \
|
||||||
-v ./:/app/deploy -w /app/deploy \
|
-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 \
|
cerc/laconic-registry-cli:latest \
|
||||||
./deploy.sh
|
./deploy.sh
|
||||||
```
|
```
|
||||||
|
@ -12,12 +12,12 @@ echo "Using AUTHORITY: $AUTHORITY"
|
|||||||
REPO_URL="https://git.vdb.to/LaconicNetwork/gor-deploy"
|
REPO_URL="https://git.vdb.to/LaconicNetwork/gor-deploy"
|
||||||
|
|
||||||
# Get the latest commit hash for a branch
|
# 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}')
|
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)
|
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 "Repo: ${REPO_URL}"
|
||||||
echo "Latest hash: ${LATEST_HASH}"
|
echo "Latest hash: ${LATEST_HASH}"
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
record:
|
record:
|
||||||
type: ApplicationRecord
|
type: ApplicationRecord
|
||||||
version: 0.0.1
|
version: 0.0.3
|
||||||
repository_ref: f6c6147340a8e173520af9b27ffcbc9d5e076fed
|
repository_ref: 169c992abfca6994f78ba1b37049f47d33451040
|
||||||
repository: ["https://git.vdb.to/LaconicNetwork/gor-deploy"]
|
repository: ["https://git.vdb.to/LaconicNetwork/gor-deploy"]
|
||||||
app_type: webapp
|
app_type: webapp
|
||||||
name: gor-deploy
|
name: mtm-deploy
|
||||||
app_version: 0.1.0
|
app_version: 0.1.0
|
||||||
|
Loading…
Reference in New Issue
Block a user