Ts Sdk Wallet Adapter

v1.0.0

How to integrate wallet connection in React frontends using @aptos-labs/wallet-adapter-react. Covers AptosWalletAdapterProvider setup, useWallet() hook, fron...

0· 119·0 current·0 all-time
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The name/description (React wallet adapter integration) matches the instructions and examples. All imports and calls shown (wallet-adapter-react, Network, useWallet, signAndSubmitTransaction, waitForTransaction) are consistent with frontend wallet integration.
Instruction Scope
SKILL.md contains only frontend integration instructions and example components. It does not instruct reading system files, environment variables, or transmitting data to unexpected endpoints. (Note: examples reference a local aptos helper module (../lib/aptos) which the integrator must provide; this is a normal implementation detail.)
Install Mechanism
No install spec or downloads are present; the doc recommends installing the official npm package (@aptos-labs/wallet-adapter-react) which is appropriate for the stated task.
Credentials
The skill declares no environment variables or credentials. The guidance explicitly warns against using private keys in the browser, which is appropriate. There are no requests for unrelated secrets or system config.
Persistence & Privilege
The skill does not request persistent or elevated presence (always:false). It's an instruction-only skill and does not modify other skills or system-wide settings.
Assessment
This is an instruction-only guide for adding the Aptos wallet adapter to a React app — it does not include code that runs during install and it asks for no secrets. Before using: 1) verify you install the real @aptos-labs packages on npm (watch for typosquatting or similarly named packages); 2) follow the guidance not to handle private keys in the browser and ensure wallet popups/signing are used; 3) implement the referenced local aptos helper (e.g., waitForTransaction) securely on your app or server; 4) be aware autoConnect: true can automatically reconnect wallets — enable it only if that UX is desired; and 5) confirm compatibility between wallet-adapter and other Aptos SDK versions you use. If you need higher assurance, check the original source repository or official Aptos docs to confirm the examples match upstream guidance.

Like a lobster shell, security has layers — review code before you run it.

latestvk973y0a6gspk2afw8g8xcdawtn835jnn

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Comments