PolyForge

Build, deploy, and iterate smart contracts on Polygon—in seconds, not hours

Visit

About

## Wave 1 submission

### Application Foundation & Quality * Project Kickoff: Bootstrapped with Vite + React + TypeScript, enforcing code quality via ESLint, Prettier, and Husky pre-commit hooks. * Environment: Implemented Zod-validated environment variables and configured for the Polygon Amoy testnet (chain ID 80002). * Error Handling: Established a custom error hierarchy (e.g., `PolyForgeError`, `CompilationError`) for user-friendly messaging and stack trace preservation. * Logging & Metrics: Added a structured JSON logger with user context and production-safe transport. Client-side timer/counter metrics (e.g., `compilation.duration`) were implemented with low overhead. * DevEx & Reliability: Focused on Developer Experience (DevEx) with Vitest unit tests providing > coverage, enforced by pre-commit validation.

---

### Frontend & State Management

* Type Safety: Defined core types (`CompilationResult`, `DeploymentResult`) and Zod schemas for all API inputs. * State Management: Utilized Zustand for centralized state management, covering editor, compilation, deployment, and UI states (e.g., `code`, `isAiPanelOpen`). * UI/UX: Set up React Router and a responsive layout using Tailwind CSS, configured with Polygon brand colors ---

### Solidity Development Environment

* Monaco Editor Integration: Integrated `@monaco-editor/react` with Solidity as the default language, providing syntax highlighting and auto-completion snippets (contract, function). * Code Formatting: Integrated `prettier-plugin-solidity` with a one-click "Format" button and keyboard shortcut (Shift + Alt + F). * Client-Side Compilation: Integrated `solc-js` (WASM) for zero-server, client-side compilation, returning ABI, bytecode, and line-numbered errors/warnings. * Compilation Workflow: Created the `useCompilation` hook to trigger compilation on demand and manage loading/error states in the store. * Error Visualization: Developed a `CompilationErrors` panel that displays errors/warnings; clicking an error navigates the editor to the corresponding line. ---

### Authentication & Web3

* Authentication: Integrated the Privy SDK for social login (Google/GitHub/email) with embedded ERC-4337 wallets and auto-funding on Polygon Amoy. * User State: Connected Privy auth to the Zustand store, persisting user ID, email, and wallet address, and automatically setting the logging context. * Wallet UX: Implemented a Header element that displays a truncated wallet address upon login and toggles between "Sign In" and "Sign Out" with Polygon-themed styling. * Polygon Alignment: The application exclusively targets the Polygon Amoy (PoS) testnet, with a roadmap to support zkEVM and CDK in the future.

## Wave 2 submission

## State Management & UI Foundation - Set up Zustand store with centralized state management - Implemented React Router with proper route structure - Created basic layout components (Header, Sidebar) - Established Tailwind CSS design system with Polygon brand colors - Built reusable UI components (Button, Input, Select, Card, Badge)

## Code Editor Integration

- Integrated Monaco Editor with Solidity language support - Implemented complete Solidity syntax highlighting and tokenization - Added code formatting functionality using prettier-plugin-solidity - Created editor toolbar with compiler version selection and formatting options

## Solidity Compilation

- Integrated Solc WASM compiler for client-side compilation - Created compilation service that extracts ABI and bytecode - Implemented compilation hook connecting compiler service to UI - Built error display panel with line highlighting and click-to-navigate functionality

## Authentication & Wallet Setup

- Integrated Privy authentication with social login options - Set up ERC-4337 smart account wallets via Pimlico - Implemented gas sponsorship for first 5 transactions - Created wallet UI components with address display and copy-to-clipboard functionality - Established session management and user state tracking

Prizes

  • Wave 1 grant · 32.26 USDC
  • Wave 2 grant · 60.4 USDC

From the public Akindo product page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

No public repo linked, so we can't tell.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.