Giter Site home page Giter Site logo

anthonyjamez12 / solidity_learning Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 91 KB

This is a collection of solidity files I created to practice the fundamentals of Solidity, Truffle, and Ganache. I left some comments on returning the functions of the smart contracts after compiling and deploying them to Ganache.

JavaScript 58.16% Solidity 41.84%

solidity_learning's Introduction

This shows you how I install and set up my Dapps for the atom ide for front end and back end. Sorry if this is messy Ill clean it up later

Set Up for Back End

Install NODE JS Install Truffle Install Metamask Install Ganache Install GitBash


Go to GitBash


Owner@DESKTOP-IHSJ5E1 MINGW64 ~ $ mkdir Fifa_NFT/


Owner@DESKTOP-IHSJ5E1 MINGW64 ~ $ cd Fifa_NFT/


Owner@DESKTOP-IHSJ5E1 MINGW64 ~/Fifa_NFT $ truffle init

Starting init...

Copying project files to C:\Users\Owner\Fifa_NFT Init successful, sweet!


C:\Users\Owner\Fifa_NFT\truffle-config.js

 development: {
    host: "127.0.0.1",     // Localhost (default: none)
    port: 7545,            // Standard Ethereum port (default: none)
    network_id: "*",       // Any network (default: none)
},

Set Up for Front End

Owner@DESKTOP-IHSJ5E1 MINGW64 ~/Fifa_NFT $ touch package.json


C:\Users\Owner\Fifa_NFT\package.json

TYPE

{ "name": "fifa-nft-sale", "version": "1.0.0", "description": "Trading Platform for virtual football cards", "main": "truffle.js", "directories": { "test": "test" }, "scripts": { "dev": "lite-server" }, "author": "Anthony James Humphreys", "license": "ISC", "devDependencies": { "lite-server": "^2.3.0" } }


Owner@DESKTOP-IHSJ5E1 MINGW64 ~/Fifa_NFT $ npm install

npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (debug-js/debug#797) npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.1 (node_modules\chokidar\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"ia32"}) npm WARN [email protected] No repository field.

added 194 packages from 252 contributors and audited 195 packages in 4.956s

6 packages are looking for funding run npm fund for details

found 0 vulnerabilities


#Now you are able to type npm run dev, which is how you get your site up


Owner@DESKTOP-IHSJ5E1 MINGW64 ~/Fifa_NFT $ touch bs-config.json


Owner@DESKTOP-IHSJ5E1 MINGW64 ~/Fifa_NFT $ mkdir src/

Owner@DESKTOP-IHSJ5E1 MINGW64 ~/Fifa_NFT $ mkdir src/css/

Owner@DESKTOP-IHSJ5E1 MINGW64 ~/Fifa_NFT $ mkdir src/js/

Owner@DESKTOP-IHSJ5E1 MINGW64 ~/Fifa_NFT $ touch src/index.html


solidity_learning's People

Contributors

anthonyjamez12 avatar

Watchers

 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.