This is a simple blockchain application developed using Remix, Ganache-cli, Web3, and Bootstrap. The application allows users to create a new block on the blockchain and view the transactions that have taken place on the blockchain.
- Install
Node.js
on your computer. - Install Ganache-cli by running the following command:
npm install -g ganache-cli
- Clone the repository to your local machine.
- Navigate to the project directory and install the required packages by running the following command:
npm install
- Start Ganache-cli by running the following command:
ganache-cli
-
Deploy the solidity contract in
Remix
using the Dev - Ganache environment. Set theGanache JSON-RPC Endpoint:
tohttp://127.0.0.1:8545
. -
Copy the
abi
from Remix and set it as theabi
in theapp.js
file. -
Copy the deployed contract address from Remix and set it as the
contractAddress
in theapp.js
file.
- Retrieve the current instructor's name and age.
- Set the new instructor's name and age.
- Remix - a web browser-based IDE for writing and testing smart contracts.
- Ganache-cli - a command-line tool for running a personal Ethereum blockchain for development purposes.
- Web3 - a JavaScript library for interacting with the Ethereum blockchain.
- Bootstrap - a CSS library for building responsive and mobile-first websites.
This project is licensed under the MIT License. See the LICENSE file for more information.