Skip to content

Commit

Permalink
- fixed TADA fees
Browse files Browse the repository at this point in the history
  • Loading branch information
iulianpascalau committed Nov 13, 2024
1 parent 4b1c42b commit 5d23540
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function getETHConfig(network: string, withLedger: boolean): NetworkUserConfig {
if (withLedger) {
config = {
ledgerAccounts: [
"0x60745fCA64C92c0aBAC5b1bed145204FBF1e9d85",
"0x4408D9f40b9e45d5bE27256Ad71453DeEF043910",
],
ledgerOptions: {
derivationFunction: (x: string) => `m/44'/60'/0'/0/${x}`
Expand Down Expand Up @@ -108,7 +108,7 @@ function getBSCConfig(network: string, withLedger: boolean): NetworkUserConfig {
if (withLedger) {
config = {
ledgerAccounts: [
"0x60745fCA64C92c0aBAC5b1bed145204FBF1e9d85",
"0x4408D9f40b9e45d5bE27256Ad71453DeEF043910",
],
ledgerOptions: {
derivationFunction: (x: string) => `m/44'/60'/0'/0/${x}`
Expand All @@ -130,8 +130,7 @@ function getBSCConfig(network: string, withLedger: boolean): NetworkUserConfig {
config.url = "https://bsc-testnet.infura.io/v3/" + infuraApiKey;
break;
case "mainnet":
config.url = "https://bsc-mainnet.infura.io/v3/" + infuraApiKey;
config.gasPrice=3500000000;
config.url = "https://bsc-dataseed.binance.org";
break;
default:
throw new Error("invalid config option for bsc chain");
Expand Down
4 changes: 2 additions & 2 deletions scripts/mainnet-v3-bsc-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ npx hardhat add-to-whitelist --min 2000000000000000000 --max 1000000000000000000
#BUSD - decimals 18, min 10, max 1000000
#npx hardhat add-to-whitelist --min 10000000000000000000 --max 1000000000000000000000000 --address 0xe9e7cea3dedca5984780bafc599bd69add087d56 --mintburn false --native true --limit 200000 --network $NETWORK

#TADA - decimals 18, min 90, max 1000000
npx hardhat add-to-whitelist --min 90000000000000000000 --max 1000000000000000000000000 --address 0x9b26e318bc6a2c8b45f5daea2cc14697e0e0f8b5 --mintburn false --native true --limit 200000 --network $NETWORK
#TADA - decimals 18, min 1454, max 10000000
npx hardhat add-to-whitelist --min 1454000000000000000000 --max 10000000000000000000000000 --address 0x9b26e318bc6a2c8b45f5daea2cc14697e0e0f8b5 --mintburn false --native true --limit 200000 --network $NETWORK

0 comments on commit 5d23540

Please sign in to comment.