Guest User

Untitled

a guest
Nov 21st, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. pragma solidity ^0.4.2;
  2.  
  3. import './Bar.sol';
  4.  
  5. contract Foo{
  6.  
  7. function createBar(){
  8.  
  9. Bar bar = new Bar();
  10. }
  11. }
  12.  
  13. pragma solidity ^0.4.2;
  14.  
  15. contract Bar{
  16.  
  17. }
  18.  
  19. var Bar = web3.eth.contract(abi).at(eventAddress);
  20.  
  21. truffle develop
  22.  
  23. compile
  24.  
  25. migrate [network develop/ropsten...]
  26.  
  27. test
Add Comment
Please, Sign In to add comment