Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bbnm(ボブネミ*ッミ)

THE NEW CORNER. 💩

Quickstart

  • Prepare geth and solc.
  • Run a geth dev network.
$ mkdir datadir
$ geth --dev --datadir datadir/
  • Attach the network.
$ geth attach datadir/geth.ipc
  • Build BBNM and get bin and abi.
$ solc --bin --abi bbnm.sol
  • Deploy them to the network from attached geth session.
> bin = "<bin code>"
> abi = <abi json>
> contract = eth.contract(abi)
> BBNM = contract.new({ from: eth.accounts[0], data: bin, gas: 1000000 })
  • Hurt your masters.
> BBNM.mambo.call()
"Your casual \"mambo\" hurt a samba master."
> BBNM.ole.call()
"Your casual \"ole\" hurt a flamenco master."

Reference

About

THE NEW CORNER. 💩

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors