gas-relay-signer

command module
v0.0.0-...-12b389a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

README

IMPORTANT NOTE: The ongoing development of this project has migrated to the LACNet organization. Please use LACNet's branch instead of this repository which has been deprecated and is no longer supported.

Gas Management

This solution is in charge of distributing gas to the different LACChain Besu writer nodes, it is composed of backend components such as smart contracts. Gas distribution is automatic, whose logic is written in smart contracts.

Package overview

  1. audit contains ways to log.
  2. blockchain contains connections to Ethereum.
  3. controller controller layer that receives all external requests and redirects requests to the service layer
  4. service contains main logic
  5. model contains data models of requests and responses of APIs
  6. errors contains different errors types
  7. relayhub contains all smart contract
  8. rpc contains models and ways to interact with RPC request and response
  9. docs contains documentation about architecture and developer interaction with this solution

Prerequisites

  • Being a validator node in LACChain network
  • Go 1.13+ installation or later
  • GOPATH environment variable is set correctly

Install

$ git clone https://github.com/lacchain/gas-management

$ cd gas-management
$ go build

Run

Execute the executable file generated previously in a Validator node

$ ./gas-relay-signer

Know More

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Documentation

Overview

Copyright © 2020 Adrian Pareja <[email protected]> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL