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 ERC: Wallet Call Token Capabilities #681

Open
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

ScreamingHawk
Copy link
Contributor

This ERC introduces a mechanism for dapps to provide prerequisites for transactions to smart contract wallets. Wallets can use these prerequisites to make more informed decisions about transaction construction.

@eip-review-bot
Copy link
Collaborator

eip-review-bot commented Oct 21, 2024

File ERCS/erc-7795.md

Requires 1 more reviewers from @g11tech, @SamWilsn, @xinbenlv

@eip-review-bot eip-review-bot changed the title Add Wallet Transaction Intents draft Add ERC: Wallet Transaction Intents Oct 21, 2024
@github-actions github-actions bot added the w-ci label Oct 21, 2024
ERCS/erc-TBA.md Outdated Show resolved Hide resolved
ERCS/erc-TBA.md Outdated Show resolved Hide resolved
@github-actions github-actions bot removed the w-ci label Oct 23, 2024
@github-actions github-actions bot added the w-ci label Oct 31, 2024
ERCS/erc-TBA.md Outdated Show resolved Hide resolved
ERCS/erc-TBA.md Outdated Show resolved Hide resolved
ERCS/erc-TBA.md Outdated Show resolved Hide resolved
ERCS/erc-TBA.md Outdated Show resolved Hide resolved
ERCS/erc-TBA.md Outdated Show resolved Hide resolved
ERCS/erc-TBA.md Outdated Show resolved Hide resolved
@eip-review-bot eip-review-bot changed the title Add ERC: Wallet Transaction Intents Add ERC: Wallet Call Token Requirements Nov 24, 2024
@github-actions github-actions bot removed the w-ci label Nov 24, 2024
@eip-review-bot eip-review-bot changed the title Add ERC: Wallet Call Token Requirements Add ERC: Wallet Call Token Capabilities Nov 24, 2024
@ScreamingHawk
Copy link
Contributor Author

Could we please have a review from @axic, @g11tech, @SamWilsn, @xinbenlv 🙏

ERCS/erc-7795.md Outdated Show resolved Hide resolved
ERCS/erc-7795.md Outdated

In this scenario, the wallet **MAY** prompt the user to sign the necessary transactions to fulfill the requirements before proceeding with the main transaction. The wallet **SHOULD** compute possible solutions to meet the requirements and **MUST** ensure that these prerequisites are met prior to executing the main transaction.

```mermaid
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our renderer does not support mermaid. Please include an image (preferably SVG) in your assets directory.

ERCS/erc-7795.md Outdated
3. Independent versioning of requirement types
4. Simpler implementation for basic wallets

## Reference Implementation
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reference implementation section should contain a minimal example implementation of the standard, not usage examples. This content belongs in the specification section, especially considering it's introducing new requirements (with MUST/MAY/etc.)

ERCS/erc-7795.md Outdated

Users already trust their wallet provider to craft, manipulate and send transactions on their behalf. This ERC only adds a new field to the transaction request, which the wallet can use to make more informed decisions about transaction construction.

DApps **MAY** opt out of using this feature if they wish to handle requirement fulfillment themselves.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requirements should only be introduced in the specification section.

Copy link

github-actions bot commented Dec 8, 2024

The commit e49930c (as a parent of 9bbd734) contains errors.
Please inspect the Run Summary for details.

@github-actions github-actions bot added the w-ci label Dec 8, 2024
@github-actions github-actions bot removed the w-ci label Dec 8, 2024
@ScreamingHawk
Copy link
Contributor Author

Thanks @SamWilsn ! 🙏 I've addressed all comments. Let me know if any further changes are required

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants