project screenshot 1
project screenshot 2
project screenshot 3

Solive

Solive is a flexible online playground for Solidity smart contracts, inspired by remix-IDE and react-live. You can edit, compile, deploy, and interact with solidity smart contracts in one React component.

Solive

Created At

Scaling Ethereum 2023

Winner of

πŸ›  zkSync β€” πŸ₯ˆ Best Developer Tooling

Project Description

Solive is a flexible online playground for Solidity smart contracts, inspired by remix-IDE and react-live. Solive enables you to edit, compile, deploy, and interact with solidity smart contracts in one React component. You can embed solive into your website/tutorials and let users run solidity code in the browser. Solive is also compatible with mobile browsers.

  • Use cases:
  1. Education: we will replace the code chunk in the WTF Solidity tutorial with the solive, so students can read and run the code.
  2. Developer onboarding: layer2 projects can use solive to onboard Ethereum developers.
  • What's next:
  1. web3 provider support: you can connect metamask to solve and deploy smart contracts to layer2.
  2. import remote contracts, such openzeppelin contracts.
  3. better solidity ABI to UI design.

How it's Made

Solive is inspired by

  1. remix-ide: an online IDE to develop smart contracts.
  2. react-live: A flexible playground for live editing React code We want to build solive because we want students to run the sample code while reading WTF Solidity tutorial. Solive is lite by design and only contains the necessary modules to edit, compile, deploy, and interact with the smart contracts:
  3. Edit module: we use Monaco editor, the fully featured code editor from VS Code.
  4. Compile module: we use solcjs to compile the contract with selected solidity version.
  5. Deploy: we use ethersjs and ethereumjs to deploy the compiled contracts to local evm.
  6. Interaction: we use ethersjs and a customized ABI-UI converter to interact with the deployed contracts. Layer 2 projects can use solive in their demos to onboard developers easier.
background image mobile

Join the mailing list

Get the latest news and updates