Skip to content

Instantly share code, notes, and snippets.

Avatar
🎢
Keep moving...

Abraham Anak Agung padunk

🎢
Keep moving...
View GitHub Profile
@padunk
padunk / contracts...MFC.sol
Created Jul 25, 2021
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.6.12+commit.27d51765.js&optimize=false&runs=200&gist=
View contracts...MFC.sol
pragma solidity ^0.6.7;
contract MyFirstContract {
uint256 number = 0;
string[] names;
mapping(string => uint) public phoneNumbers;
function addPhoneNumber(string memory _name, uint _number) public {
phoneNumbers[_name] = _number;
}
View gist:24c77efda14a400d5929227364ccae73
package main
import (
"net/http"
"database/sql"
"fmt"
"log"
"os"
)