Giter Site home page Giter Site logo

lasborne / firsttest Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 3.79 MB

This is a first attempt at full Stack, non-copied web3 development using Solidity, JavaScript (Nodejs, Web3js), Reactjs, Ganache, Truffle etc. StakeDAO simply does simple ERC-20 operations

License: MIT License

firsttest's Introduction

stakedao_fullstack

This is a first attempt at full Stack, non-copied web3 development using Solidity, JavaScript (Nodejs, Web3js), Reactjs, Ganache, Truffle etc. StakeDAO simply does simple ERC-20 operations. A user will have to spin up the local development blockchain developed by Ganache In the command line, go into the file downloaded. Then, run the command 'npm start' (or use yarn as the case may be). Open up another terminal and run the command 'npm run server' (This is responsible for running MOCK JSON server) where private Keys are stored. Optional: You can also open another terminal and run the command 'npm run servers' (This is responsible for running the MOCK JSON server- local json file) where input e-mails are stored.

Note: these entered e-mails are stored in the file 'emails.json' present in the 'public' folder of app.

When the site is loaded, you can use this private Key '09d46000c025249b9e7e67fc84067a6d9b77c985f589cd1732879d88fbcdb7b7' or '0x09d46000c025249b9e7e67fc84067a6d9b77c985f589cd1732879d88fbcdb7b7' (both will work fine) to log in as the admin. However, to login as a user, you can use any other Ethereum private Key

Note: Do not use the private key of any account that has funds in it, or you intend using in future

Currently, within the contract address '0x09c015babc742e2f18fea28061f5050859970759', there are only 900000 STK tokens because 100k was reserved, should in case original funds gets drained. To make things easier, here are 2 private keys from Ganache, that can be used to login to the user page of the local website 'cd2b7df69056b3ddeea4da7dc57f6c78520dbcdca36f669354ddf722b689b4db, a8f3c485cc149f42abe78237b89521eda69cb495092c4b687f8a351636eae9a7', with their corresponding Eth addresses as '0x3295c3cea69197ee13222556A67082a5F7093dEd, 0x4852b8F4917Ec026Cc84c046A3432D8A303E41d7' respectively. These private keys are used to login.

Note: This is purely for testing purpose and to demonstrate my web3 skills, and should not be used for any other thing.

Also, this may be only understood by blockchain developers, developers (frontend and backend) or persons with experience coding. Newer versions wil be released where more persons can easily interact with the dAPP. Reach out to me on twitter- @mic_lasborne, or email: [email protected], discord- lasborne#3065 for feedback. Negative criticism, corrections are welcome!

firsttest's People

Contributors

lasborne avatar

Watchers

James Cloos avatar  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.