As mentioned in aibtcdev/landing-page#119
Add a map to identity-registry-v3 (or a companion contract):
(define-map agent-id-by-owner principal uint)
Updated on register / register-with-uri. Enables:
(get-agent-id-by-owner 'SPKH9AWG0ENZ87J1X0PBD4HETP22G8W22AFNVF8K) ;; => (some u0)
This is essential for any flow where you start with an address and need the agent-id (which is every flow).
As mentioned in aibtcdev/landing-page#119
Add a map to identity-registry-v3 (or a companion contract):
(define-map agent-id-by-owner principal uint)Updated on register / register-with-uri. Enables:
(get-agent-id-by-owner 'SPKH9AWG0ENZ87J1X0PBD4HETP22G8W22AFNVF8K) ;; => (some u0)This is essential for any flow where you start with an address and need the agent-id (which is every flow).