-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat(polygon): Polygon bridge #19
Conversation
🦋 Changeset detectedLatest commit: 63285d7 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
packages/polygon/package.json
Outdated
"devDependencies": { | ||
"@types/node": "^20.4.5", | ||
"@vitest/coverage-v8": "^0.33.0", | ||
"rimraf": "^5.0.1", | ||
"rome": "^12.1.3", | ||
"ts-node": "^10.9.1", | ||
"tsconfig": "workspace:*", | ||
"typescript": "^5.1.6", | ||
"vitest": "^0.33.0" | ||
}, | ||
"dependencies": { | ||
"@maticnetwork/pos-portal": "^1.5.2", | ||
"@rabbitholegg/questdk": "1.0.1-alpha.8", | ||
"viem": "^1.2.15" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably keep dependencies pinned for any plugins / sdks that other users will consume
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed - I'll capture this as an issue
…tdk-plugins into polygon_bridge
…into polygon_bridge
…into polygon_bridge
…tdk-plugins into polygon_bridge
…into polygon_bridge
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Biggest issue here is that the L1 ERC20 function signature doesn't have an amount. Polygon in general handles stuff super weird and I'm not very happy with this integration. They also have this concept around token predicates that is basically an alternative bridging flow but it's not supported through the UI.
Edit: Got the amount issue resolved on L1 ERC20. Not going to bother with the predicates right now as best I can tell they arn't used through the front-end anyhow.