i had the same issue on the mac client, ubuntu gets much further, however after i execute the contract, it goes into pending, then when i start mining it disappears but never shows up in my contracts window. Did i miss a step?
This^
using ubuntu with oracle vm
same problem here. I tried both versions by @KenK . I've compiled the develop branch of cpp-ethereum on ubuntu. Alethzero shows on startup: Network protocol version: 49 Client database version: 5
I pasted in the contract in the tutorial into the Alethzero transaction field and I just get a parse error in the compilation. An LLL script compiles OK. Had this same problem with PoC7 and now with PoC8 just installed a few minutes ago.
Please show me my errors. Thanks. :-)
def init(): self.storage[msg.sender] = 10000
def code(): to = msg.data[0] from = msg.sender value = msg.data[1] if self.storage[from] >= value: self.storage[from] = self.storage[from] - value self.storage[to] = self.storage[to] + value
I am learning Java now and hope to write a simple contract using Java/Eclipse with Windows before moving into Serpent so that I can understand the mechanics of an Etherium contract. Can anyone steer me toward some tutorials or sample code so that I can get started? Thanks--
You can also find a growing set of DApps (mostly written in Solidity) over at https://github.com/ethereum/dapp-bin. Since Solidity is being developed specifically with contract development in mind, it will likely be the easiest way to develop contracts in the future with the Mix IDE
I also have the same problem as stevex and yoav. I can type "def " into the code window that still compiles into "PUSH1 0x80", but once I hit "i" to continue writing "def init():", I already get a Parse error. I experienced this on the prebuilt win32 binaries, then moved on to building from source on Ubuntu64 on a VM, same error.
Thank you for great tutorial. About AlethZero v0.8.2, after I deleted all of the window panel, such as pending transactions, accounts, then how to recover window panels ?
by the way, I can find 'Use private chain' button on 'Special' tab, not debug tab for now.
@TOMOAKI12345 To display the deleted panels in AlethZero, right click on area next to to right most tab (Refresh) and you will see a pop-up menu from where you can recover the window panels - Yes, I found it hard way by just clicking all over the Alethzero UI. I couldn't locate Alethzero guide either.
Built with the latest code on Ubuntu 14.04. I can run the tutorial and all the steps but the last one: Nothing in the Contracts panel. Has anyone been able to run this sample code with the latest?
Comments
https://dl.dropboxusercontent.com/u/7837074/Screen Shot 2015-01-27 at 10.34.42 AM.png
and once minning is completed, the transaction disappears from pending and instead of being in the contracts list, it appears in the accounts list: https://dl.dropboxusercontent.com/u/7837074/Screen Shot 2015-01-27 at 10.35.27 AM.png
Is there anything I am missing?
Please show me my errors. Thanks. :-)
def init():
self.storage[msg.sender] = 10000
def code():
to = msg.data[0]
from = msg.sender
value = msg.data[1]
if self.storage[from] >= value:
self.storage[from] = self.storage[from] - value
self.storage[to] = self.storage[to] + value
You can also find a growing set of DApps (mostly written in Solidity) over at https://github.com/ethereum/dapp-bin. Since Solidity is being developed specifically with contract development in mind, it will likely be the easiest way to develop contracts in the future with the Mix IDE
What can I do?
Could we get an example of the contract from this tutorial done in Solidity?
I've also tried this solidity contract https://github.com/ethereum/dapp-bin/blob/master/coins/coin.sol but AlethZero gives me the following output:
Solidity
:6:1: Error: Expected import directive or contract definition.
#require service, CoinReg
About AlethZero v0.8.2, after I deleted all of the window panel, such as pending transactions, accounts, then how to recover window panels ?
by the way, I can find 'Use private chain' button on 'Special' tab, not debug tab for now.