GithubHelp home page GithubHelp logo

widepiperkenny's Introduction

WidePiper Smart Contracts Development Guide

Welcome to the WidePiper project repository! This guide will help you get started with setting up and running tests for the smart contracts using the Foundry smart contract development framework.

Prerequisites

Before you begin, ensure you have the following installed:

Setup

  1. Clone the repository:

    git clone https://github.com/kennisnutz/WidePiper
  2. Navigate to the root directory of the cloned repository:

    cd WidePiper
  3. Create a .env file in the root directory:

    touch .env
  4. Register for an RPC API key for the Ethereum mainnet on Alchemy (or any other provider of your choice) and save the API key as MAINNET_RPC_URL in the .env file:

    MAINNET_RPC_URL=<your-alchemy-api-key>
    

Running Tests

To run the tests for the WidePiper smart contracts, follow these steps:

  1. Ensure you are in the root directory of the repository.

  2. Run the tests using the Foundry framework with the following command:

    forge test --fork-url <mainnet-rpc-url>

    Replace <mainnet-rpc-url> with the Ethereum mainnet RPC URL you obtained from Alchemy or your chosen provider.

That's it! You've successfully set up and run tests for the WidePiper smart contracts using the Foundry smart contract development framework.

Additional Resources

If you encounter any issues or have questions, feel free to reach out to the WidePiper development team or community for assistance.

Happy coding! ๐Ÿš€

widepiperkenny's People

Contributors

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