Web3 Gear

screenshot of Web3 Gear
remix

Proxy Thor's RESTful API to Eth JSON-RPC, to support Remix, Truffle and more.

Overview

Web3-Gear is a software tool that provides a RESTful API to interact with Ethereum's JSON-RPC. It is designed to support popular development platforms like Remix and Truffle, making it a convenient solution for developers working with Ethereum applications.

Features

  • Thor's RESTful API: Web3-Gear gives priority to using Thor's RESTful API, which ensures seamless integration with Remix, Truffle, and other development platforms.
  • Working with Thor Builtins: By working with Thor Builtins, Web3-Gear becomes more user-friendly, making it easier for developers to interact with Ethereum's JSON-RPC.
  • Quick Start Installation: Web3-Gear provides easy installation instructions for different operating systems, including OS X, Ubuntu, and Windows.
  • Configurable Options: Web3-Gear allows users to customize its behavior with parameters such as host, port, endpoint, keystore path, passcode, debug mode, and log display.

On OS X

  1. Ensure Python 3.7+ is installed.
  2. Install system dependencies.
  3. Install Web3-Gear and its dependent Python packages via PyPI.

On Ubuntu

  1. Ensure Python 3.7+ is installed.
  2. Install system dependencies.
  3. Use a virtual environment to isolate your Web3-Gear project.
  4. Install Web3-Gear and its dependent Python packages via PyPI.

On Windows

  1. Ensure Python 3.7+ is installed.
  2. Install Visual C++ Build Tools.
  3. Install scrypt-py using the precompiled wheels.
  4. Install Web3-Gear and its dependent Python packages via PyPI.

Run Web3-Gear

After installation, you can run Web3-Gear using the following command:

web3-gear --host 127.0.0.1 --port 8545 --endpoint http://127.0.0.1:8669 --keystore /Users/(username)/keystore --passcode xxxxxxxx --debug true --log false

Make sure you have a running Thor client, as it is required for the command to work. You can also modify the parameters according to your needs.

Working with Remix

To work with Remix, change the Remix environment to use Web3 as the provider. This will allow Remix to interact with Web3-Gear.

Working with Truffle

For Truffle integration, make sure you have Truffle 4.0.6+ installed. Modify the configuration of Truffle by updating the "truffle.js" file. Once configured, you can use Truffle's command line tool to work with Web3-Gear.

Summary

Web3-Gear is a powerful tool for developers working with Ethereum applications. Its RESTful API, integration with popular development platforms like Remix and Truffle, and customizable options make it a convenient choice. With easy installation instructions and support for different operating systems, Web3-Gear simplifies the development process by providing a seamless interface to interact with Ethereum's JSON-RPC.

remix
Remix

Remix is a modern JavaScript framework that focuses on building fast and performant web applications. It emphasizes a combination of server-rendered content and client-side interactivity, offering a robust architecture for creating scalable and maintainable projects.