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

Research transactions simulation on the verifier #69

Open
Kirqkas opened this issue Jan 28, 2025 · 2 comments
Open

Research transactions simulation on the verifier #69

Kirqkas opened this issue Jan 28, 2025 · 2 comments
Assignees

Comments

@Kirqkas
Copy link
Collaborator

Kirqkas commented Jan 28, 2025

Simulate and validate plugin-initiated transactions to enforce user-defined plugin policy during co-signing of transactions.
The verifier server acts on the user's behalf and should always validate whether a given proposed transaction conforms to the policy.
In the case of the DCA policy, it should check if the from, to, amount, etc. in the transaction are correct.

related vultisig/vultiserver-plugin#28

@Kirqkas
Copy link
Collaborator Author

Kirqkas commented Feb 7, 2025

4 days needed

@Mihail-Genchev
Copy link
Collaborator

At this stage there will be added these validations:

  • Policy Validation: zero addresses checks , source token address is different than destination token address, chain ID, amount.
  • Transaction validation: chain ID matches policy, Destination address checks, Gas limit and gas price checks, total amount, method signature validation.

Transaction history query and blockchain state query can be added later.

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

No branches or pull requests

2 participants