百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
E

ethereum-boilerplate

> 前端框架
开源

这是一个极致的 NextJS 以太坊 Dapp 套件,可提供最大的灵活性和速度。欢迎自由地分支和贡献。虽然这个仓库名为 "Eth",

4.1K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

这是一个极致的 NextJS 以太坊 Dapp 套件,可提供最大的灵活性和速度。欢迎自由地分支和贡献。虽然这个仓库名为 "Eth",

ethereum-boilerplate

Fully Typescript ready NextJS components for fast building dApps without running own backend

DEMO: https://eth-boilerplate.vercel.app/

This boilerplate is built with Moralis

You need active web3 provider/wallet only for authentication. All pages in this boilerplate do not require an active web3 provider, they use Moralis Web3 API. Moralis supports the most popular blockchains and their test networks. You can find a list of all available networks in Moralis Supported Chains

Please check the official documentation of Moralis for all the functionalities of Moralis.

⭐️ Star us

If this boilerplate helps you build Ethereum dapps faster - please star this project, every star makes us very happy!

Need help?

If you need help with setting up the boilerplate or have other questions - don't hesitate to write in our community forum and we will check asap. Forum link. The best thing about this boilerplate is the super active community ready to help at any time! We help each other.

Quick Start

Clone or fork ethereum-boilerplate:

git clone https://github.com/ethereum-boilerplate/ethereum-boilerplate.git

Install all dependencies:

cd ethereum-boilerplate
yarn install

✏ Rename .env.local.example to .env.local and provide required data. Get your Web3 Api Key from the Moralis dashboard:

️ Fill the environment variables in your .env.local file in the app root:

  • MORALIS_API_KEY: You can get it here.
  • NEXTAUTH_URL: Your app address. In the development stage, use http://localhost:3000.
  • NEXTAUTH_SECRET: Used for encrypting JWT tokens of users. You can put any value here or generate it on https://generate-secret.now.sh/32.

Example:

MORALIS_API_KEY=xxxx
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=7197b3e8dbee5ea6274cab37245eec212

‍♂️ Run your App:

yarn start

Table of contents

  • ethereum-boilerplate
  • Quick Start
  • Table of contents
  • Ethereum Components
    • <NFTBalances />
    • <ERC20Balances />
    • <ERC20Transfers />
    • <NFTTransfers />
    • <Transactions />
  • ✨ Contributors

Ethereum Components

<NFTBalances />

location: src/component/templates/balances/NFT/NFTBalances.tsx

<NFTBalances /> : displays the user's balances. Uses Moralis Evm API (does not require an active web3 provider).

<ERC20Balances />

location: src/component/templates/balances/ERC20/ERC20Balances.tsx

<ERC20Balances /> : displays the user's ERC20 balances. Uses Moralis Evm API (does not require an active web3 provider).

<ERC20Transfers />

location: src/component/templates/transfers/ERC20/ERC20Transfers.tsx

<ERC20Transfers /> : displays the user's ERC20 transfers. Uses Moralis Evm API (does not require an active web3 provider).

<NFTTransfers />

location: src/component/templates/transfers/NFT/NFTTransfers.tsx

<NFTTransfers /> : displays the user's NFT transfers. Uses Moralis Evm API (does not require an active web3 provider).

<Transactions />

location: src/component/templates/transactions/Transactions.tsx

<Transactions /> : displays the user's transactions. Uses Moralis Evm API (does not require an active web3 provider).

✨ Contributors

Feel free to contribute to ethereum-boilerplate project. But first, please read the Contributing Guidelines before opening an issue or PR so you understand the branching strategy and local development environment.

Made with contrib.rocks.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScriptbsc-boilerplatedapp-boilerplatedapp-exampleethereum

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架