Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add injected client to content script #69

Merged
merged 14 commits into from
Jul 4, 2024
Merged

Conversation

0xtsukino
Copy link
Collaborator

@0xtsukino 0xtsukino commented Jun 18, 2024

This PR will inject a client to each tab for dapp to interact with the extension.

const client = await window.tlsn.connect();
const history = await client.getHistory();

// history contains list of metadata from notarization history (method, url, notary url, proxy url)
  • add injected client
  • add connect flow
  • add get history
  • add get proof
  • add notarize
  • add install plugin
  • add call plugin

@0xtsukino 0xtsukino marked this pull request as ready for review July 3, 2024 19:36
@0xtsukino 0xtsukino merged commit 585a8f2 into main Jul 4, 2024
0 of 2 checks passed
@heeckhau heeckhau deleted the contentscript branch August 22, 2024 09:06
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