Skip to content

Instantly share code, notes, and snippets.

View padunk's full-sized avatar
🎢
Keep moving...

Abraham Anak Agung padunk

🎢
Keep moving...
View GitHub Profile
@padunk
padunk / contracts...MFC.sol
Created July 25, 2021 11:04
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=
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;
}
package main
import (
"net/http"
"database/sql"
"fmt"
"log"
"os"
)