I hereby claim:
- I am eduadiez on github.
- I am eduadiez (https://keybase.io/eduadiez) on keybase.
- I have a public key ASCQgoj-FFlgQhFh1_Usv1uelo2IajplBagO-lHoO7BkZAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Web3 = require('web3') | |
var web3 = new Web3("ws://localhost:8546"); | |
var SWTabi = [{ "constant": true, "inputs": [], "name": "name", "outputs": [{ "name": "", "type": "string" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "name": "_spender", "type": "address" }, { "name": "_amount", "type": "uint256" }], "name": "approve", "outputs": [{ "name": "success", "type": "bool" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "creationBlock", "outputs": [{ "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "totalSupply", "outputs": [{ "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "name": "_from", "type": "address" }, { "name": "_to", "type": "address" }, { "name": "_amount", "type": "uint256" }], "name": "transfer |
[ | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "name", | |
"outputs": [ | |
{ | |
"name": "", | |
"type": "string" | |
} |
# 1.- Download genesis | |
curl -O http://www.lethon.tk:9074/lethon.json | |
# 2.- Initialize | |
$HOME/Library/Application\ Support/Ethereum\ Wallet/binaries/Geth/unpacked/geth --datadir=$HOME/.lethon init lethon.json | |
# 3.- Create account | |
$HOME/Library/Application\ Support/Ethereum\ Wallet/binaries/Geth/unpacked/geth --datadir=$HOME/.lethon account new | |
# 4.- Init Ethereum Wallet |
admin.startRPC("127.0.0.1", 8888, "*", "admin,db,eth,debug,miner,net,shh,txpool,personal,web3,web3_extended") | |
personal.unlockAccount(eth.accounts[0]) |
You would need to open the console (CMD/CTRL + ALT + i) and type:
CustomContracts.find().fetch() CustomContracts.remove('id')
CustomContracts.remove(CustomContracts.find().fetch()[0]._id)