When writing tests in truffle (v3.2.1) I can forget about things like a contract's ABI and address and just use ContractName.deployed() to interact with a contract on my testrpc chain. How can I mimic this behavior in my external Javascript code, that is, not by using truffle's built-in console or truffle test
? Is there a library I need to import in my script or do I need to manually get the ABI and deployment address of the contract as if I was not using Truffle?
I'd be also fine if I could use those contract abstraction by running my JS code through truffle, but I'm not sure of how would I do that.
Thanks!