Skip to content

Instantly share code, notes, and snippets.

View 0xdzs's full-sized avatar
🎯
Focusing

0xdzs 0xdzs

🎯
Focusing
  • Singapore
View GitHub Profile
@0xdzs
0xdzs / solidity-tutorial...MyContract.sol
Created December 22, 2021 15:52
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.11+commit.d7f03943.js&optimize=false&runs=200&gist=
// https://www.dappuniversity.com/articles/solidity-tutorial#2
// until Mappings
pragma solidity ^0.5.1;
contract MyContract {
string public constant value = "myValue";
bool public myBool = true;
uint256 public myUint256 = 9999;
uint256 public peopleCount;
uint8 public myUint8 = 8;
@0xdzs
0xdzs / solidity_tutorial...BOOKMARK.md
Created December 22, 2021 10:33
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.4.25+commit.59dbf8f1.js&optimize=false&runs=200&gist=