Coder Social home page Coder Social logo

l1zle / fullstack-blockchain-tutorial Goto Github PK

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

This is a full-stack blockchain project that enables users to deploy and interact with basic smart contracts through a localhosted website. The project facilitates the deployment of smart contracts and their integration with a frontend interface for seamless interaction with the blockchain.

License: MIT License

Solidity 17.59% JavaScript 80.76% HTML 1.65%
blockchain blockchain-technology fullstack-development solidity

fullstack-blockchain-tutorial's Introduction

Blockchain Fullstack Project

Description

This is a full-stack blockchain project that enables users to deploy and interact with basic smart contracts through a localhosted website. The project facilitates the deployment of smart contracts and their integration with a frontend interface for seamless interaction with the blockchain.

Features

  • Deployment of basic smart contracts
  • Integration with a frontend interface
  • Interaction with deployed contracts through a localhosted website
  • Testing functionality with Hardhat
  • Gas estimation and USD cost estimation
  • Automatic verification of contracts on Etherscan

Installation

  1. Clone the repository.
  2. Install dependencies using Yarn: yarn install

Usage

  1. Deploy the smart contracts: yarn hardhat deploy
  2. Test the contracts: yarn hardhat test
  3. Connect to a testnet: yarn hardhat deploy --network sepolia
  4. Run scripts for funding or withdrawal: yarn hardhat run scripts/fund.js or yarn hardhat run scripts/withdraw.js
  5. Verify contracts on Etherscan: yarn hardhat verify --constructor-args arguments.js DEPLOYED_CONTRACT_ADDRESS

Environment Setup

  • Set SEPOLIA_RPC_URL and PRIVATE_KEY as environment variables. You can add them to a .env file.
  • Obtain testnet ETH from faucets.chain.link and ensure it shows up in your Metamask.

Support

For help or inquiries, feel free to reach out via [email protected] or open an issue in the repository.

License

This project is licensed under the MIT License.

fullstack-blockchain-tutorial's People

Contributors

l1zle avatar

Stargazers

 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.