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

[WIP] New generic interface for smartcontracts #26

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

AntonMeep
Copy link
Collaborator

A work-in-progress new interface for any kind of smartcontracts + reworked wallet interfaces
It's features:

  • Infinitely extensible - no unnecessary constraints are placed on any component, everything will be composed of simple and clear interfaces
  • Will easily support uncommon scenarios - multi-sig wallets, highload wallets with no seqno, and so on and so forth
  • Hides private keys from the pesky developer - I'm trying to make it as hard as possible for the end dev to misuse keys: leak them through a stupid object mapper in an api, flash it in the logs with a toString(), etc.
  • Actually handling private key as a luxury, not a necessety - it will be possible to query information about contracts, such as walletseqno and such without actually needing to know their private key. First of all this will make it possible to only request user's authorization when actually needed (wallet apps) and second of all it will enable developers to use the same API for both already deployed and yet-to-be deployed contracts

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

Successfully merging this pull request may close these issues.

1 participant