Skip to content

Conversation

@muhammadabubakar7526
Copy link

@muhammadabubakar7526 muhammadabubakar7526 commented Dec 1, 2025

The Kaspa Bridge has been added to the bridges-server to handle transactions on the Kaspa blockchain. This bridge supports bidirectional token transfers between Binance Smart Chain (BSC) and Kasplex: BSC to Kasplex and Kasplex to BSC. please Merge this PR.

Here is the my kaspaBridge site Link: https://www.kaspabridge.com
chains: kasplex , bsc
Logo (High resolution): https://app.kaspafinance.io/images/chains/0xf87e587ab945f7b111329a6ace6dc497d34f098b.png

},

{
id: 102,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

starkgate should keep its id - 102
create new object for kaspabridge with id 103

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated!

displayName: "Kaspa Bridge",
bridgeDbName: "kaspabridge",
slug: "kaspabridge",
iconLink: "https://app.kaspafinance.io/images/chains/0xf87e587ab945f7b111329a6ace6dc497d34f098b.png",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pls create pr with ypur icon here
https://github.com/DefiLlama/icons

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

throw new Error(`Missing kaspabridge config for chain ${chain}`);
}

const provider = new providers.JsonRpcProvider(rpcUrl);
Copy link
Member

@vrtnd vrtnd Dec 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to use defillama sdk (public sdk doesnt have old blocks)

reason: 'processing response error',
  code: 'SERVER_ERROR',
  body: '{"jsonrpc":"2.0","id":44,"error":{"code":-32701,"message":"History has been pruned for this block. To remove restrictions, order a dedicated full node here: https://www.allnodes.com/bnb/host"}}\n',

since this bridge is 2 way u can do similar to arbitrum bridge
set kasplex as destination chain and track events only on bsc

throw new Error(`Missing kaspabridge config for chain bsc`);
}

const provider = new providers.JsonRpcProvider(rpcUrl);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use defillama sdk please
check other adapters for references

blockNumber: log.blockNumber,
from: "0x0000000000000000000000000000000000000000",
to: "0x0000000000000000000000000000000000000000",
token: "0x0000000000000000000000000000000000000000",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why token, from and to hardcoded to zero address?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants