4

I will deploy a smart contract with meteor and matamask. My code in main.js :

var inactivityTime = 1000;
var continuityContract = web3.eth.contract(Continuity.abi);
var continuity = continuityContract.new(
   inactivityTime,
   {
     from: web3.eth.accounts[0],
     data: Continuity.bytecode,
     gas: 4700000
   }, function (e, contract){
    console.log(e, contract);
    if (typeof contract.address !== 'undefined') {
         console.log('Contract mined! address: ' + contract.address + ' transactionHash: ' + contract.transactionHash);
    }
 })

but I have this error

Uncaught Error: The MetaMask Web3 object does not support synchronous methods like eth_uninstallFilter without a callback parameter.

Any idea ?

Code is on github: https://github.com/n1c01a5/etherlife.co

2
  • Can't reproduce. Is this still a problem? Seems error message has nothing to do with contract creation. Maybe some other code causes it? Dec 15, 2016 at 13:04
  • Yes I think metamask has fixed this issue :)
    – n1c01a5
    Dec 15, 2016 at 13:06

1 Answer 1

-2

There is a great series of tutorial I followed to deploy a meteor Dapp, that you can find here.

It's fairly recent, and when I had problems I left a comment and the author answered personally and helped me fix my mistakes. You should check it out.

1
  • 1
    Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.
    – q9f
    Dec 26, 2016 at 20:41

Your Answer

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

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