MetroLogic / MetroLogic/yieldforge_contract
SC: Develop Stablecoin Staking Smart Contract
- Dominant language
- No language data
- Stars
- 1
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Description: Create a Soroban smart contract for YieldForge to allow users to stake stablecoins (e.g., USDC) in a single-asset pool and track their balances.
Tasks:
Write a Rust-based contract for staking (deposit/withdraw stablecoins).
Define parameters: user address, amount, asset (e.g., USDC).
Test deposit/withdrawal on testnet with a sample stablecoin.
Acceptance Criteria:
Contract allows users to deposit and withdraw stablecoins on testnet.
User balances are correctly tracked and retrievable.
Contract handles Stellar trustlines for the stablecoin.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the Soroban contract entry point and the existing test setup, since no files or tests are named in the issue. Read the project’s current contract structure and determine how testnet deployment and the sample stablecoin are handled. Done means deposit and withdrawal work on testnet, balances are retrievable, and the contract handles the stated stablecoin trustlines.
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
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100