Add authority and bond ID in readme for deployment (#6)

Reviewed-on: #6
Co-authored-by: Nabarun <nabarun@deepstacksoft.com>
Co-committed-by: Nabarun <nabarun@deepstacksoft.com>
This commit is contained in:
Nabarun 2025-07-25 15:04:10 +00:00 committed by nabarun
parent 452c4db5f8
commit f6c6147340
5 changed files with 11 additions and 10 deletions

View File

@ -23,8 +23,8 @@ NEXT_PUBLIC_REGISTRY_GQL_ENDPOINT=https://laconicd-mainnet-1.laconic.com/graphql
NEXT_PUBLIC_ALNT_COST_LRN=lrn://laconic/pricing/alnt
NEXT_PUBLIC_DEPLOYMENT_COST_LRN=lrn://laconic/pricing/webapp-deployment
REGISTRY_GAS_PRICE=0.001
REGISTRY_BOND_ID=
REGISTRY_AUTHORITY=
REGISTRY_BOND_ID=5d82586d156fb6671a9170d92f930a72a49a29afb45e30e16fff2100e30776e2
REGISTRY_AUTHORITY=laconic-deploy
REGISTRY_USER_KEY=
# Application Configuration

View File

@ -1,10 +1,10 @@
# ENV for registry operations
# Bond to use
REGISTRY_BOND_ID=
REGISTRY_BOND_ID=5d82586d156fb6671a9170d92f930a72a49a29afb45e30e16fff2100e30776e2
# Target deployer LRN
DEPLOYER_LRN=
DEPLOYER_LRN=lrn://vaasl-provider/deployers/webapp-deployer-api.apps.vaasl.io
# Authority to deploy the app under
AUTHORITY=
AUTHORITY=laconic-deploy

View File

@ -48,7 +48,7 @@
```bash
cp .registry.env.example .registry.env
# Fill in the required values
# Update values if required
nano .registry.env
```
@ -75,7 +75,8 @@
Server-side:
- `REGISTRY_BOND_ID` - The bond ID to use for Laconic Registry records
- `REGISTRY_AUTHORITY` - The authority for Laconic Registry LRNs
- `REGISTRY_USER_KEY` - The private key for Laconic Registry transactions (also used for LNT transfers)
- `REGISTRY_USER_KEY` - The private key of account which will publish records
- The account should own the `laconic-deploy` authority which is set in `REGISTRY_AUTHORITY`
- `DEPLOYER_LRN` - The LRN of the deployer
## Run
@ -86,7 +87,7 @@
# In gor-deploy/deploy dir
docker run -it \
-v ./:/app/deploy -w /app/deploy \
-e DEPLOYMENT_DNS=gor-deploy \
-e DEPLOYMENT_DNS=gor-deploy.laconic.com \
cerc/laconic-registry-cli:latest \
./deploy.sh
```

View File

@ -4,6 +4,6 @@ services:
rpcEndpoint: 'https://laconicd-mainnet-1.laconic.com'
gqlEndpoint: 'https://laconicd-mainnet-1.laconic.com/api'
userKey:
bondId:
bondId: 5d82586d156fb6671a9170d92f930a72a49a29afb45e30e16fff2100e30776e2
chainId: laconic-mainnet
gasPrice: 0.001alnt

View File

@ -1 +1 @@
export const IS_NAT_GOR_TRANSFER_ENABLED = process.env.NEXT_PUBLIC_ENABLE_NATIVE_GOR_TRANSFER === "true";
export const IS_NAT_GOR_TRANSFER_ENABLED = process.env.NEXT_PUBLIC_ENABLE_NATIVE_GOR_TRANSFER !== "false";