...by Daniel Szego
quote
"On a long enough timeline we will all become Satoshi Nakamoto.."
Daniel Szego

Sunday, January 14, 2018

Solidity and Truffle Tips and Tricks - loadScript from Truffle console


Unfortunately working with the Truffle console is sometimes pretty much limited, as an example standard geth functions as loadScript are not really defined. What you can do however is to start the truffle development environment with turffle develop and in a separate terminal start the geth with an attach command, as an example this way:

geth attach http://localhost:9545