Git Product home page Git Product logo

liuhuxian / web3-examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from luzhenqian/web3-examples

0.0 0.0 0.0 10.53 MB

欢迎来到 Web3 世界,这里汇集了大量 Web3 示例项目和高质量学习资源。加入我们,和一百万开发者同行,一起探索并塑造未来世界的繁荣景象。立刻行动,开启您的 Web3 之旅!

Home Page: https://examples.web3doc.xyz

JavaScript 18.05% TypeScript 66.27% CSS 0.23% Solidity 15.45%

web3-examples's Introduction

目录

Web3 示例项目

本仓库包含了一系列涵盖前端、智能合约和后端的 Web3 示例代码,旨在帮助开发者快速学习和应用到实际项目中。我们提供了多种常用场景的示例代码。

在线预览

预览地址:https://examples.web3doc.xyz

社区交流

如果你对 Web3 感兴趣,想从事 Web3 开发或探讨相关话题,请添加 Web3 布道师 Noah 的微信:LZQ20130415,将邀请你加入高质量的 Web3 交流群。

环境准备

由于部分服务可能需要翻墙访问,或依赖于需要翻墙的服务(如 Google 验证码),建议确保你的网络环境可以科学上网。

以下是几个可靠的科学上网工具推荐:

请注意,以上工具仅供学习使用。若利用这些工具从事违法犯罪行为,我们概不承担任何法律责任。

本地运行

前端

前端代码位于 frontend 目录下。在运行之前,请确保完成以下准备工作:

  1. .env.example 文件重命名为 .env,并补充完整配置信息。
  2. 至少在 alchemy 上申请一个 API Key。

接下来,安装依赖并启动项目:

npm i
npm run dev

智能合约

智能合约代码位于 contract 目录下。在运行之前,请确保完成以下准备工作:

  1. .env.example 文件重命名为 .env,并补充完整配置信息。
  2. 至少在 infura 上申请一个 Project Key。

然后,你可以使用 truffle 进行智能合约开发。

学习资源

为了帮助你更好的学习,我们整理了一份学习资源列表。如果你有新的资源推荐或发现列表中的资源已过时或质量不佳,请通过 issue 通知我们更新。

DApp & Solidity 智能合约学习资源

其他综合学习资源

区块链相关学习资源

白皮书

以下是几个重要项目的白皮书链接:

官方文档

以下是一些常用工具和库的官方文档链接:

书籍

以下是一些推荐的区块链和 Web3 相关书籍:

铭文协议

招聘平台

中文区

英文区

撸毛

qna3.ai

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.