Skip to content

Instantly share code, notes, and snippets.

View anegg0's full-sized avatar

Gaël Blanchemain anegg0

View GitHub Profile
@anegg0
anegg0 / coin
Created October 24, 2019 21:55
Bytecode representation of a subcurrency smart contract
608060405234801561001057600080fd5b50600080546001600160a01b03191633179055610288806100326000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063075461721461005157806327e235e31461007557806340c10f19146100ad578063d0679d34146100db575b600080fd5b610059610107565b604080516001600160a01b039092168252519081900360200190f35b61009b6004803603602081101561008b57600080fd5b50356001600160a01b0316610116565b60408051918252519081900360200190f35b6100d9600480360360408110156100c357600080fd5b506001600160a01b038135169060200135610128565b005b6100d9600480360360408110156100f157600080fd5b506001600160a01b038135169060200135610186565b6000546001600160a01b031681565b60016020526000908152604090205481565b6000546001600160a01b0316331461013f57600080fd5b789f4f2726179a224501d762422c946590d91000000000000000811061016457600080fd5b6001600160a01b03909116600090815260016020526040902080549091019055565b336000908152600160205260409020548111156101e2576040805162461bcd60e51b815260206004820152601560248201527424b739bab33334b1b4b2b73a103130b630b731b2
@anegg0
anegg0 / coin.json
Last active October 24, 2019 21:48
Json representation of a subcurrency smart contract
{
"contractName": "Coin",
"abi": [
{
"constant": true,
"inputs": [],
"name": "minter",
"outputs": [
{
"internalType": "address",

Keybase proof

I hereby claim:

  • I am anegg0 on github.
  • I am anegg0 (https://keybase.io/anegg0) on keybase.
  • I have a public key ASAR5ULncP63K6rkKv60Yg8qGoHcfSIQYq6kLJ610JS11Ao

To claim this, I am signing this object:

3Box is a social profiles network for web3. This post links my 3Box profile to my Github account!
✅ did:muport:QmNwij7C1QG9jiRoWsCS696hrXvFbQjRJp7Zf6KpyHtwPa ✅
Create your profile today to start building social connection and trust online. https://3box.io/
@anegg0
anegg0 / smartContractData.csx
Created February 26, 2019 16:59
Nethereum Workbooks Boilerplate Code
#r "Nethereum.Web3"
#r "Nethereum.Accounts"
using Nethereum.Web3;
using Nethereum.ABI.FunctionEncoding.Attributes;
using Nethereum.Contracts.CQS;
using Nethereum.Util;
using Nethereum.Web3.Accounts;
using Nethereum.Hex.HexConvertors.Extensions;
@anegg0
anegg0 / spacemacs-sheet.md
Last active April 24, 2018 11:50 — forked from robphoenix/spacemacs-cheshe.md
Spacemacs Cheat Sheet

Useful Spacemacs commands

  • SPC q q - quit
  • SPC w / - split window vertically
  • SPC w - - split window horizontally
  • SPC 1 - switch to window 1
  • SPC 2 - switch to window 2
  • SPC w c - delete current window
  • SPC TAB - switch to previous buffer
  • SPC b b - switch buffers
@anegg0
anegg0 / UTC--2015-11-25T05-05-03.116905600Z--12890d2cce102216644c59dae5baed380d84830c
Last active March 20, 2018 02:04
account information for "create a new account" Workbook
{"address":"12890d2cce102216644c59dae5baed380d84830c","Crypto":{"cipher":"aes-128-ctr","ciphertext":"a1c02524d5b9de2b05a265fbec8a3e36d8dfc4920ceef453ebe95b8eb8c70d95","cipherparams":{"iv":"aefddc737e457e8e96ac3d8987dcc444"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":262144,"p":1,"r":8,"salt":"f895a52dfc1520030c739d606fe0a96f75f09892b4c501b5add2cfdc80ba7a2e"},"mac":"fecb89f8e07b1a222d95d71373084f1d69fbbb27f31ef7a92626d64973dbec2e"},"id":"997cce35-189c-4b05-8083-81d4b3dd3f35","version":3}
@anegg0
anegg0 / Nethereum-ChainID-Management-1.png
Last active March 14, 2018 00:06
Nethereum-ChainID-Management-1
Nethereum-ChainID-Management-1.png
0xE7878484ECcF84E95Ec04fDf4a2Ef451686FA527