2

Is it possible to deploy a smart contract developed using truffle to testnet using just Metamask (without a local eth client instance running)?

I tried importing the private key of metamask wallet to my local geth instance, but the balance still shows zero.

Any pointers on how to deploy a smart contract to testnet?

3
  • For you ethereum client is ethereum wallet for example?
    – Gawey
    May 18, 2017 at 11:17
  • Yes, either a wallet or a client is ok. A wallet does internally use a client. My Mist wallet hasn't completed syncing for ages, hence I tried directly from geth May 18, 2017 at 17:41
  • I think's you don't need use the wallet if you are using metamask, i'm doing the same with meteor.js and i don't need have opened or runned the wallet. For change the network you can use metamask in the left corner you can choose it.
    – Gawey
    May 19, 2017 at 9:20

1 Answer 1

2

Depending on what testnet you want to deploy to you can use a custom provider. Follow this link truffleframework.com/tutorials/using-infura-custom-provider.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.