Skip to content

Instantly share code, notes, and snippets.

View DevanshSampat's full-sized avatar
🎯
Focusing

Devansh Sampat DevanshSampat

🎯
Focusing
View GitHub Profile
@DevanshSampat
DevanshSampat / Identity.sol
Created December 8, 2022 04:15
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.5.0 < 0.9.0;
contract Identity {
string name;
uint age;
constructor() {
name="Devansh";
@DevanshSampat
DevanshSampat / Identity.sol
Created December 8, 2022 04:14
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.5.0 < 0.9.0;
contract Identity {
string name;
uint age;
constructor() {
name="Devansh";