Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Solidity is a contract-oriented, high-level language whose syntax is similar to that of JavaScript and it is designed for writing smart contracts in Ethereum to run on the EVM. Solidity is statically typed, supports inheritance, libraries and complex user-defined types among other features.
1
vote
Address is undefined after deploying a smart contract
thanks to benny, I found the issue by changing the above code to log the error
var greeter1 =
greeterContract1.new(_greeting1,{from:web3.eth.accounts[0], data:
greeterCompiled1.greeter1.code, gas: …
3
votes
1
answer
561
views
how is the type casting happening in the below example
while reading the ethereum docs about contracts came across the example mentioned here. In the ownedcontract constructor there is a casting at statement#2
creator = TokenCreator(msg.sender);
where m …
4
votes
2
answers
4k
views
Address is undefined after deploying a smart contract
geth version 1.5.3-stable-978737f5
solidity version - 0.4.6
I also did unlocking the account and waited for over 10 mins to let it mine. …
1
vote
1
answer
237
views
I don't see any environment when deployed ethereum on Azure
Just started with ethereum block chain and done with the theory part.
As part of my work I need to do a sample POC of SmartContract + Private Blockchain on Azure.
I created Ubuntu VM from "Ethereum …
2
votes
0
answers
176
views
Unable to deploy smart contract through ether.camp on Ethereum Consortorium Blockchain
I have created a private ethereum block chain on azure using Ethereum consortorium block chain template.
After the deployment is suceeded I got the following attributes of block chain
ETHEREUM-RPC- …
3
votes
1
answer
6k
views
Error: Identifier not found or not unique. when deploying a smart contract which calls anoth...
I am trying to call a contract from another contract.
first contract is the source of items like a data table.
second contract is like a logic layer for the items.
I first deployed the contract1 and …
7
votes
1
answer
9k
views
Unable to add new struct item into mapping or array
trying to do a sample based on struct, storing a list of struct as a mapping.
but when i add an item and trying to retrieve i cannot find that item in the mapping
below is my contract
contract Item …
4
votes
1
answer
738
views
How to provide gas value when we can't calculate it, when using arrays?
Recently, I am trying arrays(search) in browser-solidity and I found that the number of items in it causes changes in the gas consumption. …