Skip to content

You can find some handy examples of Solidity contracts here! I hope they will be inspirational!

License

Notifications You must be signed in to change notification settings

eferbarn/Simple-Solidity-Contracts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Solidity Contracts

You can find some handy examples of Solidity contracts here!

⚠️ Disclaimer: Please use these contracts with caution! Always DYOR!

🔮 I hope they will be inspirational!

  • A simple implementation of a DAO
  • Modified on Sunday, October 29, 2023

  • ⚠️ Use with Caution; Since the Ethereum blockchain and its derivatives are considered deterministic systems, this type of implementation lacks reliable randomness, in other words, we don't have a VRF (Verifiable Random Function). Therefore, it's better not to use this kind of implementation if you have contracts that handle significant amounts of money.
  • Modified on Sunday, October 29, 2023

  • Relative to a simple random approach, this method is better as it is both cost-effective and highly reliable. If you do not want to use tools like ChainlinkVRF, this method will help you.
  • Modified on Sunday, October 29, 2023

4. 💳 Crowdfunding

  • This contract has the capability for you to attract capital through crowdfunding and accept any desired token as the base token.
  • Modified on Wednesday, November 01, 2023

5. 💞 Lovers Q&A

  • Ask a question and simultaneously send the question and its answer in secret and hashed form to the contract. Now it's your partner's turn to respond to your question. This contract has the capability for you to pose any number of questions within it, and your partner can respond to those questions. Whenever a question concludes (whether your partner answered it correctly or incorrectly), you can ask the next question.
  • Modified on Wednesday, November 01, 2023

  • Want to send lots of NFTs but got confused? No worries! Just deploy this contract and pass the NFT contract address through the constructor!
  • Modified on Thursday, November 09, 2023

  • Everything is as the same as 6. Batch NFT Transfer, but for ERC1155 standard!
  • Modified on Thursday, November 09, 2023

8. 🧑‍🎨 Eternal Art Gallery

  • Your users can define artworks and artists, connect jpegs, etc. Then you can show off your eternal gallery to the world.
    • Also, you can set a price for every individual artwork and collectors can purchase them at your desired price.
    • Included artist royalties
  • Modified on Tuesday, November 07, 2023

  • A simple marketplace to list, buy, and sell NFTs (Available for both ERC721 and ERC1155)
  • Modified on Tuesday, November 07, 2023

  • A pro-evaluated version of the Simple NFT Marketplace, which supports Multiple Payment Token, Artists royalties, Marketplace Royalties, etc.
  • Modified on Tuesday, November 07, 2023

11. 🚰 Distributor

  • This distributor can distribute gas (ether) or specific ERC20 tokens.
    • After deploying, provide receiving addresses and corresponding shares to the distribute function!
    • Can be deployed on all EVM-based networks.
  • Modified on Tuesday, November 07, 2023

12. ䷺ Disperse App

  • Deploy the famous disperse app on every EVM-based network you want!
  • Modified on Tuesday, Thursday 09, 2023