基于区块链的毕业设计ethgc: ethereum gift card – 以太坊礼品卡

本文提供基于区块链的毕业设计国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,基于区块链的毕业设计ethgc: ethereum gift card – 以太坊礼品卡 是一篇很好的国外资料

ethgc: ethereum gift card

ethgc.com

To learn more about redeeming or creating cards, see ethgc.com/docs.

Development environment

If you’d like to contribute to the project, awesome – thanks!

git clone --recurse-submodules https://github.com/hardlydifficult/ethgc.git cd ethgc  npm i 

this uses postinstall to install all packages in the monorepo

Now you can jump into the specific project of interest as described below. We use Zenhub to manage the backlog, but you are welcome to make any change and open a PR for discussion.

Website

cd website npm run dev 

This will open a tab with the ethgc website running locally. Any changes you make should auto-refresh the page.

Note that this will not include the website /docs

Documentation

cd docs npm run dev 

This will open a tab with the docs website running locally. Any changes you make should auto-refresh the page.

Contract

cd contract npm run dev 

This will compile contracts and run the test suite. Run this anytime you change a contract, the library, or one of the tests.

Library

At the moment, the library does not have any tests of its own. If you change the library, you can test using the contract tests or by interacting with the website.

Build Process

When changes are submitted, the following steps are performed:

  • auto-lint

    CI will lint the files. If --fix was able to make corrections, it will commit the changes and restart the build. If there’s a lint error which can’t be auto-fixed then the build fails.

  • Test

    All contract tests, which implicitly test the library as well, must pass or the build fails.

    At the moment the only tests we have are the contract tests.

  • Delpoy contracts

    CI will deploy the contract to all testnets if anything changed.

  • Build website

    CI will build the website for production – both the main ethgc site as well as the docs site.

  • Push changes

    CI will push the latest website and artifacts if all the other steps complete successfully on the master branch.

The website and docs are static files after they are built. Hosted by Github Pages with Cloudflare CDN fronting requests. All the data / network requests use the Infura APIs.

Additionally we are using the following Github bots:

  • Mergify: a configurable bot to automatically merge PRs
  • Renovate and Dependabot: creates a PR anytime a dependency updates
  • imgBot: creates a PR anytime an image can be losslessly compressed
  • WIP: add “WIP” to the title of a PR to block it from being merged

ethgc:ethereum礼品卡

ethgc.com

要了解有关兑换或创建卡的更多信息,请参阅ethgc.com/docs

开发环境

如果你想为这个项目做出贡献,太棒了-谢谢

git clone --recurse-submodules https://github.com/hardlydifficult/ethgc.git cd ethgc  npm i 

这使用postinstall安装monorepo中的所有软件包

现在您可以跳转到感兴趣的特定项目,如下所述。我们使用Zenhub管理积压工作,但欢迎您进行任何更改并打开PR进行讨论

网站

cd website npm run dev 

这将打开一个选项卡,其中ethgc网站在本地运行。您所做的任何更改都会自动刷新页面

注意,这将不包括网站/docs

合同

cd docs npm run dev 

这将打开一个选项卡,其中docs网站在本地运行。您所做的任何更改都会自动刷新页面

构建过程

cd contract npm run dev 

这将编译契约并运行测试套件。无论何时更改合同、库或其中一个测试,都可以运行此命令

Library

目前,该库没有自己的测试。如果更改库,则可以使用契约测试或与网站交互进行测试

Build Process

提交更改时,将执行以下步骤:

  • 自动lint CI将删除文件。如果–fix能够进行更正,它将提交更改并重新启动构建。如果存在无法自动修复的lint错误,则生成失败
  • 测试所有契约测试(隐式测试库)必须通过,否则构建失败。目前我们仅有的测试是合同测试
  • 如果有任何更改,Delpoy contracts CI将把契约部署到所有测试网
  • 建立网站CI将建立用于生产的网站-包括ethgc主网站和docs网站
  • 推送更改如果所有其他步骤在主分支上成功完成,CI将推送最新的网站和工件

此外,我们正在使用以下Github机器人:

Additionally we are using the following Github bots:

  • Mergify:一个可配置的机器人,用于自动合并PR
  • 更新和可靠性OT:在依赖项更新时创建PR
  • imgBot:在图像可以无损压缩时创建PR
  • WIP:在PR标题中添加“WIP”以阻止其合并

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

www.interchains.cc

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

区块链毕设网(www.interchains.cc)全网最靠谱的原创区块链毕设代做网站 部分资料来自网络,侵权联系删除! 最全最大的区块链源码站 ! QQ3039046426
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » 基于区块链的毕业设计ethgc: ethereum gift card – 以太坊礼品卡

提供最优质的资源集合

立即查看 了解详情