crossbario / crossbario/autobahn-python
_eip712_delegate_connect
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.5k
- Forks
- 768
- PR merge metrics
- No merged PRs in 30d
Description
add a new EIP712 type for off-chain use with delegates (like https://github.com/crossbario/autobahn-python/blob/master/autobahn/xbr/_eip712_domain_create.py)
{
"delegate": "0x7cB57B5A97eAbe94205C07890BE4c1aD31E486A8",
"owner": "0x12AE66CDc592e10B60f9097a7b0D3C59fce29876",
"url": "https://planet.xbr.network",
"timestamp": "2020-07-25T14:50:06.039Z",
"timezone": "UTC+2",
"country": "DE",
"subdivision": "DE-BY",
"nonce": 2328637202,
"failed": {
"connection-offer": "1c2c674e-a4d2-4865-b3cb-862f96736879",
"error": "unreachable",
"message": "no route to host"
}
}
Actual input in above for the first boot of a delegate is:
- owner
- url
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Compare the requested type with the referenced autobahn/xbr/_eip712_domain_create.py example, then locate the existing EIP712 type definitions and their tests in this repository. The work is complete when an off-chain delegate connection type accepts the specified owner and URL inputs and represents the delegate connection data described in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- blockchain
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100