stark-cdp-with-wallet

Automate Braavos wallet unlock, connect, and transaction approval via Chrome DevTools Protocol.

109|170|Updated Mar 8, 2024
One-click install
npx skills add https://github.com/Scaffold-Stark/scaffold-stark-2 --skill stark-cdp-with-wallet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stark-cdp-with-wallet
Source: https://github.com/Scaffold-Stark/scaffold-stark-2/tree/main/.claude/skills/stark-cdp-with-wallet
Command: npx skills add https://github.com/Scaffold-Stark/scaffold-stark-2 --skill stark-cdp-with-wallet

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill solves the challenge of automating end-to-end blockchain interactions on Starknet that require a real, non-burner wallet, bypassing the need for manual browser extension interaction.

Core Features & Use Cases

  • Headless Wallet Automation: Programmatically unlock, connect, and approve transactions in the Braavos wallet using Chrome DevTools Protocol.
  • Resilient Execution: Handles complex UI states like singleton side-panel reuse, fee estimation loading, and session recovery.
  • Use Case: Use this to automate the testing of a dapp's frontend flow on the Starknet Sepolia network, ensuring that real wallet signing works as expected without human intervention.

Quick Start

Use the stark-cdp-with-wallet skill to launch a persistent Chrome profile and approve the pending transaction request in the Braavos wallet.

Frequently Asked Questions about stark-cdp-with-wallet

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Braavos wallet interactions for Starknet dapp testing?

Automate Braavos wallet interactions for Starknet dapp testing by using Chrome DevTools Protocol to programmatically unlock, connect, and approve transactions without manual extension intervention. The skill manages persistent profiles and handles secure keychain passwords.

Can I use Chrome DevTools Protocol to approve transactions in a Braavos wallet extension?

Yes, you can use Chrome DevTools Protocol to approve transactions in a Braavos wallet extension. The automation handles complex UI states including singleton side-panel reuse, fee estimation loading, and session recovery for resilient execution.

What's the best way to run end-to-end tests on Starknet Sepolia with a real wallet?

The best way to run end-to-end tests on Starknet Sepolia with a real wallet is automating the signing flow via Chrome DevTools Protocol. This bypasses manual extension interaction and validates real wallet signatures without human intervention.

Does automated wallet testing handle Braavos side-panel reuse and session recovery?

Automated wallet testing handles Braavos side-panel reuse and session recovery by applying robust DOM-based UI interaction techniques. It manages persistent Chrome profiles to maintain session states across automated test runs.

Why does my automated Braavos wallet connection fail during fee estimation loading?

Automated Braavos wallet connections can fail during fee estimation loading if the script lacks resilient execution handling. Using Chrome DevTools Protocol with robust DOM-based UI interaction resolves these complex UI state timing issues.