SkydioWeb3Template is a blockchain application template for Next.js that ships with a full project management toolchain: ESLint, Prettier, Husky, commit message linting, and TypeDoc documentation generation. It is a public GitHub repository by renancorreadev, written entirely in TypeScript, that aims to give web3 developers a solid starting point for building decentralized applications with web3.js.
What is SkydioWeb3Template?
SkydioWeb3Template is a boilerplate for blockchain apps built on Next.js, the React framework, with web3.js for blockchain interactions and TypeScript as the language. It takes a developer's idea for a dApp and provides a pre-configured project structure, so the developer does not have to set up tooling like linting, formatting, or git hooks from scratch. The template runs on Node.js and is meant to be used as a GitHub template or cloned directly.
Key Features
- Next.js - The template is based on Next.js, giving you server-side rendering, static site generation, and a file-based routing system for web apps.
- TypeScript - All source code is written in TypeScript, bringing static type checking to blockchain development and editor tooling like autocompletion.
- web3.js - The template integrates web3.js, the Ethereum JavaScript API, so you can connect to nodes, send transactions, and interact with smart contracts.
- ESLint - ESLint is pre-configured to catch syntax errors, unused variables, and common mistakes in your JavaScript and TypeScript code.
- Prettier - Prettier is set up for consistent code formatting, so every file follows the same style rules without manual adjustments.
- Husky - Husky installs git hooks, letting you run linting and tests automatically before every commit and push.
- Commit processor - A commit message linter is included to enforce conventional commit formats, making your project history cleaner and easier to read.
- TypeDoc - TypeDoc generates HTML documentation from TypeScript comments, so you can maintain up-to-date API docs automatically.
Who is it for?
- Web3 developers who want to bootstrap a dApp frontend without spending time configuring build tools and code quality checks.
- TypeScript developers who prefer a statically typed codebase for blockchain logic and want a template that respects that choice.
- Open source contributors who value a clean commit history and enforced code standards through Husky and commit linting.
- Developers learning web3.js who want a minimal, well-structured example of how to integrate web3.js with Next.js and TypeScript.
Use cases
- dApp frontends: Use the template to scaffold a React-based interface that talks to Ethereum-compatible blockchains via web3.js.
- Smart contract demo apps: Build a small app that reads contract data or sends transactions, using the bundled web3.js setup.
- Project setup for teams: Start a new web3 initiative with a consistent code quality baseline, so every commit follows the same rules.
- Documentation-driven development: Generate API documentation automatically with TypeDoc by adding comments in your TypeScript source files.
FAQ
Is SkydioWeb3Template free?
Yes, the template is published as a public GitHub repository, so you can view, copy, and use the source code for your own projects. The license terms are not specified in the provided content, so check the repository for the exact license.
The project management settings include ESLint for code linting, Prettier for formatting, Husky for git hooks, a commit processor for enforcing commit message conventions, and TypeDoc for generating documentation from TypeScript comments.
Does it use web3.js?
Yes, web3.js is included as a topic and part of the template's purpose. The template is designed for blockchain applications using the web3.js library.
What framework does it use?
The template uses Next.js, a React framework. This is confirmed by the "nextjs" topic associated with the repository.
Is it written in TypeScript?
Yes, the primary language of the repository is TypeScript, which means the template source is fully typed.