https://github.com/eferbarn/simple-solidity-contracts
You can find some handy examples of Solidity contracts here! I hope they will be inspirational!
https://github.com/eferbarn/simple-solidity-contracts
smart-contracts solidity solidity-contracts solidity-dapps solidity-language
Last synced: 6 months ago
JSON representation
You can find some handy examples of Solidity contracts here! I hope they will be inspirational!
- Host: GitHub
- URL: https://github.com/eferbarn/simple-solidity-contracts
- Owner: eferbarn
- License: mit
- Created: 2023-10-28T22:10:01.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-09T11:35:16.000Z (over 2 years ago)
- Last Synced: 2025-03-16T00:17:22.168Z (over 1 year ago)
- Topics: smart-contracts, solidity, solidity-contracts, solidity-dapps, solidity-language
- Language: Solidity
- Homepage: https://github.com/eferbarn/Simple-Solidity-Contracts
- Size: 35.2 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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!
1. ๐ณ Proposals And Voting
* A simple implementation of a DAO
* Modified on Sunday, October 29, 2023
---
2. ๐ฒ Simple "Rand-Between" Contract
* **โ ๏ธ 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
---
3. ๐ฐ Commit/Reveal Schema for "Rand-Between"
* 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
---
6. ๐ Batch NFT Transfer (safeTransferFrom)
* 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
---
7. ๐ Batch NFT Transfer - 1155 Version
* 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
---
9. ๐จ Simple NFT Marketplace
* A simple marketplace to list, buy, and sell NFTs (Available for both `ERC721` and `ERC1155`)
* Modified on Tuesday, November 07, 2023
---
10. ๐ผ Pro NFT Marketplace
* A pro-evaluated version of the [Simple NFT Marketplace](./Contracts/Simple_NFT_Marketplace.sol), 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