GithubHelp home page GithubHelp logo

web3tester2023 / cryptoeggs_frontend Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kokecacao/cryptoeggs_frontend

0.0 0.0 0.0 4.98 MB

Breed your own Cryptomon!

Home Page: https://kokecacao.me/cryptoeggs

Shell 0.17% JavaScript 3.52% Jupyter Notebook 29.31% EJS 67.00%

cryptoeggs_frontend's Introduction

CryptoEggs Frontend

Installing Web Server

Installation: yarn or yarn install (they are the same). This will generate yarn.lock and establish this project using yarn and install all dependencies

It is recommended that you put both the contract directory and frontend directory side by side. In doing so, you should have your /artifacts linked. This /artifacts directory is generated when you compile your contract. For example, to link compiled /artifacts to current directory, run the following code in this current top-level directory.

ln -s /home/koke_cacao/Documents/Koke_Cacao/Solidity/Workspace/CryptoEggs_hardhat/artifacts ./artifacts

or preferably

ln -s ../CryptoEggs_hardhat/artifacts ./artifacts

Also, make sure you change your contract address in app.js.

Running WebServer

To launch the server

  • yarn start
  • yarn start --hostname 0.0.0.0 (to run on server)

Check list before launching the server:

  • your contract is updated to blockchain
  • your contract is compiled to /artifacts
  • /artifacts is linked to front-end
  • contract address is updated in front-end

cryptoeggs_frontend's People

Contributors

kokecacao avatar

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.