2.0.0-alpha.2 • Published 2 months ago
@hyperledger/cactus-plugin-ledger-connector-go-ethereum-socketio v2.0.0-alpha.2
@hyperledger/cactus-plugin-ledger-connector-go-ethereum-socketio
This plugin provides Cactus
a way to interact with Go-Ethereum networks. Using this we can perform:
sendSyncRequest
: Send sync-typed requests to the ledgers (e.g. getBalance)sendAsyncRequest
: Send async-typed requests to the ledgers (e.g. sendTransaction)startMonitor
: Start monitoring blocks on the ledgersstopMonitor
: Stop the block monitoring
Summary
Getting started
Required software components
- OS: Linux (recommended Ubuntu20.04,18.04 or CentOS7)
- Docker (recommend: v17.06.2-ce or greater)
- Docker-compose (recommend: v1.14.0 or greater)
- node.js v12 (recommend: v12.20.2 or greater)
Prerequisites
- Please ensure that the destination ledger (default: geth-testnet) is already launched
- Available port:
5050
(for the port of@hyperledger/cactus-plugin-ledger-connector-go-ethereum-socketio
)- if this port is already used, please change the setting on
docker-compose.yaml
- if this port is already used, please change the setting on
Boot methods
1. Run configure command from the project root directory:
npm run configure
2. Go to the go-ethereum connector package directory:
cd cactus/packages/cactus-plugin-ledger-connector-go-ethereum-socketio
3. Create the docker image
docker-compose -f docker-compose.yaml build
4. Launch the container
docker-compose -f docker-compose.yaml up
Usage samples
- To confirm the operation of this package, please refer to the following business-logic sample applications:
Contributing
We welcome contributions to Hyperledger Cactus in many forms, and there's always plenty to do!
Please review CONTIRBUTING.md to get started.
License
This distribution is published under the Apache License Version 2.0 found in the LICENSE file.
Acknowledgments
2.0.0-2945-supply-chain-app-build-failed.241
2 months ago
2.0.0-main.214
3 months ago
2.0.0-lfx-connector.208
3 months ago
2.0.0-dev.196
3 months ago
2.0.0-dev.197
3 months ago
2.0.0-dev.195
3 months ago
2.0.0-lfx-connector.164
4 months ago
2.0.0-lfx-connector.163
4 months ago
2.0.0-main.159
4 months ago
2.0.0-main.91
6 months ago
2.0.0-dev.94
6 months ago
2.0.0-dev.93
6 months ago
2.0.0-alpha.2
7 months ago
2.0.0-alpha.1
8 months ago
1.1.3
1 year ago
1.1.0
1 year ago
1.1.1
1 year ago
1.1.2
1 year ago
1.0.1-jwt-supply-chain.9df3fe79.16
2 years ago
1.0.0
2 years ago
1.0.0-jwt-supply-chain.62c7e930.0
2 years ago
1.0.0-main.334593a7.46
2 years ago