You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create scaffolding for the credential_badge Soroban contract inside contracts/sandbox/credential_badge/. This contract lets the hub issue verifiable on-chain badges to members.
Acceptance Criteria
Cargo.toml created with correct Soroban SDK dependency
Overview
Create scaffolding for the
credential_badgeSoroban contract insidecontracts/sandbox/credential_badge/. This contract lets the hub issue verifiable on-chain badges to members.Acceptance Criteria
Cargo.tomlcreated with correct Soroban SDK dependencysrc/types.rsdefinesBadgeType(id, name, description, created_at),Credential(badge_type_id, holder, issued_at, issuer, is_revoked)src/errors.rsdefines:AdminNotSet,AlreadyInitialized,Unauthorized,BadgeTypeNotFound,CredentialNotFound,AlreadyIssued,CredentialRevokedDataKeyenum covers:Admin,BadgeType(String),BadgeTypeList,Credential(String, Address),HolderCredentials(Address)initializeis stubbedcargo build