OpenZeppelin / OpenZeppelin/stellar-contracts

🎁 [Feature Request]: Smart Accounts enhancements

Open
#514 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
95
Forks
68
Avg merge
4d 42m
Merged PRs (30d)
20

Description

What is the feature you would like to see?

This is issue is to keep track of proposals for new features, interface modifications and any other enhancements and proposals not related to the smart contract modules that has the potential to contribute to a broader adoption of smart accounts.

Core Contract
  1. Refactor Delegated signers to take advantage of the changes proposed in CAP-71 (given this proposal gets approved and included in a next protocol upgrade)
  2. Adopt an approach where expired context rules are automatically pruned (e.g. using temporary storage by following the pattern in fungible token approvals)
  3. SDK streamlining the interactions with smart accounts on the client side (similar to what's previously done in passkey-kit)
  4. Increase the max cap of context rules in a smart account (set to 15 atm)
Verifiers
  1. Add a new function to query metadata on verifiers. This will be helpful on the client side by improving auditability. The External signer contains the verifier contract and key data bytes, but how those bytes are to be presented by clients depends on off-chain logic (app-specific or indexing).
  2. Modify the reference webauthn (passkey) verifier to account for credential id.
Policies
  1. Policies are the most opinionated piece of the framework so some guidelines of how to implement new policies might be useful

Resources:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

This is a broad tracking issue rather than a single implementation task. Start by reviewing the unchecked proposals in packages/accounts, CAP-71, the webauthn verifier at examples/multisig-smart-account/webauthn-verifier/src/contract.rs, and the smart account documentation; completion criteria are not defined for the remaining items.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
blockchain
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.