Skip to content

bcnmy/gasdaddy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Biconomy License MIT Hardhat Foundry

Codecov Hardhat Coverage Codecov Foundry Coverage

Smart Contract Template Base πŸš€

Open in GitHub Codespaces

This repository serves as a comprehensive foundation for smart contract projects, streamlining the development process with a focus on best practices, security, and efficiency.

πŸ“š Table of Contents

Features

  • Smart Contract Template Base: A robust foundation for future smart contract projects.
  • Hardhat & Foundry Support: Equipped with both Hardhat and Foundry tools and an adapted folder structure for seamless development.
  • Best Practices: Adheres to industry best practices in smart contract programming to ensure code quality and security.
  • Continuous Integration & Deployment: Utilizes GitHub Actions for automated testing and deployment, ensuring code reliability.
  • Strict Linting: Implements Solhint based on the Solidity style guide, enhancing code quality and consistency.
  • Comprehensive Testing: Includes a wide range of tests (unit, fuzz, fork) for both Foundry and Hardhat environments.
  • Environment Configuration: Comes with .env.example for easy setup of API keys and environmental variables.
  • Code Formatting: Uses Prettier to maintain a consistent code style across the project.
  • Configurations for Foundry & Hardhat: Provides essential settings and scripts for building, testing, and deployment, tailored for both development environments.

Getting Started

To kickstart your smart contract development with this template, follow these steps:

Prerequisites

Installation

  1. Clone the repository:
git clone https://github.com/bcnmy/sc-template.git
cd sc-template
  1. Install dependencies:
yarn install
  1. Setup environment variables:

Copy .env.example to .env and fill in your details.

πŸ› οΈ Essential Scripts

Execute key operations for Foundry and Hardhat with these scripts. Append :forge or :hardhat to run them in the respective environment.

πŸ—οΈ Build Contracts

yarn build

Compiles contracts for both Foundry and Hardhat.

πŸ§ͺ Run Tests

yarn test

Carries out tests to verify contract functionality.

β›½ Gas Report

yarn test:gas

Creates detailed reports for test coverage.

πŸ“Š Coverage Report

yarn coverage

Creates detailed reports for test coverage.

πŸ“„ Documentation

yarn docs

Generate documentation from NatSpec comments.

πŸš€ Deploy Contracts

yarn deploy

Deploys contracts onto the blockchain network.

🎨 Lint Code

yarn lint

Checks code for style and potential errors.

πŸ–ŒοΈ Auto-fix Linting Issues

yarn lint:fix

Automatically fixes linting problems found.

πŸš€ Generating Storage Layout

yarn check

To generate reports of the storage layout for potential upgrades safety using hardhat-storage-layout.

πŸ”„ Add :forge or :hardhat to any script above to target only Foundry or Hardhat environment, respectively.

πŸ”’ Security Audits

Auditor Date Final Report Link
Firm Name DD-MM-YYYY View Report
Firm Name DD-MM-YYYY View Report
Firm Name DD-MM-YYYY View Report

πŸ† Biconomy Champions League πŸ†

Welcome to the Champions League, a place where your contributions to Biconomy are celebrated and immortalized in our Hall of Fame. This elite group showcases individuals who have significantly advanced our mission, from enhancing code efficiency to strengthening security, and enriching our documentation.

Champions Roster

🍊 Contributor πŸ›‘οΈ Domain
@user1 Code Optimization
@user2 Security
@user3 Documentation
... ...

Entering the League

Your journey to becoming a champion can start in any domain:

  • Code Wizards: Dive into our Gas Optimization efforts.
  • Security Guardians: Enhance our safety following the Security Guidelines.
  • Documentation Scribes: Elevate our knowledge base with your contributions.

The Champions League is not just a recognition, it's a testament to the impactful work done by our community. Whether you're optimizing gas usage or securing our contracts, your contributions help shape the future of Biconomy.

To Join: Leave a lasting impact in your chosen area. Our Hall of Fame is regularly updated to honor our most dedicated contributors.

Let's build a legacy together, championing innovation and excellence in the blockchain space.

Documentation and Resources

For a comprehensive understanding of our project and to contribute effectively, please refer to the following resources:

License

This project is licensed under the MIT License. See the LICENSE file for details.

Connect with Biconomy 🍊

Website Telegram Twitter LinkedIn Discord YouTube GitHub

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published