Solidity Samples
Solidity programming language samples, smart contracts for Ethereum.
Related Repositories
References
Ethereum
- The Complete Tutorial On Getting Started With Smart Contracts On Ethereum
- What is Ethereum?
- Learn Ethereum
- The Hitchhiker’s Guide to Smart Contracts in Ethereum
- Programming Ethereum smart contract transactions in JavaScript
- Ethereum Virtual Machine Awesome List
- A curated list of awesome Ethereum Resources
- A Gentle Introduction to Ethereum Programming, Part 1
- A Gentle Introduction to Ethereum Programming, Part 2
- A Gentle Introduction to Ethereum Programming, Part 3
- Ethereum Dev Cheatsheet
- CryptoZombies is a free, interactive code school that teaches you to build games on Ethereum
- Beether
- Getting started with Ethereum as a developer
- Getting Started as an Ethereum Web Developer
- A Guide to Gas
- Understanding the ethereum trie
- Data structure in Ethereum | Episode 1: Recursive Length Prefix (RLP) Encoding/Decoding
- Data structure in Ethereum | Episode 1+: Compact (Hex-prefix) encoding
- Data structure in Ethereum | Episode 2: Radix trie and Merkle trie
- Data structure in Ethereum | Episode 3: Patricia trie
- Data structure in Ethereum | Episode 4: Diving into examples
- Skewed Merkle Trees
- Ethereum 69: how to set up a fully synced blockchain node in 10 mins
- State Channels for Dummies: Part 5
- Ethereum Explained: Merkle Trees, World State, Transactions, and More
- The 11 Best Sources for Ethereum News and Learning
- Improving Smart Contract development with Tenderly and human readable stack traces
- Ethereum Under the Hood: Part-1 (ver 0.1)
- Ethereum Under the Hood- Part 2 (RLP Encoding)
- Ethereum Under The Hood Part 3 (RLP Decoding)
- A Guide to Gas
- A Definitive List of Ethereum Developer Tools
- Ethereum’s EIP 2/4: 15 Second Block Target
- The business of sending transactions on Ethereum
- EVM Evolution Roadmap
- Ethereum Yellow Paper Walkthrough: Merkle Trees
- Role Based Access Control for the Ethereum Blockchain
- How does Ethereum work, anyway?
- A guide to Ethereum’s ERC standards
- Diving into Ethereum’s world state
- The Ethereum Virtual Machine (EVM) Runtime Environment
- How does Ethereum work, anyway?
- Mastering The Fundamentals of Ethereum (For New Blockchain Devs) Part III — Wallets, Keys, And Accounts
- Ethereum Development Crash Course Part One
- Data Convergence — Blockchain — Blockchain Developer Tools
Solidity
- Documentation
- Learning Solidity (videos)
- Solidity Contracts
- Application Binary Interface Specification
- Solidity Baby Steps
- How to initialize an empty array and push items into it?
- What is the memory keyword? What does it do?
- A curated list of awesome Solidity resources, libraries, tools and more
- Solidity REPL
- Remix
- Interaction between Contracts
- How can I debug a smart contract?
- What is the difference between an internal/external and public/private function in solidity?
- external vs public best practices
- internal keyword in a function definition in Solidity
- Doxity Documentation Generator for Solidity
- Solidity doc generator
- Markdown documentation generator for Solidity
- Solidity Common Patterns
- Thinking in Solidity
- Solidity tips and tricks to save gas and reduce bytecode size
- Solidity CRUD- Epilogue
- Getting Loopy with Solidity
- Solidity Collections
- [Testing and Code Coverage of Solidity Smart Contracts](https://medium.com/edgefund/testing-and-code-coverage-of-solidity-smart-contracts-660cb6291701
- Which custom data structures do you use in Solidity?
- Ethernaut Lvl 0 Walkthrough: ABIs, Web3, and how to abuse them
- Deconstructing a Solidity Contract — Part II: Creation vs. Runtime
- Solidity for Beginners
- “Stack Too Deep”- Error in Solidity
- Better Solidity debugging: stack traces are finally here
- Fixed point math in Solidity
- Solidity Library for Array of Type Address
external
vspublic
best practices- Solidity 0.6: You Might Be Sending Ether Incorrectly
- Introduction into Mutation Testing
- Math in Solidity (Part 5: Exponent and Logarithm)
- A brief analysis of the new try/catch functionality in Solidity 0.6
Contracts
- How to Code Your Own CryptoKitties-Style Game on Ethereum
- How to call a contract method using the eth_call JSON-RPC API
- Smart Contract Patterns
- Writing upgradable contracts in Solidity
- Legal Design Patterns in Smart Contracts
- Mad blockchain science: A 100% upgradeable contract
- EVM Assembly Tricks
- Lottery as a Smart Contract: The Business Logic
- Creating Smart Contracts with Smart Contract
- How to Write Upgradeable Smart Contracts with Truffle 5.0 and ZeppelinOS 2.0
- zepcon0 - ZeppelinOS - Upgradeability by Elena Nadolinski
- Smart Contracts: A Simple Guide — Part 1
- Writing Smart Contracts with Solidity > 0.5
- Dapp
- Compiling and deploying Ethereum Smart Contracts with pure JavaScript
- Crypto Wars
- Parity’s Checklist for Secure Smart Contract Development
- A simple blockchain application for data verification
- Smart contract vs “token”-based systems
- Smart Contract Explained by Demonstration
- How to write a simple token contract in Solidity
Geth
- An Introduction to Geth and Running Ethereum Nodes
- Set up an Ethereum development network in two minutes
- Ethereum : How to setup a local test node with initial ether balance using geth
Web3JS
- Web3JS 1.x Documentation
- New Contract
- Calling your first Smart Contract function with Web3 and Angular5
- Web3JS 0.2x Documentation
- 03. Web3.js Tutorial - Attach a GUI to your Ethereum Smart Contract
- 04. Capturing Smart Contract Events in our User Interface (Solidity)
Truffle
- Truffle Framework
- Truffle Tutorials
- PetShop Tutorial
- Building Robust Smart Contracts with OpenZeppelin
- Truffle Boxes
- How Truffle Works Under the Hood
- Debugging Smart Contracts with Truffle Debugger: A Practical Approach
- Unit Testing: Build a Decentralized Domain Name System on Top of Ethereum
- Introduction to the Truffle Suite and Dapp Development Pipeline
- Test Driven Solidity with Truffle
- Solidity and TDD - How to build a smart contract
- Managing Ethereum Smart Contract Events with Drizzle
- Getting Started with Drizzle and React
- Handy helper functions for Solidity Development with Truffle
- How to Write Complex Truffle Migrations
Dapps
- Dapps for Beginners
- Tips and Tricks for Adding Metamask to Your UI
- Dip Dapp Doe?—?Anatomy of an Ethereum distributed fair game (part 1)
- Introducing ZepKit: the easiest way to start your decentralized application
- Designing the architecture for your Ethereum application
- DApp Development for Python Programmers
Explorers
Tokens
- What is An Ethereum Token: The Ultimate Beginner’s Guide
- ERC20 Token Standard
- ERC20 Token Standard: A Beginners Guide
- ERC20
- Ethereum's ERC-20 Token Standard Has Been Formalized
- ERC20 Standard Token Explorer
- ERC: Non-fungible Token Standard #721
- Ethereum Based Tokens
- Ethereum smart service payment with tokens
- How To Write A Smart-Contract For Your ICO? An Ultimate guide
- The Innards of an ERC20 Token
CryptoKitties
- CriptoKitties
- CriptoKitties White Paper
- How to Code Your Own CryptoKitties-Style Game on Ethereum
- CryptoKitties
- CryptoKitties: Collectible and Breedable Cats Empowered by Blockchain Technology
- Source Code
- Code From EtherScan
- The Inside Story of the CryptoKitties Congestion Crisis
- Hacking the CryptoKitties Genome
- CryptoKitties, Explained … Mostly