Stack Exchange Network

Stack Exchange network consists of 174 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 [remix]

Questions about Remix, an online browser compiler for Solidity, formerly called Browser Solidity.

4
votes
1answer
180 views

Smart Contract different behaviour on testnet vs Solidity Browser

The following smart contract behaves differently on Solidity Browser and testnet: pragma solidity 0.4.2; contract mortal { address owner; function mortal() { owner = msg.sender; } ...
2
votes
0answers
59 views

Parity crashes after not closing cleanly

If Parity doesn't close properly, I get the following error and have to resynch the entire chain again... thread '' panicked at 'Error opening state db: Failed to create rocksdb directory: Error {...
9
votes
1answer
1k views

VM Exception: invalid JUMP when I call a second function

I'm experimenting with Solidity Browser Here is my contract code: contract Test { mapping (address => uint256) weismap; function bet(uint vote) payable returns (uint256 weis) { ...
3
votes
0answers
82 views

Solidty Browser doesn't load properly

Solidity Browser doesn't load anymore. Here is a screenshot with the Chrome Developer open. on Chrome Version 52.0.2743.116 m It's stuck on loading and I see in developer some error messages. It ...
2
votes
1answer
62 views

Call function is not valid in contract

contract NotifyContract { //address at 0x971A46e7C16D2bBEd2167460961D86Dc3715EE32 address public userAddr; byte public types; function notify(byte tokenByte,address userAddr_){ ...
7
votes
1answer
1k views

How to debug contract in browser-solidity

contract users{ struct User{ uint id; string str; } User [] public adds; function del(){ delete adds; } function delElem(uint i){ delete adds[i]; } function add(uint id,string cc){ ...
4
votes
1answer
579 views

JS Console for Browser Solidity?

Is there any way to connect a console to Browser-Solidity's JavaScript-VM? I'd like to send JS calls to contracts.
5
votes
1answer
1k views

How to get the bytecode of a transaction using the solidity-browser?

I want to get the bytecode to put in the "MyEtherWallet/Send-Ether" when I want to make some transaction, sending some ether to some contract, to call some function in the contract. I need to use the "...
6
votes
1answer
2k views

Solidity Browser Compiler — Error: Assertion failed

Here's the code: contract C { function a(uint x){} } I try to call C.a(1000000000000000000); and get an error: Error encoding arguments: Error: Assertion failed while C.a(100000000); is ...
4
votes
1answer
538 views

Using 2 libraries with a contract in a sol file

I have a sol file with a library and also a contract. The contract can use the library and everythings deploys correct using the solidity-browser. If I add a new library and call a function of that ...
11
votes
5answers
13k views

Invalid JSON RPC response: “” In Browser-Solidity

I'd like to connect private geth node from browser-solidity, however it returned the error Invalid JSON RPC response: "". Please check the following picture for details. Could you tell me how to ...
1
vote
1answer
696 views

How can I log an event with indexed fields in Remix?

As you can see below, the indexed field is ignored, and the last field is set to zero: contract MyContract { event MyWorkingEvent( address thing4, address thing5, address ...
3
votes
1answer
222 views

Using new operator and TypeError: Cannot read property 'event' of undefined

Here's the code: I compile these two contracts together and deploy Bar contract. After deploying it I have a contract account address where it has been deployed on the blockchain: ...
5
votes
1answer
3k views

What is the difference between Truffle and Remix?

Please list the differences between Truffle and Remix. Where is the use of both applicable? Can somebody list this using an example?
3
votes
0answers
153 views

In Browser-Solidity, I want to see the messages sent by a contract

There is good information on this site about writing and ad-hoc testing a contract in Browser-Solidity. When I use the transaction tab to create my contract and invoke its public functions, I want to ...
23
votes
3answers
4k views

What is the difference between transaction cost and execution cost in browser solidity?

What is the difference between transaction cost and execution cost as seen after contract instantiation in browser solidity? I don't think it matters, but here is my contract: contract ...
4
votes
3answers
3k views

Installing solidity in Debian Linux

I'm trying to install solidity but apparently there are no online repositories with all dependencies. I have tried using the methods described here. sudo add-apt-repository ppa:ethereum/ethereum ...
3
votes
1answer
51 views

Deploying Network; Using Different PC for different user

I am using MIX IDE in Windows. I have created a new smart contract in Contract.sol, I have 4 Pages of html and there are 4 users. Each html page is controlled by each user. The pages are also ...
4
votes
3answers
1k views

Browser Solidity: What does the “Transaction” tab do?

In Browser Solidity, there's a "Transaction" tab (paper plane icon). You can choose one of two addresses, and a value. But there's no "send" button or anything of the sort. What is this section ...
5
votes
4answers
760 views

why the browser based solidity compiler crushes when the code is too long?

I find that the browser based solidity compiler will crush when the code's length reach certain value which is about 230 lines. I don't know why and I am certain that there is no syntax mistake, does ...
33
votes
6answers
27k views

How do you get a json file (ABI) from a known contract address?

I want to watch a Solidity contract using the Mist browser. I know how to do that and it needs the address and the json. I have the address, but I don't have the json. I do have the source code. Can ...
5
votes
1answer
4k views

How to deploy contract into local running node using solidity browser?

I am running a local ethereum node and I did unlock an account. Now I want to use the solidity browser to deploy that contract, but when I switch to the web3 provider deploy option and I press the ...
4
votes
2answers
466 views

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

Say you have some Solidity code and something doesn't work and you'd like for somebody to take a look at it and do some quick tests. What is an efficient way to share Solidity code with others?
3
votes
1answer
113 views

Can browser-solidity access contracts values with the in memory tester?

I was reading an interesting answer and wanted to make a quick test in browser-solidity. My contract code is below and I'd just like to get the string I passed in the constructor. contract ...
34
votes
8answers
17k views

How to quickly test a Solidity function?

There are snippets and functions of Solidity code provided on this Ethereum Stack Exchange and other sites. What are ways to quickly test them, possibly debug a little, and play around?
-1
votes
1answer
124 views

Interface order of functions [closed]

I am creating a contract with the function 1() function 2() function 3() in a reasonable order. This order is in the "interface" created by the ethereum wallet or solidity browser (for me) ...
4
votes
2answers
48 views

What's the Purpose of the Vertical Rule Dividing the Work-Space in Browser-Solidity?

And can it be eliminated? I find it distracting.
2
votes
1answer
436 views

Subcurrency Example: Why always be the “minter” using browser compiler?

A note in the docs referring to the contract example SubCurrency states: This is not a nice example for browser-solidity. If you use browser-solidity to try this example, you cannot change the ...
4
votes
2answers
915 views

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

I'm reading up IDE and I don't understand them from a lay person's perspective. What's the difference between mix and browser based IDE. How do you use them?