Skip to content

Commit c2d7e83

Browse files
committed
chore: minor atom changes
1 parent da5ea18 commit c2d7e83

File tree

4 files changed

+25
-19
lines changed

4 files changed

+25
-19
lines changed

.changeset/tricky-islands-kiss.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@swapkit/toolbox-cosmos": patch
3+
"@swapkit/helpers": patch
4+
---
5+
6+
Changes Atom RPC url and increase Atom min gas fee default

bun.lock

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/swapkit/helpers/src/types/chains.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,10 +221,10 @@ export const RPC_URLS: Record<Chain | StagenetChain, string> = {
221221
[Chain.Avalanche]: "https://avalanche-c-chain-rpc.publicnode.com",
222222
[Chain.Base]: "https://base-rpc.publicnode.com",
223223
[Chain.BinanceSmartChain]: "https://bsc-dataseed.binance.org",
224-
[Chain.Bitcoin]: "https://node-router.thorswap.net/bitcoin",
224+
[Chain.Bitcoin]: "https://bitcoin-rpc.publicnode.com",
225225
[Chain.BitcoinCash]: "https://node-router.thorswap.net/bitcoin-cash",
226226
[Chain.Chainflip]: "wss://mainnet-archive.chainflip.io",
227-
[Chain.Cosmos]: "https://node-router.thorswap.net/cosmos/rpc",
227+
[Chain.Cosmos]: "https://cosmos-rpc.publicnode.com:443",
228228
[Chain.Dash]: "https://dash-rpc.publicnode.com",
229229
[Chain.Dogecoin]: "https://node-router.thorswap.net/dogecoin",
230230
[Chain.Ethereum]: "https://ethereum-rpc.publicnode.com",

packages/toolboxes/cosmos/src/toolbox/gaia.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const GaiaToolbox = ({ server, swapkitApiKey }: ToolboxParams = {}): Gaia
3939
});
4040

4141
async function getFees() {
42-
const baseFee = await getFeeRateFromThorswap(ChainId.Cosmos, 500, swapkitApiKey || "");
42+
const baseFee = await getFeeRateFromThorswap(ChainId.Cosmos, 1000, swapkitApiKey || "");
4343
return {
4444
type: "base",
4545
average: SwapKitNumber.fromBigInt(BigInt(baseFee), BaseDecimal.GAIA),

0 commit comments

Comments
 (0)