Giter Site home page Giter Site logo

remix-quorum-plugin's Introduction

Remix Quorum Plugin


This is Remix IDE plugin to handle private transaction for quorum. This make developer test quorum's main feature easily in Remix IDE without cakeshop installation.

Features

This plugin supports:

  • Deploy & send transaction with privateFor parameter.

Plugin supports almost all of features in original Run & Deploy transaction plugin in ide such as:

  • Connect to geth node (also quorum node)
  • Setting account, gas limit, transfer value
  • Deploy smart contract which is compiled on remix ide
  • Copy address, encoded parameter
  • Supports ABIEncoderV2 type such as tuple
  • Supports JSON Treeview to check results of send transaction's more easily

And not support:

  • Transactions recorded feature
  • Sign a message using account key

Prerequisite

  • Running quorum geth nodes

    • Without cors policy (--rpccorsdomain "*" option) to get connection with remix ide
  • nodejs & npm

Installation

  1. Clone repository

  2. Enter into directory using command line

  3. npm install

  4. (if you changes code and want to rebuild, npm run build)

  5. npm run start

  6. In Remix IDE plugin manager, click "Connect to a Local Plugin"

  7. Input plugin name (such as "Quorum"), display name, Url (http://localhost:8081/index.html)

    Check network, solidity, vyper in notifications group. Check "Side Panel" in Location in remix group. Click OK

  8. New tab will appears in side panel.

Usage

Basically, usage is same with original deploy & transaction tab in remix ide.

Load Plugin

load

Compile Contract

compile

Deploy & Send Transaction

send

Load Contract At Address

at

Support Tuple (ABIEncoderV2)

tuple

Support PrivateFor Parameter

Input the privateFor field to publish only to specific nodes before deploy or send transaction. This field only used when deploying contract or sending transactions (orange buttons). To input multiple values in privateFor field, just input public keys separated by commas.

If other node which can't see contract try to call or send transaction, gas error will occured.

private

remix-quorum-plugin's People

Contributors

bdh92123 avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

remix-quorum-plugin's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.