Skip to content

Nikos-Salichos/Solidity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Solidity-Smart-Contracts

LearningPath folder contains my learning path in solidity while i was doing the following course: https://www.udemy.com/course/the-complete-solidity-course-blockchain-zero-to-expert/

In SmartContracts folder you can find all smart contracts that i have develop on my own.

You can test all smart contracts functionality at: https://remix.ethereum.org/

Airdrop Smart contract that can be used to airdrop token to wallets.

Book Registration Smart contract for sharing books in library.

Calculator

  • A classic calculator using SafeMath lib (not need after v8.0).

CarRental

  • Smart contract that can add renters, allow/restrict a renter to rent a car, calculate rental time, proceed payments etc.

Crownfunding

  • Smart contract that can set to a beneficiary and people can donate to it. Depend on the deployment addresses it can be used a custodian or non-custodian smart contract.

Crud All CRUD (create/read/update/delete) of a product in a smart contract written in solidity.

CryptoToken

  • It is a full project consists of the following smart contracts: Ownable, Authorizable, Pausable, CryptoCoin, CryptoTokenSale, Airdrop and Staking (under development). It has all the basic functions of ERC20 token with extra advanced functions of authorizable, pausable and ownable smart contracts. In addition with the use of CryptoTokenSale you can exchange CryptoCoin for other tokens. Furthermore with the use of Airdrop you can airdrop your token in multiple wallets. Currently i develop Staking smart contract that will implements all the functions regarding staking a token.

Get Reserves in Solidity(Example Uniswap V2)

  • An example with interface of UniswapV2Factory , function getReserves from Uniswap for Weth and Dai.

Shared Wallet

  • It is a wallet that you can deposit any ERC20 token and you can give authorization to other addresses to spend your ERC20 tokens.

TimelockCrypto

  • Deposit crypto and lock them for a specific duration.

Escrow

  • Deploy smart contract with both buyer and seller addresses. Buyer can use deposit function, to deposit an amount and then confirm delivery to receive the product. Buyer cannot confirm delivery before he deposits an amount.

Poll Contract

  • Create polls and register voters (age required). Each voter can vote only once in each poll. Get selected poll results. Object Oriented Programming (OOP) approach in code.

Lottery Contract

  • Everyone can join lottery (minimum amount 0.01 ether). Oracle contract increase the difficulty of getRandomNumber function. You have the ability to see past winners based on lotteryId.

Ticketing

  • A ticketing system.

Reactor

  • It is a game that everyone can deposit and there a chance to send a specific amount to totalBalanceToClaim. In addition each deposit has a chance to cause meltdown (10% amount burn, 25% send back to each player based on player's total amount, 65% send to player who caused meltdown). Finally each deposit has a chance to add amount to a public balance that the fastest player can withdraw!

NewNft

  • You can mint your own NFT following the steps below:
  1. Create IPFS repo
  2. Start IPFS Daemon
  3. Add image to IPFS
  4. Add JSON file to IPFS like this: { "name": "My NFT", "description": "This is my NFT", "image": "link to ipfs image", }
  5. Add file to IPFS

Releases

No releases published

Packages

No packages published