I need to test a DAPP which will run in Mist, but I don't want to run it in TestNet or MainNet, I want to run it in a ethereum-js
testrpc instance. Is it possible to do that? Does anybody has tried it?
Yes, it is. Use it as a library (make sure testrpc is running beforehand and web3 is installed):
var Web3 = require('web3'); web3 = new Web3(web3.currentProvider); var TestRPC = require("ethereumjs-testrpc"); web3.setProvider(TestRPC.provider());
You can then make transactions to the contract.