Skip to content

Instantly share code, notes, and snippets.

View sandywall26's full-sized avatar

Eko sandy waluyo sandywall26

View GitHub Profile
@sandywall26
sandywall26 / gid:xraR7bT82AyLzBTzmnNyZZ
Created June 10, 2022 20:19
gid:xraR7bT82AyLzBTzmnNyZZ
gid:xraR7bT82AyLzBTzmnNyZZ
@sandywall26
sandywall26 / .deps...npm...@openzeppelin...contracts...access...Ownable.sol
Created February 8, 2022 17: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.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
@sandywall26
sandywall26 / README.txt
Created September 11, 2021 13:55
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.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
REMIX EXAMPLE PROJECT
Remix example project is present when Remix loads very first time or there are no files existing in the File Explorer.
It contains 3 directories:
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name.
2. 'scripts': Holds two scripts to deploy a contract. It is explained below.
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity.
SCRIPTS