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

proxy is a trampoline that can be used on other blockchains #8

Open
bennetyee opened this issue Oct 8, 2024 · 0 comments
Open

proxy is a trampoline that can be used on other blockchains #8

bennetyee opened this issue Oct 8, 2024 · 0 comments

Comments

@bennetyee
Copy link

function makeProxyTx(

the makeProxyTx and proxy functionality are pretty distinct: makeProxyTx uses the "EOA" private key managed by this KMaaS contract instance, and proxy does not, with the exception of nonce manipulation.

the nonce management has issues mentioned elsewhere (#5).

we should split this into two contracts. the makeProxyTx capable one would be running on a confidential smart contract blockchain such as sapphire, and the proxy implementing contract would be running on any ethereum-compatible blockchain. now, the makeProxyTx one has to do nonce management by itself, and the proxy one only trampolines the call to the real one, but with msg.sender being the "EOA" key being managed by the KMaaS contract. now we have a new capability: the sapphire chain can do complex authorization policies for contracts that did not have notions for such built in, e.g., m-out-of-n signer threshold authorization, at least one signature from each of m (typically disjoint) key sets, etc.

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

1 participant