Skip to content

Commit

Permalink
binance fix
Browse files Browse the repository at this point in the history
  • Loading branch information
milapsheth committed Oct 19, 2023
1 parent c83d806 commit f2cd485
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion axelar-chains-config/info/mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@
"name": "Binance",
"id": "binance",
"chainId": 56,
"rpc": "https://bscrpc.com",
"rpc": "https://1rpc.io/bnb",
"tokenSymbol": "BNB",
"wrappedSymbol": "WBNB",
"contracts": {
Expand Down
4 changes: 4 additions & 0 deletions evm/send-tokens.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ async function processCommand(_, chain, options) {
value: amount,
};

if (!offline && chain.name.toLowerCase() === 'binance') {
tx.gasPrice = await provider.getGasPrice() * 1.2;
}

const { baseTx, signedTx } = await signTransaction(wallet, chain, tx, options);

if (offline) {
Expand Down

0 comments on commit f2cd485

Please sign in to comment.