Merge pull request #17 from webmaster128/custom-gas-price
Allow configuring the gas price
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
FAUNADB_SECRET=
|
||||
NEXT_PUBLIC_NODE_ADDRESS=https://cosmoshub.validator.network:443
|
||||
NEXT_PUBLIC_DENOM=uatom
|
||||
NEXT_PUBLIC_GAS_PRICE=0.03uatom
|
||||
NEXT_PUBLIC_CHAIN_ID=cosmoshub-4
|
||||
NEXT_PUBLIC_ADDRESS_PREFIX=cosmos
|
||||
|
||||
@@ -18,7 +18,7 @@ class TransactionForm extends React.Component {
|
||||
amount: 0,
|
||||
memo: "",
|
||||
gas: 200000,
|
||||
gasPrice: `0.03${process.env.NEXT_PUBLIC_DENOM}`,
|
||||
gasPrice: process.env.NEXT_PUBLIC_GAS_PRICE,
|
||||
processing: false,
|
||||
addressError: "",
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user