diff --git a/.env.example b/.env.example index 6f7943c..6d9331a 100644 --- a/.env.example +++ b/.env.example @@ -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 diff --git a/deploy/README.md b/deploy/README.md index 5ac2ef3..313dd1b 100644 --- a/deploy/README.md +++ b/deploy/README.md @@ -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 ``` diff --git a/src/utils/gorbagana.ts b/src/utils/gorbagana.ts index 8555e72..823f50c 100644 --- a/src/utils/gorbagana.ts +++ b/src/utils/gorbagana.ts @@ -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";