Skip to content

Instantly share code, notes, and snippets.

View saxenanickk's full-sized avatar
🏠
Working from home

Nikhil Saxena saxenanickk

🏠
Working from home
View GitHub Profile
@saxenanickk
saxenanickk / contracts...CryptoKids.sol
Created September 24, 2022 05: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=
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.7;
contract CryptoKids {
// Owner DAD
address owner;
event LogKidFundingReceived(address addr, uint amount, uint contractBalance);
@saxenanickk
saxenanickk / contracts...BikeChain.sol
Created September 24, 2022 05:54
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: GPL-3.0
pragma solidity ^0.8.7;
contract BikeChain {
address owner;
constructor() {
owner = msg.sender;
}