Remix Release v0.45.0

Rob Stupay
Remix Project
Published in
3 min readMar 15, 2024

--

The Big News

  • Saved contracts are now called pinned contracts
  • Remix VM state can be saved
  • Fetch verified contracts from Blockscout

Pinning Contracts

Contracts deployed to any network, except the Remix VM, can be now be pinned. Pinning to the Remix VM is coming soon. Also note that we have altered the name from “Saved” to “Pinned”.

Clicking the pin icon in the Deployed/Unpinned section will… for lack of a better word, pin it in the Pinned Contracts section. When you reload Remix, and select the same network and the same workspace as the pinned contracts, those contracts will be loaded and ready for you.

When a contract is pinned, Remix saves it in the File Explorer.

The network in the image above with the ID 39438118 is the Ephermery network. It’s a test net that refreshes every seven days — so their faucet is easy and generous.

Remix VM State is Now Saved

Now, by default, when you refresh the IDE, the Remix VM — the in-browser test chain—will maintain its state rather than refreshing. The state is stored in the File Explorer — which itself is stored in indexedDB —when using Remix without Remixd.

To turn off the saving of the Remix VM’s state, uncheck the Save environment state in the Settings panel.

Fetch a verified contract from any chain on a Blockscout Explorer

A verified contract from any Blockscout chain explorer can be opened in Remix using some URL parameters.

Use these URL params:

#address={contract_address}&blockscout={blockscout_domain}

For example, with a Blockscout URL like this one:

https://optimism.blockscout.com/address/0x73d5C2f4EB0E4EB15B3234f8B880A10c553DA1ea?tab=contract

Open the contract in Remix with this url:

https://remix.ethereum.org#address=0x73d5C2f4EB0E4EB15B3234f8B880A10c553DA1ea&blockscout=optimism.blockscout.com

Fetch Blockscout Verified Contracts on Ethereum Mainnet

Do you know about the trick for fetching verified contracts on Etherscan?We’ve implemented the same trick for Blockscout!

Try it out:

  • Go to Blockscout.com and select a verified contract on Ethereum.
  • Take a URL like this one:
https://eth.blockscout.com/address/0x03FF864F65A69E6C025F68F5695fA243F8d2d61B?tab=contract
  • Swap the eth.blockscout.com for remix.ethereum.org and the contract will load in Remix!
https://remix.ethereum.org/address/0x03FF864F65A69E6C025F68F5695fA243F8d2d61B?tab=contract

Thank You Lovely Remix Users - we pin you!

Please report any problems you find in Remix. And, as always, please send us any suggestions about changes you’d like to see in Remix, or any functionality you think would be useful to add.

For future releases, we are looking for more Beta Testers. If you are interested in helping this effort please fill out this form.

We no longer follow the discussions on Gitter, so we encourage you to move over to our Discord server for community support. Or, send us an email at remix@ethereum.org!

--

--

Remix Project
Remix Project

Published in Remix Project

In browser editor for developing, debugging and deploying Solidity contracts

No responses yet