🧰 Harmony Dapp Template – 🧰 和声Dapp模板区块链毕设代写

区块链毕设代写本文提供国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,🧰 Harmony Dapp Template – 🧰 和声Dapp模板区块链毕设代写 是一篇很好的国外资料

🧰 Harmony Dapp Template - 🧰 和声Dapp模板

🧰 Harmony Dapp Template - 🧰 和声Dapp模板

🧰 Harmony Dapp Template

All-in-one forkable dev stack to build your dapp in Harmony 🚀

🧪 Play with contracts and frontend to see how Harmony One works:

🧰 Harmony Dapp Template - 🧰 和声Dapp模板

🚨 How to start use Harmony-dapp-template to create your project on harmony

Video tutorial -> Youtube

🚴 Quick Start

Prerequisites

  • Docker 20.10+
  • Node 12+
  • Yarn
  • Harmony One Wallet Extension
  • Math Wallet Extension
  • Metamask wallet – Learn how to configure to use harmony network

NOTE: Tested on Ubuntu 20.04.2 LTS


Clone/fork 🧰 Harmony Dapp Template:

git clone https://github.com/jotagep/harmony-dapp-template

Once you have repository downloaded, you can follow Auto init or Manual init tutorial

Auto init

This script build & start docker harmony localnet and deploy your contract with Hot reloading, all-in-one command 📡.

cd harmony-dapp-template yarn autoinit

Manual init

Install dependencies and build & start your ⛓️ Harmony Localnet Node:

cd harmony-dapp-template yarn install yarn localnet:build yarn localnet:start

Open a second terminal window, 🛰 deploy your contract:

cd harmony-dapp-template yarn deploy # Localnet by default # But you can deploy in another network: yarn deploy:testnet // yarn deploy:mainnet

or if you want to have Hot Reloading to deploy your contracts on live:

cd harmony-dapp-template yarn deploy:watch

Finally

Open another terminal window, start your 📱 frontend:

cd harmony-dapp-template yarn start # Start your frontend in localhost:3000

🔏 Edit your smart contract Donation.sol in packages/hardhat/contracts

📝 Edit your frontend App.jsx in packages/frontend/src

💼 Edit your deployment scripts in packages/hardhat/deploy

📱 Open http://localhost:3000 to see the app


Start to play with your dapp 🥳 !!

To get 100 ONEs in your wallet on localnet

cd harmony-dapp-template yarn fund 'YOUR_WALLET_ADDRESS' # Example yarn fund one1hru2uxps5z76atvc666v4yqp8r3894wh9uf7qn

Now you have all you need to interact with example dapp, but that’s not all. We decide to add more tasks to Hardhat to simplify your life.

cd harmony-dapp-template yarn hardhat [GLOBAL_OPTION] [AVALIABLE_TASK] # Example: yarn hardhat clean

🧰 Harmony Dapp Template - 🧰 和声Dapp模板

To see this info in your terminal:

yarn hardhat --help

🔛 Deploy in another network

When you want to deploy your contracts in another network: Testnet or Mainnet. You should create .env file based on .example.env and set your private keys.

🧰 Harmony Dapp Template - 🧰 和声Dapp模板

Ship it!

Once you have your project done, you can deployed to live

cd harmony-dapp-template yarn surge # By default your frontend is build on localnet network # You can deploy testnet or mainnet # Example: yarn surge:testnet

📚 Extra Documentation

  • Learn how to use Hardhat Framework
  • Learn Solidity:
    • In depth Documentation
    • By doing a interactive game CryptoZombies
  • Learn React to develop your frontend
  • Learn Harmony One to get complete knowledge about the blockchain and how interact with contracts and wallets.

Checklist for Gitcoin Bountie

  • UI/UX React boilerplate code for DApp
    • Simple UI with Home Page
    • Connection to as many popular wallets as possible
      • OneWallet
      • Mathwallet
    • Simple interaction with demo contract
    • Tests for UI/UX application
  • Smart contract:
    • Something simple but more than Hello World so that it can interact with UX/UI
    • Tests
  • Development environment (CLI):
    • CLI command to create sandbox env for both contract (Ganache) and UX/UI (React) so that it can run on localhost.
    • CLI command to deploy contract to testnet/mainnet.
    • CLI command to run tests for both contract and UX/UI.
  • README:
    • Installation guide (any dependencies etc.)
    • Basic usage on how to run and interact with template.
    • Document CLI.
    • Provide extra resources and “kickstart” documentation links for developers.
    • Document how to deploy React application (simplified).
  • Nice-to-have
    • Would be nice to use tool like cookiecutter to make template customizable with Author, App Name, Software Versions, Tags, Logos and other things that might be non-static.
    • Include CI workflow (probably easiest to use git workflow) to run test on push.

⏱️ Coming soon…

  • Demo Video explanation on how to use the monorepoDONE
  • Support Metamask walletDONE
  • Template generator using Yeoman
  • Support more wallets…

🙏 Inspired by scaffold-eth – Austin Griffith genius 🧞


🧰 Harmony Dapp Template - 🧰 和声Dapp模板

一个可分叉的开发堆栈,构建和谐的dapp🚀

🧰 和声Dapp模板

🧪 播放合同和前端,了解Harmony One的工作原理:

🧰 Harmony Dapp Template - 🧰 和声Dapp模板

🧰 Harmony Dapp Template - 🧰 和声Dapp模板

🚨 如何开始使用Harmony dapp模板在Harmony上创建项目🚴 快速启动

先决条件

自动启动

手动启动

视频教程->Youtube

先决条件

自动启动

  • Docker 20.10+
  • Harmony One钱包扩展
  • 数学钱包扩展
  • 学习如何使用Hardhat框架
  • 学习坚固性:通过互动游戏进行深入文档编制加密僵尸
  • 深入文档

注意:在Ubuntu 20.04.2 LTS上测试🧰 Harmony Dapp模板:


下载存储库后,您可以按照Auto-init或Manual-init教程进行操作;启动docker harmony localnet,并使用热重新加载、一体式命令部署您的合同📡.

git clone https://github.com/jotagep/harmony-dapp-template

安装依赖项和生成&开始你的⛓️ Harmony Localnet节点:

最后

打开第二个终端窗口,🛰 部署您的合同:

cd harmony-dapp-template yarn autoinit

开始使用dapp🥳 !!

或者,如果您希望通过热重新加载在live上部署您的合同:

cd harmony-dapp-template yarn install yarn localnet:build yarn localnet:start

打开另一个终端窗口,启动📱 前端:

cd harmony-dapp-template yarn deploy # Localnet by default # But you can deploy in another network: yarn deploy:testnet // yarn deploy:mainnet

🔏 在packages/hardhat/contracts中编辑您的smart contract捐赠.sol📝 在packages/frontend/src中编辑前端App.jsx💼 在packages/hardhat/deploy中编辑部署脚本📱 打开http://localhost:3000 要查看应用程序,在localnet上的钱包中放入100个应用程序,现在您已经具备了与示例dapp交互所需的全部功能,但这还不够。我们决定在Hardhat中添加更多任务,以简化您的生活

cd harmony-dapp-template yarn deploy:watch

🔛 在另一个网络中部署⛵ 发货

🧰 Harmony Dapp Template - 🧰 和声Dapp模板

cd harmony-dapp-template yarn start # Start your frontend in localhost:3000

要在终端中查看此信息,请执行以下操作:

当您要在另一个网络(Testnet或Mainnet)中部署合同时。您应该基于.example.env创建.env文件并设置私钥

🧰 Harmony Dapp Template - 🧰 和声Dapp模板

一旦您完成了项目,您就可以部署到live


📚 额外文件

🙏 灵感来源于奥斯汀·格里菲斯的天才🧞

cd harmony-dapp-template yarn fund 'YOUR_WALLET_ADDRESS' # Example yarn fund one1hru2uxps5z76atvc666v4yqp8r3894wh9uf7qn

Now you have all you need to interact with example dapp, but that’s not all. We decide to add more tasks to Hardhat to simplify your life.

cd harmony-dapp-template yarn hardhat [GLOBAL_OPTION] [AVALIABLE_TASK] # Example: yarn hardhat clean

🧰 Harmony Dapp Template - 🧰 和声Dapp模板

To see this info in your terminal:

yarn hardhat --help

Gitcoin赏金清单

When you want to deploy your contracts in another network: Testnet or Mainnet. You should create .env file based on .example.env and set your private keys.

🧰 Harmony Dapp Template - 🧰 和声Dapp模板

⏱️ 马上就要来了

Once you have your project done, you can deployed to live

cd harmony-dapp-template yarn surge # By default your frontend is build on localnet network # You can deploy testnet or mainnet # Example: yarn surge:testnet

📚 Extra Documentation

  • 通过互动游戏加密僵尸
  • 学习如何反应以开发前端
  • Learn React to develop your frontend
  • 简单用户界面,主页连接到尽可能多的流行钱包OneWallet Mathwallet

Checklist for Gitcoin Bountie

  • OneWallet
  • CLI命令为contract(Ganache)和UX/UI(React)创建沙盒环境,以便它可以在本地主机上运行
  • 自述:安装指南(任何依赖项等)关于如何运行和与模板交互的基本用法。文档CLI。为开发人员提供额外的资源和“kickstart”文档链接。记录如何部署React应用程序(简化)
  • 为开发人员提供额外的资源和“kickstart”文档链接
  • 支持Metamask钱包-完成✅

⏱️ Coming soon…

  • Demo Video explanation on how to use the monorepoDONE
  • Support Metamask walletDONE
  • Template generator using Yeoman
  • Support more wallets…

🙏 Inspired by scaffold-eth – Austin Griffith genius 🧞

部分转自网络,侵权联系删除区块链源码网

www.interchains.cc

https://www.interchains.cc/24672.html

区块链毕设网(www.interchains.cc)全网最靠谱的原创区块链毕设代做网站 部分资料来自网络,侵权联系删除! 最全最大的区块链源码站 ! QQ3039046426
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » 🧰 Harmony Dapp Template – 🧰 和声Dapp模板区块链毕设代写

提供最优质的资源集合

立即查看 了解详情