Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ether-pudding]

The tag has no usage guidance.

1
vote
0answers
144 views

What is the ether-pudding / truffle-artifactor front end?

I am trying to figure out how to interact with a smart contract deployed through truffle. I am looking at the truffle documentation here. They are describing how to call a function in a deployed ...
3
votes
0answers
103 views

Ethereum pudding transaction hash

Is it possible to get the transaction hash of a function call in Ethereum Pudding/ Truffle?. It seems that it works straight forward with web3 but Pudding is hiding it?
2
votes
0answers
251 views

Unit testing compiled Contracts with Pudding and Mocha + NodeJS constructor not being invoked

I just starting out looking at Ethereum and am trying to test a Contract (using the simple cryptocurrency contract as an example) using Mocha, so I can take advantage of things like chai and sinon, ...
2
votes
1answer
23 views

Issue with using “this” statement to get current value

I am trying to get the current value for my int variable counterforindex in the check function. However this doesn't seem to happen. uint public counterforindex; function Check(string hdata, string ...
2
votes
1answer
664 views

How to configure a default parameter for a deployed contract in truffle?

This is a follow-up question to How can I use deployed with a constructor argument For testing purposes with mocha, I would like to configure my default deployed contract so that it is instantiated ...
3
votes
1answer
220 views

How can I use .deployed() with a constructor argument?

My contract has a constructor argument, is there a way to use puddings handy Contract.deployed() function together wit a default argument? How can one achieve this? Somehow there are args in the ...
2
votes
0answers
345 views

Receipt not found for transaction, on Mining Node

I keep getting receipt not found for transaction on a node initated with: geth --verbosity 6 --nodiscover --port 30303 --unlock "0x259af16d44f6897f98205af3b9d3382dbb0712d9" --rpc --rpcport 8101 --...
2
votes
0answers
100 views

Get truffle contracts Global Method names

Right now you can access each deployed contract method with Truffle because each is exposed globally. But I need a way to enumerate each contract say like: Object.keys(contracts) But since all ...
8
votes
2answers
7k views

How do you get the balance of an account using truffle/ether-pudding?

Is there an ether-pudding way to get the balance of a contract/account, or should I just use web3.eth.getBalance(account)?
2
votes
1answer
2k views

How do you send ether using truffle/ether-pudding?

How do you do a sendTransaction to simply send ether from one account to another in ether-pudding? In web3 I would do this: web3.eth.sendTransaction({ from: a, to: b, value: 100 }) I would like the ...