luiztools / solidity-examples

Solidity tutorials.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

solidity-examples

Simple Solidity examples. Use the respective readmes to know more about the projects.

Adapter Pattern

A simple adapter pattern implementation for upgradeable contracts.

Blockchain Local HardHat

A simple example of how to run a local/privat blockchain with HardHat.

CRUD Solidity HardHat

A CRUD example in Solidity (HardHat).

CRUD Solidity Truffle

A CRUD example in Solidity (Truffle).

Hello Solidity HardHat

A first Solidity project (HardHat).

Hello Solidity Truffle

A first Solidity project (Truffle).

Multitoken ERC-1155 Remix

An ERC-1155 multitoken contract built with Remix and Solidity.

Multitoken ERC-1155 HardHat

An ERC-1155 multitoken contract built with HardHat, OpenZeppelin and Solidity.

NFT ERC-721 HardHat

An ERC-721 NFT contract built with HardHat, Solidity and OpenZepellin.

NFT ERC-721 Remix

An ERC-721 NFT contract built with Remix and Solidity.

NFT ERC-721 Truffle

An ERC-721 NFT contract built with Truffle, Solidity and OpenZepellin.

Ownable & AccessControl Patterns

A simple ownable and access control patterns implementations for contracts with administrative functions.

Protocolo DeFi Remix

A simple DeFi protocol written in Solidity based on ERC-20 spec and OpenZeppelin contracts.

Protocolo Liquidity Mining Remix

A simple Liquidity Mining protocol written in Solidity based on ERC-20 spec and OpenZeppelin contracts.

Protocolo Staking Remix

A simple Liquidity Mining protocol written in Solidity based on ERC-20 spec and OpenZeppelin contracts.

Proxy Pattern HardHat

A simple proxy pattern implementation for upgradeable contracts with HardHat and OpenZeppelin.

Reentrancy Attack Remix

A simple Reentrancy Attack example with solutions.

Stablecoin Fiat Remix

A simple stablecoin fiat implementation with Remix.

Token ERC-20 HardHat

An ERC-20 Token built with HardHat, Solidity and OpenZepellin.

Token ERC-20 Remix

An ERC-20 Token built with Remix and Solidity.

Token ERC-20 Truffle

An ERC-20 Token built with Truffle, Solidity and OpenZepellin.

Uniswap Integration

A simple Uniswap v3 integration example written in Solidity based on official documentation.

Wrapped Token

Two simple Wrapped Token implementations in Solidity based on ERC-20 spec and OpenZeppelin contracts.

About

Solidity tutorials.

License:MIT License


Languages

Language:Solidity 51.9%Language:TypeScript 41.1%Language:JavaScript 7.0%