Coder Social home page Coder Social logo

pierrefrs / base-web3-project Goto Github PK

View Code? Open in Web Editor NEW

This project forked from qiteblock/base-web3-project

0.0 0.0 0.0 288 KB

This repository can help you begin a new project

License: GNU General Public License v3.0

JavaScript 74.13% Solidity 25.87%

base-web3-project's Introduction

Base Web3 Project

This is a basic starter project to help you set up a Solidity development environment using Hardhat. Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software. With Hardhat, you can create and deploy smart contracts, build dApps, and run automated tests for your smart contracts.

Prerequisites

To use this repository, you will need:

  • Node Js >= 16.14.2
  • Yarn >= 1.22.19 or npm >= 8.5.0
  • A blockchain development environment Hardhat

Installation

  1. Clone this repository to your local machine.
  2. Install the required dependencies using npm install or yarn.

Usage

To use this starter project, follow these steps:

  1. Configure your Hardhat network in the hardhat.config.js file. You can choose to use the built-in Hardhat network, or connect to an external network such as Goerli or Mainnet.

  2. Write your Solidity contracts in the contracts/ directory.

  3. Write your tests in the test/ directory. You can use the chai and mocha libraries to write your tests.

  4. Compile your contracts using the following command: npx hardhat compile

  5. Deploy your contracts to the blockchain using the following command: npx hardhat deploy --network goerli Replace goerli with the name of the network you want to deploy to.

  6. Interact with your contracts using the Hardhat console or the ethers.js library.

License

This project is licensed under the MIT License.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.

base-web3-project's People

Contributors

qiteblock avatar pierrefrs 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.