Giter Site home page Giter Site logo

rsk-academy-dapp's Introduction

RSK academy dApp

Develop locally

Run these commands:

git clone https://github.com/solangegueiros/rsk-academy-dapp.git
cd rsk-academy-dapp
npm i
truffle compile

Use the file deploy_locally.js located in migrations-TESTs\Locally

In the folder migrations, be sure that you only have the file deploy_locally.js in this folder.

Truffle develop

To develop locally, I'm using only the truffle develop environment.

Truffle develop environment is a blockchain simulator, so you don't need to run a node when use truffle develop

Verify if exists the file .secret If don't exists, create it. It can be empty when you are using truffle develop.

truffle develop
migrate --reset

Run the dApp frontend

cd app

In the first time:

cd app

to run the dApp:

npm run start

In your webwallet, use the same mnemonic from truffle develop.

Deploy on Blockchain

truffle migrate --network testnet --skip-dry-run

Use the files located in folder migrations-TESTs\Testnet.

Copy the file of your choice for the folder migrations,

RSK Testnet addresses V3 Prod - deployed smart contracts

what ...

academyOwner: 0xC2725b31bc77146eDb07b34DaD734a38D2A68277
academyWallet: 0xDA3C24d714f008d0580AE280242381f87E981599

academyProjectList.address: 0x0D3f8b4d2C659B6402F35cd1a73BB8a4B0864C20
academyStudents.address: 0xc24d44eD3CA8d75342f2135B4F1713b9B9589239
academyClassList.address: 0x6800597b6fF5a423002Ff57e58727902BDDE13A6
academyStudentQuiz.address: 0x7eEA02aBFD8cFaF0c6386970A91936471211f5E0

masterName.Address: 0x98A7BeE32B1532F8a8F1ECD72942375C60bc06FF

Devs 2021-01 - class01.address: 0x770a1B1eC8523F98Fe32229b3011cb7A520886bC
Business 2021-01 - class02.address: 0xD2a26e354c3109FAF8F01542362ce5E25C778ad7

rsk-academy-dapp's People

Contributors

solangegueiros 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.