Skip to content

[DRAFT] Add Polymer Prover Support#436

Open
notbdu wants to merge 4 commits intoNear-One:mainfrom
polymerdao:bo/polymer
Open

[DRAFT] Add Polymer Prover Support#436
notbdu wants to merge 4 commits intoNear-One:mainfrom
polymerdao:bo/polymer

Conversation

@notbdu
Copy link

@notbdu notbdu commented Oct 16, 2025

Opening an early draft PR for discussion.

Goal is to expand omni bridge coverage to more chains and quickly. Polymer currently has good coverage especially across Ethereum rollups and has the ability to connect new chains within mins - hours.

Polymer's Prove API provides an easy to query interface for omni bridge events (e.g. InitTransfer, FinTransfer etc.).

Bridge sdk changes here.


/// Parse string from ABI-encoded bytes
/// Format: offset (32 bytes) + length (32 bytes) + data (padded to 32-byte chunks)
pub fn decode_string_from_abi(data: &[u8], offset: usize) -> Result<String, String> {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we really need this low level decoder? Why not just to use alloy like here?

Copy link
Author

Choose a reason for hiding this comment

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

Fixed!

Copy link
Collaborator

Choose a reason for hiding this comment

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

Amazing work, thanks!

Copy link
Collaborator

Choose a reason for hiding this comment

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

Are we going to support other non-EVM chains?

Copy link
Contributor

Choose a reason for hiding this comment

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

Are we going to support other non-EVM chains?

shouldn't be hard to implement if we already have evm examples

@karim-en What chains do you want to support through polymer?

Copy link
Collaborator

@karim-en karim-en Nov 7, 2025

Choose a reason for hiding this comment

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

shouldn't be hard to implement if we already have evm examples

The EVM uses ABI message format, so I'm curious what is the non-evm format

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.

3 participants