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.
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.
- audit contains ways to log.
- blockchain contains connections to Ethereum.
- controller controller layer that receives all external requests and redirects requests to the service layer
- service contains main logic
- model contains data models of requests and responses of APIs
- errors contains different errors types
- relayhub contains all smart contract
- rpc contains models and ways to interact with RPC request and response
- docs contains documentation about architecture and developer interaction with this solution
- Being a validator node in LACChain network
- Go 1.13+ installation or later
- GOPATH environment variable is set correctly
$ git clone https://github.com/lacchain/gas-management
$ cd gas-management
$ go build
Execute the executable file generated previously in a Validator node
$ ./gas-relay-signer
- In depth overview of the GAS distribution mechanism
- How to adapt you solution to the GAS distribution mechanism
- Deploy your first ERC20 and time-stamping (notarization) smart contracts
- Deploy and interact with the LACChain ID verifiable credential registry smart contract
- Stress testing and performance of the network with the GAS distribution mechanism
- Comparison with Ethereum
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.