Skip to content

RegoDefies/SmartContracts-Commons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

📝 SmartContracts-Commons

Common Solidity smart contract implementations, utilities, and examples for learning, experimentation, and reuse.

📂 Repository Structure

  • Simple Shared Wallet
    Example of a wallet contract allowing multiple users to share and manage funds.
  • _Simple Contracts
    Basic Solidity contract samples to illustrate core language features.
  • .gitignore
    Standard ignore file for Solidity/Node projects.

🚀 Getting Started

  1. Clone the repository

    git clone https://github.com/RegoDefies/SmartContracts-Commons.git
    cd SmartContracts-Commons
  2. Install dependencies (if using Hardhat/Truffle in your environment)

    npm install
  3. Compile contracts

    npx hardhat compile

    or

    truffle compile
  4. Run tests

    npx hardhat test

    or

    truffle test

🔑 Requirements

📖 Use Cases

  • Educational material for Solidity learners
  • Reference implementations for quick prototyping
  • Commons library for experimenting with smart contract design patterns

🤝 Contributing

Feel free to fork this repo, submit PRs, or open issues with ideas for new reusable contracts.

📜 License

This repository is licensed under the MIT License — see LICENSE for details.

About

Reusable Solidity smart contracts for Ethereum — wallets, utilities, and examples

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published