22389/how-connect-library-smart-contract-from-external-resources
pragma solidity ^0.4.15; import './ERC20.sol'; import './SafeMath.sol';
How connect SafeMath.sol from external(non-local) resourses?
pragma solidity ^0.4.0; import "github.com/OpenZeppelin/zeppelin-solidity/contracts/math/SafeMath.sol"; contract MathExtended { using SafeMath for uint; function exec(uint a, uint b) returns (uint){ return a.add(b); } }
To know more, visit: http://solidity.readthedocs.io/en/develop/layout-of-source-files.html
Yes, the contract is distributed by every node ...READ MORE
To expand on Matthew's answer, each state ...READ MORE
Smart contracts can be definitive if they ...READ MORE
You can do this using a wrapper. ...READ MORE
This was a bug. They've fixed it. ...READ MORE
Summary: Both should provide similar reliability of ...READ MORE
You need to install testrpc globally on ...READ MORE
You include ether to send in the ...READ MORE
You cant access/embed real world data using ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.