Skip to content
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

Add peerPermit EIP draft #8758

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

xunorus
Copy link

@xunorus xunorus commented Jul 24, 2024

EIP Title: peerPermit - Token Creation and Transfer with Dual Signatures

Abstract

This EIP introduces peerPermit, a mechanism for creating and transferring ERC-20 tokens that requires dual signatures from both the recipient and the value creator. This ensures mutual consent and enhances security in token transactions.

Motivation

The peerPermit method enhances security and consent in token transactions by requiring cryptographic signatures from both involved parties. This method is particularly useful in scenarios where mutual agreement is critical, such as escrow services and collaborative funding.

Specification

The EIP defines a PeerPermit structure and a peerPermit function that includes parameters for recipient, value creator, value, nonce, deadline, and the components of both parties' signatures. The function validates the signatures to ensure they match the respective addresses.

Discussion

For further discussion, please visit [URL for discussion thread].

References

  • EIP-20: ERC-20 Token Standard
  • EIP-2612: permit
  • Monnaie libre experiments like G1, Le jardin des échanges universels, and S.E.L. have inspired aspects of this proposal.

@xunorus xunorus requested a review from eth-bot as a code owner July 24, 2024 08:07
@eth-bot
Copy link
Collaborator

eth-bot commented Jul 24, 2024

File EIPS/eip-draft-peer-permit.md

Requires 1 more reviewers from @axic, @g11tech, @gcolvin, @lightclient, @SamWilsn, @xinbenlv

@eth-bot eth-bot added e-consensus Waiting on editor consensus e-review Waiting on editor to review labels Jul 24, 2024
Copy link

The commit ba0c210 (as a parent of ebbe1f6) contains errors.
Please inspect the Run Summary for details.

@github-actions github-actions bot added the w-ci Waiting on CI to pass label Jul 24, 2024
@abcoathup
Copy link
Contributor

abcoathup commented Jul 25, 2024

@xunorus ERCs should be created in https://github.com/ethereum/ERCs, please close this PR and create in the ERC repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
e-consensus Waiting on editor consensus e-review Waiting on editor to review w-ci Waiting on CI to pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants