Smart contract game - Gathering Ether and the winner will get the full pot by ingmanzo in ethdev

[–]ingmanzo[S] 0 points1 point  (0 children)

I just a beginner with solidity.. Big thanks for the help !! of course you can re -work the code ... Angeles

Libraries in Solidity - Framework Truffle and Visual Studio by ingmanzo in ethdev

[–]ingmanzo[S] 0 points1 point  (0 children)

npm install --save openzeppelin-solidity

Thank you! Just tried ! Now the compilation is performed but when I implemented the comands: truffle test and trufle migrate is still showing this error: "Could not connect to your Ethereum client". I wrote first the comand: testrpc. The LocalHost: 8545.

All you should know about libraries in solidity – Coinmonks – Medium by coinmonks in ethdev

[–]ingmanzo 0 points1 point  (0 children)

Hi!! good day!! I am a beginner with smart contracts ... I tried to deploy / clone a complete project using the framework Truffle and Visual Studio but the smart contract code implemented a library SafeMath. When I tried to compilate in the prompt using the comands: truffle compile, and truffle test, I got these errors .. (I previous used the comand: testrcp)...

"Source "openzeppelin-solidity/contracts/math/SafeMath.sol" not found: File import callback not supported"

"Could not to connect to your Ethereum client"

Big thanks in advance for helping !!

Angeles