Several Soldity Examples. (Up Home)
You can copy-paste the examples in: play editor or remix
Also see: Oracle Examples
| Demo application | Link | Github | Video |
|---|---|---|---|
| SimpleStorage | simplestorage | ||
| Hello World | helloworld | ||
| Get Set Emit | getsetemit_ln | getsetemit | |
| Transfer | transfer_github | ||
| Arrays | arrays | ||
| Mapping | mapping | ||
| Types | types | ||
| Visibility | visibility | ||
| Memory Storage | memory_storage | ||
| Worked Hours | workedhours | workedhours_video | |
| ToDoList | todolist_github | ||
| Ballot | ballot_github | ||
| Travel agency | ta_github | ||
| Auction | auction_github | ||
| Mini casino: bet and win | casino | casino1_github casino2_github |
|
| Natspec | natspec | ||
| bytes2uint | bytes2uint |
| Demo application | Github |
|---|---|
| Remix Error | remix_error |
| Remix Modifier | remix_modifier |
| Remix Memory | remix_memory |
| Remix Functions | remix_functions |
| Demo application | Github |
|---|---|
| Global types | sol6_globaltypes |
| Abstract | sol6_abstract |
| Address external | sol6_addressexternal |
| Fallback Receive | sol6_fallbackreceive |
| Library | sol6_library |
| Override | sol6_override |
| Override multiple | sol6_overridemultiple |
| Shadowing | sol6_shadowing |
| Try Catch | sol6_trycatch |
| Natspec | sol6_natspec |
| Slice | sol6_slice |
| Demo application | Link | Github |
|---|---|---|
| Log your location (check-in) | location | location_github |
| Faucet | w3e_faucet | w3e_faucet_github |
| Demo application | Github |
|---|---|
| Automated Market Maker | amm |
| Error message in solidity 8.4 | error |