-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add feature cactus-plugin-persistence-fabric
Signed-off-by: barneyshyperethers <[email protected]>
- Loading branch information
Showing
115 changed files
with
13,157 additions
and
216 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,157 +1,156 @@ | ||
{ | ||
"version": "0.1", | ||
"language": "en", | ||
"minWordLength": 4, | ||
"allowCompoundWords": true, | ||
"words": [ | ||
"adminpw", | ||
"Albertirsa", | ||
"ALLFORTX", | ||
"ANYFORTX", | ||
"APIV", | ||
"approveformyorg", | ||
"Authz", | ||
"authzn", | ||
"AWSSM", | ||
"Besu", | ||
"Bools", | ||
"brioux", | ||
"cactusf", | ||
"cafile", | ||
"caio", | ||
"cccs", | ||
"ccid", | ||
"celo", | ||
"cids", | ||
"clsx", | ||
"commenceack", | ||
"configtx", | ||
"Corda", | ||
"Cordapp", | ||
"couchdb", | ||
"COUCHDBADDRESS", | ||
"COUCHDBCONFIG", | ||
"data", | ||
"dclm", | ||
"DHTAPI", | ||
"DockerOde", | ||
"ealen", | ||
"ecparams", | ||
"embeddable", | ||
"Errorf", | ||
"escc", | ||
"execa", | ||
"faio", | ||
"fidm", | ||
"flowdb", | ||
"fsouza", | ||
"GETHKEYCHAINPASSWORD", | ||
"ghcr", | ||
"gopath", | ||
"goquorum", | ||
"grpc", | ||
"grpcs", | ||
"grpcwebtext", | ||
"guks", | ||
"hada", | ||
"hashicorp", | ||
"Healthcheck", | ||
"htlc", | ||
"Htlc", | ||
"HTLC", | ||
"HyperLedger", | ||
"ipaddress", | ||
"ipfs", | ||
"Iroha", | ||
"Irohad", | ||
"isready", | ||
"jboss", | ||
"JORDI", | ||
"jsrsa", | ||
"jsrsasign", | ||
"Keychain", | ||
"Keycloak", | ||
"KEYUTIL", | ||
"KJUR", | ||
"Knetic", | ||
"LEDGERBLOCKACK", | ||
"leveldb", | ||
"lmify", | ||
"LOCALMSPID", | ||
"miekg", | ||
"mitchellh", | ||
"MSPCONFIGPATH", | ||
"MSPID", | ||
"MSPIDSCOPEALLFORTX", | ||
"MSPIDSCOPEANYFORTX", | ||
"Mtls", | ||
"myapp", | ||
"mychannel", | ||
"myroot", | ||
"mysecretpassword", | ||
"myvolume", | ||
"Nerc", | ||
"NETWORKSCOPEALLFORTX", | ||
"NETWORKSCOPEANYFORTX", | ||
"NODETXPOOLACK", | ||
"notok", | ||
"Odap", | ||
"Oidc", | ||
"oneofs", | ||
"onsi", | ||
"OpenAPI", | ||
"openethereum", | ||
"organisation", | ||
"Orgs", | ||
"parameterizable", | ||
"Postgres", | ||
"proto", | ||
"protobuf", | ||
"protoc", | ||
"protos", | ||
"qscc", | ||
"recoverupdateackmessage", | ||
"RUSTC", | ||
"Rwset", | ||
"sbjpubkey", | ||
"Secp", | ||
"shrn", | ||
"Smonitor", | ||
"socketio", | ||
"SPDX", | ||
"Splug", | ||
"Sprintf", | ||
"stretchr", | ||
"supervisorctl", | ||
"supervisord", | ||
"svcs", | ||
"sykesm", | ||
"tezos", | ||
"TEZOS", | ||
"thream", | ||
"tlsca", | ||
"tlscacerts", | ||
"txid", | ||
"txqueue", | ||
"Uisrs", | ||
"undici", | ||
"Unmarshal", | ||
"uuidv", | ||
"vscc", | ||
"wasm", | ||
"Xdai" | ||
], | ||
"dictionaries": [ | ||
"typescript,node,npm,go,rust" | ||
], | ||
"ignorePaths": [ | ||
"**/node_modules/**", | ||
"**/build/**", | ||
"**/src/main/typescript/generated/**", | ||
"packages/cactus-plugin-verifier-cc/**", | ||
"packages/cactus-cmd-socketio-server/**", | ||
"packages/cactus-plugin-ledger-connector-sawtooth-socketio/**", | ||
"packages/cactus-plugin-ledger-connector-go-ethereum-socketio/**", | ||
"packages/cactus-plugin-ledger-connector-*-socketio/**" | ||
] | ||
"version": "0.1", | ||
"language": "en", | ||
"minWordLength": 4, | ||
"allowCompoundWords": true, | ||
"words": [ | ||
"adminpw", | ||
"Albertirsa", | ||
"ALLFORTX", | ||
"ANYFORTX", | ||
"APIV", | ||
"approveformyorg", | ||
"Authz", | ||
"authzn", | ||
"AWSSM", | ||
"Besu", | ||
"Bools", | ||
"brioux", | ||
"cactusf", | ||
"cafile", | ||
"caio", | ||
"cccs", | ||
"ccid", | ||
"celo", | ||
"cids", | ||
"clsx", | ||
"commenceack", | ||
"configtx", | ||
"Corda", | ||
"Cordapp", | ||
"couchdb", | ||
"COUCHDBADDRESS", | ||
"COUCHDBCONFIG", | ||
"data", | ||
"dclm", | ||
"DHTAPI", | ||
"DockerOde", | ||
"ealen", | ||
"ecparams", | ||
"embeddable", | ||
"Errorf", | ||
"escc", | ||
"execa", | ||
"faio", | ||
"fidm", | ||
"flowdb", | ||
"fsouza", | ||
"GETHKEYCHAINPASSWORD", | ||
"ghcr", | ||
"gopath", | ||
"goquorum", | ||
"grpc", | ||
"grpcs", | ||
"grpcwebtext", | ||
"guks", | ||
"hada", | ||
"hashicorp", | ||
"Healthcheck", | ||
"htlc", | ||
"Htlc", | ||
"HTLC", | ||
"HyperLedger", | ||
"ipaddress", | ||
"ipfs", | ||
"Iroha", | ||
"Irohad", | ||
"isready", | ||
"jboss", | ||
"JORDI", | ||
"jsrsa", | ||
"jsrsasign", | ||
"Keychain", | ||
"Keycloak", | ||
"KEYUTIL", | ||
"KJUR", | ||
"Knetic", | ||
"LEDGERBLOCKACK", | ||
"leveldb", | ||
"lmify", | ||
"LOCALMSPID", | ||
"miekg", | ||
"mitchellh", | ||
"MSPCONFIGPATH", | ||
"MSPID", | ||
"MSPIDSCOPEALLFORTX", | ||
"MSPIDSCOPEANYFORTX", | ||
"Mtls", | ||
"myapp", | ||
"mychannel", | ||
"myroot", | ||
"mysecretpassword", | ||
"myvolume", | ||
"Nerc", | ||
"NETWORKSCOPEALLFORTX", | ||
"NETWORKSCOPEANYFORTX", | ||
"NODETXPOOLACK", | ||
"notok", | ||
"Odap", | ||
"Oidc", | ||
"oneofs", | ||
"onsi", | ||
"OpenAPI", | ||
"openethereum", | ||
"organisation", | ||
"Orgs", | ||
"parameterizable", | ||
"Postgres", | ||
"proto", | ||
"protobuf", | ||
"protoc", | ||
"protos", | ||
"qscc", | ||
"recoverupdateackmessage", | ||
"RUSTC", | ||
"Rwset", | ||
"sbjpubkey", | ||
"Secp", | ||
"shrn", | ||
"Smonitor", | ||
"socketio", | ||
"SPDX", | ||
"Splug", | ||
"Sprintf", | ||
"stretchr", | ||
"supervisorctl", | ||
"supervisord", | ||
"svcs", | ||
"sykesm", | ||
"tezos", | ||
"TEZOS", | ||
"thream", | ||
"tlsca", | ||
"tlscacerts", | ||
"txid", | ||
"txqueue", | ||
"Uisrs", | ||
"undici", | ||
"Unmarshal", | ||
"uuidv", | ||
"vscc", | ||
"wasm", | ||
"Xdai", | ||
"ossp" | ||
], | ||
"dictionaries": ["typescript,node,npm,go,rust"], | ||
"ignorePaths": [ | ||
"**/node_modules/**", | ||
"**/build/**", | ||
"**/src/main/typescript/generated/**", | ||
"packages/cactus-plugin-verifier-cc/**", | ||
"packages/cactus-cmd-socketio-server/**", | ||
"packages/cactus-plugin-ledger-connector-sawtooth-socketio/**", | ||
"packages/cactus-plugin-ledger-connector-go-ethereum-socketio/**", | ||
"packages/cactus-plugin-ledger-connector-*-socketio/**" | ||
] | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# `@hyperledger/cactus-cmd-gui-app` | ||
|
||
This component allows viewing ledger data in Supabase or other postgreSQL compatible database. The data is fed to supabase by persistence plugins for each ledgers. | ||
|
||
## Summary | ||
|
||
- [`@hyperledger/cactus-cmd-gui-app`](#hyperledgercactus-cmd-gui-app) | ||
- [Summary](#summary) | ||
- [Remarks](#remarks) | ||
- [Getting Started](#getting-started) | ||
- [Prerequisites using yarn](#prerequisites-using-yarn) | ||
- [Alternative Prerequisites using npm](#alternative-prerequisites-using-npm) | ||
- [Usage](#usage) | ||
- [Contributing](#contributing) | ||
- [License](#license) | ||
- [Acknowledgments](#acknowledgments) | ||
|
||
## Remarks | ||
|
||
- Plugin requires running Supabase or other database and persistence plugins in order to properly view ledger data. | ||
- Currently, fabric and ethereum based ledgers are supported. | ||
|
||
## Getting Started | ||
|
||
Clone the git repository on your local machine. Follow these instructions that will get you a copy of the project up and running on your local machine for development and testing purposes. | ||
|
||
### Prerequisites using yarn | ||
|
||
In the root of the project, execute the command to install and build the dependencies. It will also build this GUI front-end component: | ||
|
||
```sh | ||
yarn run build | ||
``` | ||
### Alternative Prerequisites using npm | ||
|
||
In the root of the project, execute the command to install and build the dependencies. It will also build this GUI front-end component: | ||
|
||
```sh | ||
npm install | ||
``` | ||
|
||
### Usage | ||
- Run Supabase instance (see documentation for detailed instructions). For development purposes, you can use our image located in `tools/docker/supabase-all-in-one`. | ||
- Run one or more persistence plugins: | ||
- [Ethereum](../cactus-plugin-persistence-ethereum) | ||
- [Fabric] (../cactus-plugin-persistence-fabric) | ||
- Edit [Supabase configuration file](./src/supabase-client.tsx), set correct supabase API URL and service_role key. | ||
- Execute `yarn run start` or `npm start` in this package directory. | ||
- The running application address: http://localhost:3001/ (can be changed in [Vite configuration](./vite.config.ts)) | ||
|
||
## Contributing | ||
|
||
We welcome contributions to Hyperledger Cactus in many forms, and there’s always plenty to do! | ||
|
||
Please review [CONTIRBUTING.md](../../CONTRIBUTING.md) to get started. | ||
|
||
## License | ||
|
||
This distribution is published under the Apache License Version 2.0 found in the [LICENSE](../../LICENSE) file. | ||
|
||
## Acknowledgments |
Oops, something went wrong.