abstract-onboard
БесплатноЗапускает вложенные скриптыНе проверенDeploy smart contracts and bridge assets to Abstract (ZK Stack L2). Use when an agent needs to deploy contracts on Abstract, bridge ETH/tokens to Abstract…
от modbender★ 21 звезда на GitHubОб этом скилле
Abstract Onboard
Everything an AI agent needs to operate on Abstract (ZK Stack L2).
🚀 New Agent? Start Here
# Check if you're ready to operate
node scripts/quick-start.js check <your-wallet-address>
# Or get the full setup guide
node scripts/quick-start.js
Quick Start
Create Abstract Global Wallet (AGW)
AGW is a smart contract wallet that earns XP on Abstract. Essential for agents!
⚠️ CRITICAL: Understand the 3 layers first:
Private Key → EOA (signer) → AGW (smart contract wallet)
The correct funding flow:
1. Fund EOA with small ETH (for gas)
2. Create/deploy AGW (EOA pays gas for first tx)
3. Fund AGW with your main balance
4. Everything runs through AGW from now on
export WALLET_PRIVATE_KEY=0x...
node scripts/create-agw.js
Your EOA becomes the signer, AGW is a separate smart contract address.
⚠️ Version Warning: Different agw-client versions may compute different AGW addresses! Always pin your version. See references/agw.md for details.
Check Balances
node scripts/check-balances.js <wallet> all
Bridge ETH to Abstract
export WALLET_PRIVATE_KEY=0x...
node scripts/relay-bridge.js --from base --amount 0.01
Deploy a Contract
export WALLET_PRIVATE_KEY=0x...
node scripts/deploy-abstract.js ./artifacts/MyContract.json "constructor-arg"
Transfer Tokens
export WALLET_PRIVATE_KEY=0x...
node scripts/transfer.js --to 0x... --amount 0.01 # ETH
node scripts/transfer.js --to 0x... --amount 100 --token USDC # Token
Swap Tokens
export WALLET_PRIVATE_KEY=0x...
export DEX_ROUTER=0x... # Set DEX router address
node scripts/swap-tokens.js --from ETH --to USDC --amount 0.01
DEX Trading (Kona & Aborean)
Abstract has multiple DEXs. Use the protocol-specific scripts for best results:
# Kona Finance (V2) - USDC → ETH
export WALLET_PRIVATE_KEY=0x...
node scripts/swap-kona.js
# Aborean (Velodrome-style) - when router is available
node scripts/swap-aborean.js
# Generic Uniswap V2
node scripts/swap-uniswap-v2.js
See references/dex.md for contract addresses and supported pools.
Myriad Prediction Markets
Trade on Myriad Markets — the largest prediction market on Abstract (415K+ users, $100M+ volume).
# List open markets
node scripts/myriad-trade.js list
# Get market details
node scripts/myriad-trade.js info <marketId>
# Buy shares (place a prediction)
export WALLET_PRIVATE_KEY=0x...
node scripts/myriad-buy-direct.js <marketId> <outcomeId> <amount>
# Example: $1 USDC.e on "Yes" for market 765
node scripts/myriad-buy-direct.js 765 0 1
See references/myriad.md for contract addresses, ABI details, and token info.
Call Any Contract
# Read
node scripts/call-contract.js --address 0x... --abi ./abi.json --function balanceOf --args 0x1234
# Write
export WALLET_PRIVATE_KEY=0x...
node scripts/call-contract.js --address 0x... --abi ./abi.json --function transfer --args 0x1234,100 --write
Mint NFT
# Deploy SimpleNFT.sol first, then mint
export WALLET_PRIVATE_KEY=0x...
# Mint to existing contract
node scripts/mint-nft.js --contract 0x... --image QmIPFShash --to 0xRecipient --name "My NFT"
See references/SimpleNFT.sol for a basic NFT contract template.
USDC Operations
# Check USDC balance
node scripts/usdc-ops.js balance <wallet>
# Transfer USDC
export WALLET_PRIVATE_KEY=0x...
node scripts/usdc-ops.js transfer <to> <amount>
# Approve spender
node scripts/usdc-ops.js approve <spender> <amount>
# Check allowance
node scripts/usdc-ops.js allowance <owner> <spender>
Estimate Gas
# Get current gas prices
node scripts/estimate-gas.js
# Estimate transfer cost
node scripts/estimate-gas.js transfer <to> <amount>
# Estimate deployment cost
node scripts/estimate-gas.js deploy <bytecodeSize>
Watch Events
# Watch new blocks
node scripts/watch-events.js blocks
# Watch ETH transfers to/from wallet
node scripts/watch-events.js transfers <wallet>
# Watch ERC20 transfers
node scripts/watch-events.js erc20 <token> <wallet>
# Watch contract events
node scripts/watch-events.js contract <address>
Testnet Setup
# Get faucet instructions
node scripts/testnet-setup.js faucet
# Check testnet balance
node scripts/testnet-setup.js check <wallet>
# Verify testnet setup
node scripts/testnet-setup.js verify <wallet>
Key Information
| Item | Value |
|---|---|
| Chain ID | 2741 |
| RPC | https://api.mainnet.abs.xyz |
| Explorer | https://abscan.org |
| Bridge | https://relay.link/bridge/abstract |
| USDC | 0x84A71ccD554Cc1b02749b35d22F684CC8ec987e1 |
| WETH | 0x3439153EB7AF838Ad19d56E1571FBD09333C2809 |
| Kona Router | `0x441E0627Db5173Da0 |
Установить abstract-onboard в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл abstract-onboard?
Deploy smart contracts and bridge assets to Abstract (ZK Stack L2). Use when an agent needs to deploy contracts on Abstract, bridge ETH/tokens to Abstract, trade/swap tokens, place predictions on Myriad Markets, check balances, transfer assets, or interact with Abstract mainnet. Covers zksolc compilation, Hardhat deployment, Relay bridging, DEX trading (Kona, Aborean), Myriad prediction markets, and key contract addresses.
Как установить скилл abstract-onboard?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл abstract-onboard запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic