OpenZeppelin / OpenZeppelin/stellar-contracts

Use `ownable` in all examples

Open
#225 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Currently all example crates restrict access to certain admin functions by manually defining and implementing ownership.

Re-work them so that they all make use of stellar_ownable.

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

Start by locating all example crates and the manual ownership implementations they currently use. Compare them with the existing stellar_ownable integration, then verify that every example uses stellar_ownable for restricting admin functions and that the examples still build successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
blockchain
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.