Skip to content

docs: add basic attestation integration examples#32

Open
HusseinAdeiza wants to merge 1 commit into
giwa-io:mainfrom
HusseinAdeiza:docs/add-attestation-examples
Open

docs: add basic attestation integration examples#32
HusseinAdeiza wants to merge 1 commit into
giwa-io:mainfrom
HusseinAdeiza:docs/add-attestation-examples

Conversation

@HusseinAdeiza

Copy link
Copy Markdown

Summary

Fills a major gap - adds complete integration examples for Dojang attestations. No examples existed before!

Changes

  • examples/01-basic-attestation/README.md - Complete TypeScript integration guide with:
    • Configuration setup (chainId, contract addresses, schema UIDs)
    • Contract ABIs (EAS, SchemaRegistry, DojangScroll)
    • Working code examples for all attestation operations:
      • Issue address attestation
      • Verify address attestation
      • Query attestations from indexer
      • Revoke attestation
    • Prerequisites and testing instructions

Impact

✅ Enables developers to integrate Dojang quickly
✅ Demonstrates best practices and real-world usage
✅ Reduces integration time from days to hours
✅ Shows proper ABI encoding and error handling
✅ ~10KB of working code examples

Testing

  • ✅ Code examples verified for correctness
  • ✅ Contract addresses and ABIs validated
  • ✅ TypeScript syntax checked
  • ✅ Installation instructions tested

File Statistics

File Size Lines Purpose
examples/.../README.md 9.8KB 336 Integration guide

Thank you for building powerful attestation infrastructure! 🎯

Complete TypeScript examples showing how to issue, verify,
query, and revoke attestations using Dojang on GIWA Testnet.

This fills a major gap - no integration examples existed before.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant