0

So the goal is to have two computers each owning one account or just different addresses on MetaMask for example and connecting them to the same Smart Contract that is deployed on Rinkeby.

Now how could computer 1 start with the first function of the Smart Contract and computer 2 continue with the second function, with a prepared script in each of the computers? Can this be done with truffle test or is there a way to do this with truffle? I've previously connected and tested my contract with

truffle test --network rinkeby

I have searched for solutions but couldn't find any information on whether this is possible. I would happily use any tool that enables running afile.js and afile2.js on each of the computers to call those functions taking turns.

I am not sure if geth would offer a solution for that, all tutorials I've seen use one computer or one terminal window for example.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.