Skip to content

feat(audit-trail): initialize wasm client and integrate into context - #192

Open
alexruzenhack wants to merge 3 commits into
feat/audit-trail-configfrom
feat/audit-trail-wasm
Open

feat(audit-trail): initialize wasm client and integrate into context#192
alexruzenhack wants to merge 3 commits into
feat/audit-trail-configfrom
feat/audit-trail-wasm

Conversation

@alexruzenhack

@alexruzenhack alexruzenhack commented May 19, 2026

Copy link
Copy Markdown
Contributor

Description of change

This PR integrates the @iota/audit-trail WASM client into the Explorer's global state. This is required to decode and verify on-chain Audit Trail objects and events in the upcoming UI views.

Key Features and Changes

  • Client Initialization: Added createAuditTrailClientReadOnly to instantiate the WASM client.
  • Context Integration: Injected auditTrailClient into the TrustFrameworkProvider so it can be consumed globally via hooks.

How the change has been tested

  • Verified the context provider initializes without throwing errors on load.

@alexruzenhack
alexruzenhack requested a review from a team as a code owner May 19, 2026 16:26
@vercel

vercel Bot commented May 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
rebased-explorer Ready Ready Preview, Comment Jun 15, 2026 5:51pm
5 Skipped Deployments
Project Deployment Actions Updated (UTC)
apps-ui-kit Ignored Ignored Preview Jun 15, 2026 5:51pm
iota-evm-bridge Skipped Skipped Jun 15, 2026 5:51pm
iota-multisig-toolkit Skipped Skipped Jun 15, 2026 5:51pm
iota-names Skipped Skipped Jun 15, 2026 5:51pm
wallet-dashboard Skipped Skipped Jun 15, 2026 5:51pm

Request Review

@vercel
vercel Bot temporarily deployed to Preview – wallet-dashboard May 19, 2026 16:26 Inactive
@vercel
vercel Bot temporarily deployed to Preview – iota-evm-bridge May 19, 2026 16:26 Inactive
@vercel
vercel Bot temporarily deployed to Preview – iota-multisig-toolkit May 19, 2026 16:26 Inactive
@vercel
vercel Bot temporarily deployed to Preview – iota-names May 19, 2026 16:26 Inactive
@alexruzenhack
alexruzenhack marked this pull request as draft May 19, 2026 17:55
@vercel
vercel Bot temporarily deployed to Preview – iota-evm-bridge May 20, 2026 11:11 Inactive
@vercel
vercel Bot temporarily deployed to Preview – iota-names May 20, 2026 11:11 Inactive
@vercel
vercel Bot temporarily deployed to Preview – wallet-dashboard May 20, 2026 11:11 Inactive
@vercel
vercel Bot temporarily deployed to Preview – iota-multisig-toolkit May 20, 2026 11:11 Inactive
@alexruzenhack
alexruzenhack marked this pull request as ready for review May 20, 2026 11:32
@alexruzenhack
alexruzenhack force-pushed the feat/audit-trail-wasm branch from b1873e9 to 516c2c1 Compare May 21, 2026 16:44
@vercel
vercel Bot temporarily deployed to Preview – iota-names May 21, 2026 16:44 Inactive
@vercel
vercel Bot temporarily deployed to Preview – iota-evm-bridge May 21, 2026 16:44 Inactive
@vercel
vercel Bot temporarily deployed to Preview – iota-multisig-toolkit May 21, 2026 16:44 Inactive
@vercel
vercel Bot temporarily deployed to Preview – wallet-dashboard May 21, 2026 16:44 Inactive
@alexruzenhack
alexruzenhack force-pushed the feat/audit-trail-config branch from 7a694ae to fb93c95 Compare May 29, 2026 09:26
@alexruzenhack
alexruzenhack force-pushed the feat/audit-trail-wasm branch from 516c2c1 to cf0cc41 Compare May 29, 2026 09:41
@vercel
vercel Bot temporarily deployed to Preview – wallet-dashboard May 29, 2026 09:41 Inactive
@vercel
vercel Bot temporarily deployed to Preview – iota-evm-bridge May 29, 2026 09:41 Inactive
@vercel
vercel Bot temporarily deployed to Preview – iota-multisig-toolkit May 29, 2026 09:41 Inactive
@vercel
vercel Bot temporarily deployed to Preview – iota-names May 29, 2026 09:41 Inactive
@alexruzenhack alexruzenhack self-assigned this May 29, 2026
@alexruzenhack
alexruzenhack force-pushed the feat/audit-trail-wasm branch from cf0cc41 to dae80f7 Compare June 15, 2026 15:42
@vercel
vercel Bot temporarily deployed to Preview – iota-multisig-toolkit June 15, 2026 15:57 Inactive
@vercel
vercel Bot temporarily deployed to Preview – iota-names June 15, 2026 15:57 Inactive
@vercel
vercel Bot temporarily deployed to Preview – iota-evm-bridge June 15, 2026 15:57 Inactive
@vercel
vercel Bot temporarily deployed to Preview – wallet-dashboard June 15, 2026 15:57 Inactive
@alexruzenhack
alexruzenhack force-pushed the feat/audit-trail-wasm branch from dae80f7 to d9c8c8e Compare June 15, 2026 17:33
@vercel
vercel Bot temporarily deployed to Preview – iota-evm-bridge June 15, 2026 17:33 Inactive
@vercel
vercel Bot temporarily deployed to Preview – wallet-dashboard June 15, 2026 17:33 Inactive
@vercel
vercel Bot temporarily deployed to Preview – iota-multisig-toolkit June 15, 2026 17:33 Inactive
@vercel
vercel Bot temporarily deployed to Preview – iota-names June 15, 2026 17:33 Inactive
@vercel
vercel Bot temporarily deployed to Preview – iota-evm-bridge June 15, 2026 17:49 Inactive
@vercel
vercel Bot temporarily deployed to Preview – iota-names June 15, 2026 17:49 Inactive
@vercel
vercel Bot temporarily deployed to Preview – wallet-dashboard June 15, 2026 17:49 Inactive
@vercel
vercel Bot temporarily deployed to Preview – iota-multisig-toolkit June 15, 2026 17:49 Inactive

@evavirseda evavirseda left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small nits 🙏

}

throw new Error(
'Failed to create a AuditTrailClientReadOnly; declare IOTA_AUDIT_TRAIL_PKG_ID and IOTA_TF_COMPONENTS_PKG_ID environment if running on a custom network.',

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit 🙏

Suggested change
'Failed to create a AuditTrailClientReadOnly; declare IOTA_AUDIT_TRAIL_PKG_ID and IOTA_TF_COMPONENTS_PKG_ID environment if running on a custom network.',
'Failed to create a AuditTrailClientReadOnly; declare IOTA_AUDIT_TRAIL_PKG_ID and IOTA_TF_COMPONENTS_PKG_ID environment variables if running on a custom network.',


export const IOTA_IDENTITY_PKG_ID = import.meta.env.VITE_IOTA_IDENTITY_PKG_ID;
export const IOTA_NOTARIZATION_PKG_ID = import.meta.env.VITE_IOTA_NOTARIZATION_PKG_ID;
export const IOTA_AUDIT_TRAIL_PKG_ID = import.meta.env.VITE_IOTA_AUDIT_TRAIL_PKG_ID;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VITE_IOTA_AUDIT_TRAIL_PKG_ID and VITE_IOTA_TF_COMPONENTS_PKG_ID shouldnt be in the .env.example¿

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.

3 participants