Skip to content

Implement guild owner lookup in ContractClient #12

Description

@Lakes41

ContractClient.getGuildOwner is currently a stub. Implement the method so developers can fetch guild ownership data from the configured contract.

Suggested tasks

  • Define the contract ABI or interface needed for owner lookup
  • Use the configured rpcUrl and contract address
  • Validate guildId
  • Return the owner wallet address
  • Handle missing provider configuration
  • Add tests with mocked contract responses

Acceptance criteria

  • getGuildOwner returns the owner address
  • Invalid or missing config throws a clear SDK error
  • The method is covered by tests

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial CampaignCampaign: Official Campaign

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions