Linked Questions

1
vote
0answers
176 views

(web3.js) The method eth_compileSolidity does not exist/is not available [duplicate]

I have tried to develop a javascript function with web3.js to compile a solidity contract. In html/javascript code, I have prepared the following. var contract_code = "pragma solidity ^0.4.....[omit ...
19
votes
2answers
6k views

Deploying the Greeter contract via the geth CLI is not registering in my private blockchain

I am running a local private Ethereum blockchain using: geth --networkid 60098 --genesis CustomGenesis.json --nodiscover --maxpeers 0 --rpc --rpccorsdomain "http://localhost:3000" --datadir "./data" ...
9
votes
2answers
2k views

Unable to define greeterContract in the Greeter tutorial. Breaking change in Solidity 0.4.9!

I was following the Greeter tutorial on Go Ethereum wiki and got stuck on the "var greeterContract = web3.eth.contract(greeterCompiled.greeter.info.abiDefinition)" phase returning TypeError: Cannot ...
3
votes
1answer
6k views

How do i get Bytecode of the contract to deploy?

I read this but still cannot figure out how to deploy contract. What i need: deploy smart-contract to Ethereum network via web-based wallet - Myetherwallet, menu Contracts where there are 2 fields; ...
2
votes
2answers
6k views

Deploy contract on private blockchain using Geth

I am trying to deploy a smart contract on a private blockchain using Geth. I followed many "tutorials" (not sure I can call it like this considering how poor they are). Never worked. I tried the ...
7
votes
3answers
928 views

Alternative to deprecated Greeter example code?

After loads of research, it seems the Ethereum.org Greeter example code no longer works. Here's the GitHub issues thread: https://github.com/ethereum/go-ethereum/issues/3793. There are some ...
1
vote
1answer
754 views

Can't use object of web3.eth.compile.solidity(source)

I have the following code (source is the solidity contract to be compiled). var compiled = web3.eth.compile.solidity(source); var code = compiled.code; var abi = compiled.info.abiDefinition; However ...
1
vote
1answer
382 views

How to create the contracts on ethereum?

I need to create the ethereum tokens for this i learn about contracts. I try with simple contract using this link https://www.ethereum.org/greeter when i try this contract eth.getCompilers() var ...
2
votes
1answer
281 views

Can't use object “compiled” in var compiled = web3.eth.compile.solidity(source);

I've been struggling for the past couple of days with this. I Can't use object "compiles" in var compiled = web3.eth.compile.solidity(source); Here is my code in a JS file : var Web3 = require('web3'...
0
votes
1answer
329 views

Error when trying to create new Solidity contract using Geth

Very new to Geth and Ethereum, and I'm just trying to create my first contract and deploy it to my private blockchain using Geth. Geth version 1.7.3 Below is my Solidity contract code: pragma ...
2
votes
1answer
218 views

why is it not possible to install a solidity compiler in the geth console?

I've been trying every which way to install Solidity in my geth console- why? -because the outdated tutorials recommend to do that- and as a programmer you need to have the disposition of not ...