Skip to content

kennisnutz/WidePiper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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! 🚀

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published