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
ContractClient.getGuildOwneris currently a stub. Implement the method so developers can fetch guild ownership data from the configured contract.Suggested tasks
rpcUrland contract addressguildIdAcceptance criteria
getGuildOwnerreturns the owner address