loredanacirstea / remix-yulp-plugin

Home Page:https://loredanacirstea.github.io/remix-yulp-plugin/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remix plugin for Yul+

In-work plugin for Remix IDE for compiling and deploying Yul+ smart contracts.

How to use https://youtu.be/ov9TixNHvXg :

  • sample Yul+ contracts
  • transpile to Yul, compile & deploy
  • easy UI for contract interaction
  • learn some transaction debugging tips

Use

Start client (see Development) or use the instance hosted at https://remix.fuel.sh by https://fuel.sh/ (the https://github.com/FuelLabs/yulp creators).

Connect to a local plugin, on Remix:

  • works on http://remix-alpha.ethereum.org - Remix alpha version, on http
  • activate the Run and Deploy Transactions plugin
  • name the plugin: yulp
  • url: https://remix.fuel.sh or http://localhost:8080
  • location: Side Panel

local_plugin.png

  • write your Yul+ contract in Remix
  • open the plugin & click the Compile button

plugin_compile.png

  • to deploy, go to the deployment step (top right)
  • enter deployment arguments in hex format, if any
  • click the Deploy button

plugin_deploy.png

  • you can interact with the deployed contract functions if you supply the full signatures in the source code - e.g. case sig"function get() view public returns (uint256)"

plugin_interact.png

  • you can activate Remix's Debugger plugin and paste the transaction hash to debug.

Development

Client

cd client
npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your tests

npm run test

Lints and fixes files

npm run lint

About

https://loredanacirstea.github.io/remix-yulp-plugin/


Languages

Language:Vue 70.4%Language:JavaScript 27.0%Language:HTML 2.5%