THE NEW CORNER. 💩
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
solidity-stringutils @ 4c36b49
.gitmodules
LICENSE
README.md
bbnm.sol

README.md

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