sygmaprotocol / sygma-sdk

A Typescript SDK to add cross-chain capabilities such as bridging tokens and sending messages across dApp projects.
https://docs.buildwithsygma.com/
GNU Lesser General Public License v3.0
31 stars 19 forks source link

SDK should fetch feeRouter and feeHandler onchain #363

Closed mpetrunic closed 2 months ago

mpetrunic commented 5 months ago

Implementation details

SDK should obtain bridge address from shared config and use that to fetch fee related contracts and information instead of depending on shared config to avoid errors when shared config is different from onchain status.

Testing details

Acceptance Criteria

saadjhk commented 2 months ago

Closed in v3 refactor https://github.com/sygmaprotocol/sygma-sdk/blob/v3/packages/evm/src/fee/getFeeInformation.ts#L20