diff --git a/.env.example b/.env.example
index 5549fb6..6f7943c 100644
--- a/.env.example
+++ b/.env.example
@@ -22,6 +22,7 @@ NEXT_PUBLIC_REGISTRY_RPC_ENDPOINT=https://laconicd-mainnet-1.laconic.com
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_USER_KEY=
diff --git a/src/components/PaymentModal.tsx b/src/components/PaymentModal.tsx
index 496f06c..654c193 100644
--- a/src/components/PaymentModal.tsx
+++ b/src/components/PaymentModal.tsx
@@ -190,19 +190,32 @@ export default function PaymentModal({
-
+ color: 'var(--muted)'
+ }}>
+
+
+ ) : (
+
+ )}
USD
diff --git a/src/config/index.ts b/src/config/index.ts
index bbd2591..473f4fd 100644
--- a/src/config/index.ts
+++ b/src/config/index.ts
@@ -1,17 +1,24 @@
-import { Registry } from '@cerc-io/registry-sdk';
+import { DENOM as ALNT_DENOM, Registry } from '@cerc-io/registry-sdk';
import { RegistryConfig } from '../types';
+import { GasPrice } from '@cosmjs/stargate';
let registryInstance: Registry | null = null;
+
export const getRegistry = (): Registry => {
if (!registryInstance) {
const config = getClientRegistryConfig();
+ const REGISTRY_GAS_PRICE = process.env.REGISTRY_GAS_PRICE;
+ const gasPrice = REGISTRY_GAS_PRICE ? GasPrice.fromString( REGISTRY_GAS_PRICE + ALNT_DENOM) : undefined;
registryInstance = new Registry(
config.gqlEndpoint,
config.rpcEndpoint,
- { chainId: config.chainId }
+ {
+ chainId: config.chainId,
+ gasPrice,
+ }
);
}
return registryInstance;