coinbase / coinbase/cdp-sdk-python
Support for EIP712
- Ngôn ngữ chính
- Python
- Star
- 95
- Fork
- 32
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Hello,
I was reviewing the code and noticed that the wallet abstraction relies on the Web3 library. However, from what I understand, transaction broadcasting is currently handled through Coinbase endpoints.
I wanted to check whether it would be possible to integrate a signing method using [LocalAccount.sign_typed_data](https://eth-account.readthedocs.io/en/stable/eth_account.signers.html#eth_account.signers.local.LocalAccount.sign_typed_data) or [web3.eth.sign_typed_data](https://web3py.readthedocs.io/en/stable/web3.eth.html#web3.eth.Eth.sign_typed_data) for EIP-712 transactions. While I believe I could implement the signing process, I’m unsure how transaction submission would fit within the existing structure.
Is this something already planned or in progress? I'd appreciate any insights on whether this approach aligns with your architecture or if there are any blockers I should consider.
Thanks!
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách lần theo lớp trừu tượng wallet và quy trình phát giao dịch Coinbase được mô tả trong issue. Đọc tài liệu được liên kết về LocalAccount.sign_typed_data và web3.eth.sign_typed_data, sau đó xác định việc ký và gửi EIP-712 sẽ phù hợp với kiến trúc hiện có như thế nào; công việc được xem là hoàn tất khi có một hướng triển khai đã được thống nhất cho phần hỗ trợ được yêu cầu.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- backend-api-design, blockchain
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100