Tech Framework
Last updated
Last updated
An AI-powered co-pilot for building, testing, and optimizing smart contracts inside GearUp.
Scrappy is the intelligent assistant embedded across GearUp Studio and GearUp Factory. It’s not just a chatbot — it’s a dynamic AI system that understands contract composition, EVM logic, template schema, and developer workflows. Scrappy enhances both non-technical user experience and developer productivity through contextual awareness, secure interaction, and smart code guidance.
Scrappy is a real-time, context-aware assistant designed to:
Explain smart contract logic in simple terms
Suggest block combinations and fixes
Help with testing and error resolution
Convert natural language to Solidity code
Validate logic, parameters, and deployment safety
Scrappy functions differently in GearUp Studio (for individuals) and GearUp Factory (for developers), adapting based on environment and user intent.
Scrappy is built on a hybrid AI architecture combining several industry-grade models:
Language Model
OpenAI GPT-4, Claude 3 Opus
Natural language understanding
Code Engine
Meta Code Llama, Google AlphaCode
Solidity-specific generation & diagnostics
Vector Embedding
FAISS + OpenAI Embeddings
Fast prompt retrieval & document memory
Contextual Agent
LangChain + RAG (Retrieval Augmented Gen)
Adapts answers to Studio or Factory context
Chain Simulator
Ethers.js + Hardhat Sandbox
Simulates contract output for preview
Security Overlay
GPT Validator + Custom Rule Engine
Scans for known vulnerabilities
Scrappy processes user input using semantic parsing and passes it through contextual decision logic to determine whether the task involves text, logic, Solidity code, templates, deployment, or testing.
In GearUp Studio, Scrappy serves as a no-code enabler:
Prompt examples:
"What does LiquidityProvisionBlock do?"
"Make me a basic token with 10% tax"
"Will this contract run every 24 hours automatically?"
In GearUp Factory, Scrappy operates in a more technical role:
Prompt examples:
"Add a time-lock function to this ERC20"
"Why is this onlyOwner
function unsafe?"
"Write a constructor with tax and treasury inputs"
Scrappy understands where you're working and adapts accordingly:
Studio (Blocks)
Contract block schema, user params
Studio (Deploy)
Wallet role, testnet vs mainnet
Factory (Code Editor)
Contract syntax, dependency tree
Factory (Test Mode)
Execution logs, gas traces
It doesn't just answer — it thinks within your workspace.
Scrappy cannot deploy contracts — it only suggests or simulates
No wallet data or private keys are processed or stored
Security-level prompts are reviewed through rule-based scanning before displaying outputs
Uses LLM “content filtering” for safe generation in shared environments
Scrappy is also integrated with internal AI review pipelines, allowing contracts generated or influenced by Scrappy to be flagged for manual audit before being published or deployed.
Scrappy integrates with the Hardhat local environment to simulate:
Token transfers
Contract execution flows
Gas costs under different conditions
Reverts and function edge cases
Simulations return readable summaries like:
🚧 Coming soon to Scrappy:
Real-time audit scoring and AI-powered risk scorecard
Full-code template generation from one-line prompts
Collaborative prompts (multiple users working on same logic)
Voice-based commands for Studio interactions
Scrappy is built to support the entire smart contract lifecycle — from beginner questions to advanced Solidity optimization.
Whether you're building with blocks or writing line by line, Scrappy is the smartest teammate in Web3.
Scrappy. Built on AI. Trained for DeFi. Made for builders.