Fix gorbagna enable check

This commit is contained in:
Nabarun 2025-07-25 20:00:43 +05:30
parent 452c4db5f8
commit e25040de58
3 changed files with 7 additions and 6 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

@ -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

@ -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";