Hot answers tagged

15 votes
Accepted

How to get the contract ABI in new Remix IDE?

I cannot find the contract details to get the json interface anymore. If you select the compile tab, there you will find a button called details. When the details is clicked, a pop-up window will ...
Achala Dissanayake's user avatar
6 votes
Accepted

Remix IDE getting VM error invalid opcode

Invalid opcode can be the result of either one of the following runtime operations: assert of an expression which evaluates to false array[i] where i >= array.length In your code, only the second ...
goodvibration's user avatar
5 votes
Accepted

Remix IDE: Cannot create an account: Not running in personal mode

RESOLVED: Personal mode can be updated from the settings tab in the remix IDE. According to this github link: https://github.com/ethereum/remix/issues/705 there's a little explanation in the ...
coder123's user avatar
  • 263
5 votes
Accepted

How to easily share Solidity code so that others can test it?

A very practical way is to use the gist feature of the browser-solidity Paste your code in the browser-solidity, click on the Publish Gist button: This will create for you a gist, just copy the url: ...
euri10's user avatar
  • 4,640
5 votes
Accepted

What programs should a beginner solidity developers use?

Definitely use the Mix IDE if you are capable of downloading it for the time being. It's the best debugger available for your solidity programs in case you want to make sure of what your program is ...
VoR0220's user avatar
  • 1,710
4 votes
Accepted

Ethereum development environment for Mac OSX El Capitan

Read the tutorials at ethereum.org Understand Ethereum Clients and Smart Contract Languages Smart Contract in-browser IDE ReMix Development You need an ethereum node to test against, i would ...
niksmac's user avatar
  • 9,673
4 votes
Accepted

What is an IDE? What's the difference between mix, and browser based IDE?

An IDE is an integrated development environment. That is a programming environment integrated into a software application that provides: GUI builder text or code editor compiler and/or interpreter ...
q9f's user avatar
  • 32.9k
4 votes
Accepted

Ethereum remix web3 connection problem

Remix provide you with three environments to run your smart contract code. As well explained in the docs, JavaScript VM: All the transactions will be executed in a sandbox blockchain in the ...
Achala Dissanayake's user avatar
4 votes
Accepted

How to build and run dApps written in Solidity without ethers?

Yes, there is truffle ethereum framework that allows you to write Solidity smart contracts and also build your front end in HTML/CSS/JS (truffle init webpack) or use your custom build setup Every ...
rstormsf's user avatar
  • 4,337
3 votes

Ethereum remix web3 connection problem

Web3 Provider: Remix will connect to a remote node. You will need to provide the URL address to the selected provider: geth, parity or any Ethereum client To provide a URL you need to have a node ...
Refiner's user avatar
  • 157
3 votes
Accepted

VM Exception while executing eth_estimateGas using for loop

You're walking off the end of the array with for(uint i = 0; i <= employees.length; i++) employees[] has exactly 3 rows, which are: 0, 1, 2. You let i be 3 which does not exist so it isn't ...
Rob Hitchens's user avatar
3 votes

What is an IDE? What's the difference between mix, and browser based IDE?

Mix is no more used to code, See https://blog.ethereum.org/2016/07/08/c-dev-update-summer-edition/. you could check some alternatives listed at http://solidity.readthedocs.org you could also try ...
Badr Bellaj's user avatar
  • 18.8k
3 votes

What programs should a beginner solidity developers use?

If you are comfortable using the command line interface, I would use the main Ethereum node client geth. This is the raw stuff, but you get to see how the Ethereum works. See Go - Home. There is a ...
BokkyPooBah's user avatar
  • 40.3k
3 votes
Accepted

What command to run for Live.ether.camp project?

The example project consists of 3 parts: Solidity contracts in directory contracts/ Web-app in directory web/ Tests for the contracts in directory test/ To run the contracts you need to start a new ...
Alex Sinyagin's user avatar
3 votes

Simplest way to set up an Ethereum DApp development environment On Ubuntu 14.04 including a Client, and IDE and test environment

Try using Truffle framework, with geth which you can install using apt-get install ethereum. check out truffle link for installation documentation. Also there's the browser-solidity web IDE, which ...
Shayan's user avatar
  • 895
3 votes

How to format the code in Remix IDE?

It is not possible to automatically format/beautify the code at this time. However, Remix is open source and has modules that anyone can add. If you want, you are able to create an uncompromising ...
Shane Fontaine's user avatar
3 votes
Accepted

VS Code and Solidity files have a lot of warnings

The reason they exist is because you are using the VS Code Solidity extension. One feature of this extension is that it enables Solium (now Ethlint). This is a linter that checks your code for errors ...
Shane Fontaine's user avatar
3 votes

Online remix lost changes made to local smart contract file

As good as Remix is to start developing as fast as possible, I would consider using a local IDE installation for editing, like Visual Studio Code, or even IntelliJ IDEA or some other JetBrains IDE. ...
dotMattZ's user avatar
2 votes

How to easily share Solidity code so that others can test it?

Good answer by euri10 already.... If you are just looking for a tool that allows you to send a hunk of code to another person so they can look at it and maybe check your syntax and make some changes, ...
tayvano's user avatar
  • 16k
2 votes

Why can't I open Mix?

I downloaded the binary from here and it works on my system (OSX El Capitan). Mix is under hard development as I understand so a thing might be working today, but broken tomorrow. Just have a bit of ...
samurai jack's user avatar
  • 1,125
2 votes

Mix IDE Tutorial error: index.html - line 15 - Uncaught TypeError: Cannot read property 'contract' of undefined

From the code, it seems that it is bound to crash at that line if there is no contract of that name in existence. I ran that same sample Dapp and I get EXACTLY that same error when the contract has ...
Slender's user avatar
  • 141
2 votes
Accepted

Mix IDE Tutorial error: index.html - line 15 - Uncaught TypeError: Cannot read property 'contract' of undefined

I'm pretty sure that in the scenario part on the right of the IDE, you haven’t created the contract Rating. So you need to click on the Add Transaction button and create it. After that problem solved ;...
euri10's user avatar
  • 4,640
2 votes
Accepted

Solidity source code filename extension

filename.sol The wiki page on the command line compiler says to use .sol as the file name extension.
Tom Hale's user avatar
  • 3,107
2 votes

How to get the contract ABI in new Remix IDE?

ABI means Application Binary Interface, In remix IDE it can be found (after compiling the code by Ctrl+S) on the right hand side of screen click ABI button and you willl get a popup then copy the ABI ...
adrik's user avatar
  • 21
2 votes
Accepted

Metamask, Remix IDE: Cannot create an account: Error: Internal JSON-RPC error

It depends on where you point your RPC connection. It was probably a local instance of TestRPC/Ganache, which has been bugging like that lately. Just restart it and make sure you tell Metamask the ...
n1cK's user avatar
  • 3,378
2 votes

What's the relative advantage of using remix.ethereum.org over studio.ethereum.org?

Here is main advantage of each ide (maybe i will miss some please let me know): Studio: It support html, css, js and solidity unlike remix which only support smart contract only. (Basicly you can ...
haxerl's user avatar
  • 1,104
2 votes
Accepted

Remix IDE File Explorers is missing

From release 0.11.1 auto-migration of files is turned off, so you will need to migrate your files manually to be able to see them again. See the release notes, here -> https://medium.com/remix-ide/...
Richard Horrocks's user avatar
1 vote

Remix - Solidity IDE - Gas requirements high

You are taking the variable _count as a parameter to the function and the function is public. Therefore anyone who runs the function can decide on how many iterations your loop goes through. It's ...
Lauri Peltonen's user avatar
1 vote

Remix - Solidity IDE - ParserError

This line: If (currentItem.itemTokens.length != 0); should be: if (currentItem.itemTokens.length != 0) { (lowercase i in if and a curly brace instead of a semicolon)
user19510's user avatar
  • 27.9k
1 vote

Remix IDE nolonger loads old solidity compilers. Error: "mock compiler: source not found|

This is a known issue being tracked at https://github.com/ethereum/remix-ide/issues/990. Remix is trying to reach out to another server (https://solc-bin.ethereum.org/bin/list.json) to display ...
GrandVizierOlaf's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible