├── docs ├── ledger-plugin.md ├── routing-interface.md ├── business-logic-plugin.md ├── images │ └── blockchain-integration-framework-high-level-workflow.png └── tutorials │ ├── tutorials.json │ └── connector.md ├── packages ├── routing-interface │ └── .gitkeep ├── business-logic-plugin │ └── .gitkeep ├── cactus-cmd-api-server │ ├── src │ │ ├── main │ │ │ └── typescript │ │ │ │ ├── index.web.ts │ │ │ │ ├── index.ts │ │ │ │ └── public-api.ts │ │ └── test │ │ │ └── typescript │ │ │ ├── unit │ │ │ └── api-surface.ts │ │ │ └── integration │ │ │ └── api-surface.ts │ └── tsconfig.json ├── cactus-test-tooling │ ├── src │ │ ├── main │ │ │ └── typescript │ │ │ │ ├── index.web.ts │ │ │ │ ├── index.ts │ │ │ │ ├── i-test-ledger.ts │ │ │ │ └── i-key-pair.ts │ │ └── test │ │ │ └── typescript │ │ │ ├── unit │ │ │ └── api-surface.ts │ │ │ └── integration │ │ │ └── api-surface.ts │ ├── README.md │ └── tsconfig.json ├── cactus-sdk │ ├── src │ │ ├── main │ │ │ └── typescript │ │ │ │ ├── index.ts │ │ │ │ ├── index.web.ts │ │ │ │ ├── generated │ │ │ │ └── openapi │ │ │ │ │ └── typescript-axios │ │ │ │ │ ├── .openapi-generator │ │ │ │ │ └── VERSION │ │ │ │ │ ├── .gitignore │ │ │ │ │ └── index.ts │ │ │ │ └── public-api.ts │ │ └── test │ │ │ └── typescript │ │ │ ├── unit │ │ │ └── api-surface.ts │ │ │ └── integration │ │ │ └── api-surface.ts │ ├── README.md │ └── tsconfig.json ├── cactus-common │ ├── src │ │ ├── main │ │ │ └── typescript │ │ │ │ ├── index.ts │ │ │ │ ├── index.web.ts │ │ │ │ ├── public-api.ts │ │ │ │ └── strings.ts │ │ └── test │ │ │ └── typescript │ │ │ ├── unit │ │ │ └── api-surface.ts │ │ │ └── integration │ │ │ └── api-surface.ts │ ├── README.md │ └── tsconfig.json ├── cactus-core-api │ ├── src │ │ ├── main │ │ │ └── typescript │ │ │ │ ├── index.ts │ │ │ │ ├── index.web.ts │ │ │ │ └── plugin │ │ │ │ ├── plugin-factory.ts │ │ │ │ ├── web-service │ │ │ │ ├── i-express-request-handler.ts │ │ │ │ └── i-web-service-endpoint.ts │ │ │ │ ├── plugin-aspect.ts │ │ │ │ ├── keychain │ │ │ │ └── i-plugin-keychain.ts │ │ │ │ └── storage │ │ │ │ └── key-value │ │ │ │ └── i-plugin-kv-storage.ts │ │ └── test │ │ │ └── typescript │ │ │ ├── unit │ │ │ └── api-surface.ts │ │ │ └── integration │ │ │ └── api-surface.ts │ └── tsconfig.json ├── cactus-plugin-keychain-memory │ ├── src │ │ ├── main │ │ │ └── typescript │ │ │ │ ├── index.web.ts │ │ │ │ ├── index.ts │ │ │ │ ├── public-api.ts │ │ │ │ └── plugin-factory-keychain.ts │ │ └── test │ │ │ └── typescript │ │ │ ├── unit │ │ │ └── api-surface.ts │ │ │ └── integration │ │ │ └── api-surface.ts │ ├── README.md │ └── tsconfig.json ├── cactus-plugin-kv-storage-memory │ ├── src │ │ ├── main │ │ │ └── typescript │ │ │ │ ├── index.web.ts │ │ │ │ ├── index.ts │ │ │ │ ├── public-api.ts │ │ │ │ └── plugin-factory-kv-storage.ts │ │ └── test │ │ │ └── typescript │ │ │ ├── unit │ │ │ └── api-surface.ts │ │ │ └── integration │ │ │ └── api-surface.ts │ └── tsconfig.json ├── cactus-plugin-ledger-connector-besu │ ├── src │ │ ├── main │ │ │ └── typescript │ │ │ │ ├── index.web.ts │ │ │ │ ├── index.ts │ │ │ │ ├── public-api.ts │ │ │ │ └── plugin-factory-ledger-connector.ts │ │ └── test │ │ │ ├── typescript │ │ │ ├── unit │ │ │ │ └── api-surface.ts │ │ │ └── integration │ │ │ │ └── api-surface.ts │ │ │ └── solidity │ │ │ └── hello-world-contract │ │ │ └── HelloWorld.sol │ ├── README.md │ └── tsconfig.json ├── cactus-plugin-ledger-connector-quorum │ ├── src │ │ ├── main │ │ │ └── typescript │ │ │ │ ├── index.web.ts │ │ │ │ ├── index.ts │ │ │ │ ├── plugin-factory-ledger-connector.ts │ │ │ │ └── public-api.ts │ │ └── test │ │ │ ├── typescript │ │ │ ├── unit │ │ │ │ └── api-surface.ts │ │ │ └── integration │ │ │ │ └── api-surface.ts │ │ │ └── solidity │ │ │ └── hello-world-contract │ │ │ └── HelloWorld.sol │ ├── README.md │ └── tsconfig.json ├── cactus-test-plugin-web-service-consortium │ ├── src │ │ ├── main │ │ │ └── typescript │ │ │ │ ├── index.web.ts │ │ │ │ ├── public-api.ts │ │ │ │ └── index.ts │ │ └── test │ │ │ └── typescript │ │ │ ├── unit │ │ │ └── api-surface.ts │ │ │ └── integration │ │ │ └── api-surface.ts │ ├── tsconfig.json │ └── README.md ├── cactus-test-plugin-ledger-connector-quorum │ ├── src │ │ ├── main │ │ │ └── typescript │ │ │ │ ├── index.web.ts │ │ │ │ ├── public-api.ts │ │ │ │ └── index.ts │ │ └── test │ │ │ ├── typescript │ │ │ ├── unit │ │ │ │ └── api-surface.ts │ │ │ └── integration │ │ │ │ └── api-surface.ts │ │ │ └── solidity │ │ │ └── hello-world-contract │ │ │ └── HelloWorld.sol │ ├── tsconfig.json │ └── README.md ├── cactus-plugin-web-service-consortium │ ├── src │ │ ├── main │ │ │ └── typescript │ │ │ │ ├── index.ts │ │ │ │ ├── generated │ │ │ │ └── openapi │ │ │ │ │ └── typescript-axios │ │ │ │ │ ├── .openapi-generator │ │ │ │ │ └── VERSION │ │ │ │ │ ├── .gitignore │ │ │ │ │ └── index.ts │ │ │ │ ├── index.web.ts │ │ │ │ ├── public-api.ts │ │ │ │ └── plugin-factory-web-service-consortium.ts │ │ └── test │ │ │ └── typescript │ │ │ ├── unit │ │ │ └── api-surface.ts │ │ │ └── integration │ │ │ └── api-surface.ts │ ├── .gitignore │ └── tsconfig.json ├── ledger-plugin │ ├── go-ethereum │ │ └── validator │ │ │ ├── unit-test │ │ │ ├── .gitignore │ │ │ ├── geth-docker │ │ │ │ ├── .gitignore │ │ │ │ ├── logview.sh │ │ │ │ ├── down.sh │ │ │ │ ├── up.sh │ │ │ │ ├── init-chain.sh │ │ │ │ └── delete.sh │ │ │ ├── package.json │ │ │ └── config │ │ │ │ └── default.js │ │ │ └── src │ │ │ ├── .gitignore │ │ │ ├── setup.sh │ │ │ ├── dependent │ │ │ ├── template │ │ │ │ ├── package_template.json │ │ │ │ ├── PluginConfig_template.js │ │ │ │ └── PluginUtil_template.js │ │ │ ├── package.json │ │ │ └── PluginConfig.js │ │ │ ├── core │ │ │ ├── CA │ │ │ │ ├── connector.priv │ │ │ │ ├── connector.csr │ │ │ │ └── connector.crt │ │ │ ├── package.json │ │ │ └── config │ │ │ │ └── default.js │ │ │ ├── README.md │ │ │ └── build │ │ │ └── Dockerfile │ └── fabric │ │ └── validator │ │ ├── unit-test │ │ ├── .gitignore │ │ ├── fabric-docker │ │ │ └── .gitignore │ │ └── package.json │ │ └── src │ │ ├── .gitignore │ │ ├── setup.sh │ │ ├── dependent │ │ ├── template │ │ │ ├── package_template.json │ │ │ ├── PluginConfig_template.js │ │ │ └── PluginUtil_template.js │ │ ├── package.json │ │ └── PluginUtil.js │ │ ├── core │ │ ├── CA │ │ │ ├── connector.priv │ │ │ ├── connector.csr │ │ │ └── connector.crt │ │ ├── package.json │ │ └── config │ │ │ └── default.js │ │ ├── README.md │ │ └── build │ │ └── Dockerfile └── cactus-cockpit │ ├── src │ ├── environments │ │ └── environment.prod.ts │ ├── assets │ │ └── icon │ │ │ └── favicon.png │ ├── constants.ts │ ├── zone-flags.ts │ ├── main.ts │ └── app │ │ ├── folder │ │ ├── folder-routing.module.ts │ │ ├── folder.page.ts │ │ ├── folder.module.ts │ │ └── folder.page.scss │ │ └── app-routing.module.ts │ ├── ionic.config.json │ ├── capacitor.config.json │ ├── e2e │ ├── tsconfig.json │ └── src │ │ ├── app.po.ts │ │ └── app.e2e-spec.ts │ ├── tsconfig.app.json │ ├── tsconfig.spec.json │ ├── browserslist │ ├── .gitignore │ └── tsconfig.json ├── examples └── example01-marble-trade │ └── .gitkeep ├── tools ├── docker │ ├── quorum-all-in-one │ │ ├── passwords.txt │ │ ├── tm.pub │ │ ├── nodekey │ │ ├── tm.key │ │ ├── permissioned-nodes.json │ │ ├── docker-compose.yml │ │ ├── key │ │ ├── supervisord.conf │ │ └── hooks │ │ │ └── post_push │ └── besu-all-in-one │ │ ├── nodeKey.pub │ │ ├── key │ │ ├── nodeKey.key │ │ ├── key.pub │ │ ├── orion.conf │ │ ├── docker-compose.yml │ │ └── hooks │ │ └── post_push └── generate-secp256k1-key-pair.js ├── contribs ├── Accenture-BIF │ └── core │ │ ├── .eslintignore │ │ ├── examples │ │ └── simple-asset-transfer │ │ │ ├── scenarios │ │ │ └── README.md │ │ │ ├── fabric │ │ │ ├── api │ │ │ │ ├── README.md │ │ │ │ ├── .gitignore │ │ │ │ ├── config.json │ │ │ │ └── Dockerfile │ │ │ ├── scripts │ │ │ │ ├── README.md │ │ │ │ └── clean.sh │ │ │ ├── contracts │ │ │ │ └── src │ │ │ │ │ └── mycc │ │ │ │ │ └── vendor │ │ │ │ │ ├── github.com │ │ │ │ │ └── ethereum │ │ │ │ │ │ └── go-ethereum │ │ │ │ │ │ └── crypto │ │ │ │ │ │ └── secp256k1 │ │ │ │ │ │ └── libsecp256k1 │ │ │ │ │ │ ├── obj │ │ │ │ │ │ └── .gitignore │ │ │ │ │ │ ├── autogen.sh │ │ │ │ │ │ ├── TODO │ │ │ │ │ │ ├── src │ │ │ │ │ │ ├── modules │ │ │ │ │ │ │ ├── ecdh │ │ │ │ │ │ │ │ └── Makefile.am.include │ │ │ │ │ │ │ └── recovery │ │ │ │ │ │ │ │ └── Makefile.am.include │ │ │ │ │ │ └── java │ │ │ │ │ │ │ └── org_bitcoin_Secp256k1Context.c │ │ │ │ │ │ └── libsecp256k1.pc.in │ │ │ │ │ ├── golang.org │ │ │ │ │ └── x │ │ │ │ │ │ └── crypto │ │ │ │ │ │ └── sha3 │ │ │ │ │ │ ├── keccakf_amd64.go │ │ │ │ │ │ ├── xor.go │ │ │ │ │ │ ├── register.go │ │ │ │ │ │ └── shake_generic.go │ │ │ │ │ └── vendor.json │ │ │ └── artifacts │ │ │ │ └── channel │ │ │ │ ├── genesis.block │ │ │ │ ├── mychannel.tx │ │ │ │ ├── Org1MSPanchors.tx │ │ │ │ ├── Org2MSPanchors.tx │ │ │ │ └── crypto-config │ │ │ │ ├── ordererOrganizations │ │ │ │ └── example.com │ │ │ │ │ ├── users │ │ │ │ │ └── Admin@example.com │ │ │ │ │ │ ├── tls │ │ │ │ │ │ └── client.key │ │ │ │ │ │ └── msp │ │ │ │ │ │ └── keystore │ │ │ │ │ │ └── 4f7fd8a15c3aa7e5dbc57f99f9a2f287de0ab5e0265f09a39e482bf34edf1635_sk │ │ │ │ │ ├── orderers │ │ │ │ │ └── orderer.example.com │ │ │ │ │ │ ├── tls │ │ │ │ │ │ └── server.key │ │ │ │ │ │ └── msp │ │ │ │ │ │ └── keystore │ │ │ │ │ │ └── dc2beeeb0f6cce5f2faac21b7f895c2365393317de5ba09ff0dcd0b439db1071_sk │ │ │ │ │ ├── ca │ │ │ │ │ └── 970660783d1e269b48409d0d073b4ec5f95fe1175ea20944fa8f41b943b38f41_sk │ │ │ │ │ └── tlsca │ │ │ │ │ └── cb41003afb0a6449108e6846104316bf796ff6c59ef23afdc0fadd9428d17d02_sk │ │ │ │ └── peerOrganizations │ │ │ │ ├── org1.example.com │ │ │ │ ├── peers │ │ │ │ │ ├── peer0.org1.example.com │ │ │ │ │ │ ├── tls │ │ │ │ │ │ │ └── server.key │ │ │ │ │ │ └── msp │ │ │ │ │ │ │ └── keystore │ │ │ │ │ │ │ └── 5d92c6bdae24b39d460305a224ecd3e8ebfd53e436807d5cd4dadeb89153ca66_sk │ │ │ │ │ └── peer1.org1.example.com │ │ │ │ │ │ ├── tls │ │ │ │ │ │ └── server.key │ │ │ │ │ │ └── msp │ │ │ │ │ │ └── keystore │ │ │ │ │ │ └── 226f9d606d201d11fe710176ed1182815b059c82c3e83f936460fa1a243e60e3_sk │ │ │ │ ├── users │ │ │ │ │ ├── Admin@org1.example.com │ │ │ │ │ │ ├── tls │ │ │ │ │ │ │ └── client.key │ │ │ │ │ │ └── msp │ │ │ │ │ │ │ └── keystore │ │ │ │ │ │ │ └── eb8b466eb3e8b26ff4aaa0a87d9713061af8d6343dfa016ac96df1b52db476b0_sk │ │ │ │ │ └── User1@org1.example.com │ │ │ │ │ │ ├── tls │ │ │ │ │ │ └── client.key │ │ │ │ │ │ └── msp │ │ │ │ │ │ └── keystore │ │ │ │ │ │ └── 3facfe6a50a2df088a86cb13ce5a407cca0e925687ad98c31e38e8d934624a4d_sk │ │ │ │ ├── ca │ │ │ │ │ └── 02bf40a140bbff83ee44ab5dd35ae2012a094b9f1588d80101001ccd443112f8_sk │ │ │ │ └── tlsca │ │ │ │ │ └── aabf9ae2ff1061d18e0267d8e79dc37f01f1a9d0ea8bb9daf21616bce007ccdd_sk │ │ │ │ └── org2.example.com │ │ │ │ ├── peers │ │ │ │ ├── peer0.org2.example.com │ │ │ │ │ ├── tls │ │ │ │ │ │ └── server.key │ │ │ │ │ └── msp │ │ │ │ │ │ └── keystore │ │ │ │ │ │ └── a31932571eeb484d1f9ff613271b5d2b8e2a30166280b56dcfe026d08701aedb_sk │ │ │ │ └── peer1.org2.example.com │ │ │ │ │ ├── tls │ │ │ │ │ └── server.key │ │ │ │ │ └── msp │ │ │ │ │ └── keystore │ │ │ │ │ └── c8af0b2ce54e419ff1b49a2fd82204f0b8aa16dde958b73a11aec5ee5c40a273_sk │ │ │ │ ├── users │ │ │ │ ├── Admin@org2.example.com │ │ │ │ │ ├── tls │ │ │ │ │ │ └── client.key │ │ │ │ │ └── msp │ │ │ │ │ │ └── keystore │ │ │ │ │ │ └── fd7bc8c849d71070f5965a51bb0af1dfdb8a6d89490ed04331847329b462a2a2_sk │ │ │ │ └── User1@org2.example.com │ │ │ │ │ ├── tls │ │ │ │ │ └── client.key │ │ │ │ │ └── msp │ │ │ │ │ └── keystore │ │ │ │ │ └── 4f0ea1ed7105ca0b04fc0c312a039cc9832c2e99fdb806a7ab660c454ec7f5e8_sk │ │ │ │ ├── ca │ │ │ │ └── b8eba4f2c60dda729742700e1d517e19063fab8b987f50015fd4ba7b10c8918d_sk │ │ │ │ └── tlsca │ │ │ │ └── e5c3ee6efd8b6732d754317ccdd028bf09b17d7502f71e04db908a6a3c59adce_sk │ │ │ ├── besu │ │ │ ├── api │ │ │ │ ├── scripts │ │ │ │ │ ├── README.md │ │ │ │ │ └── register-actors.js │ │ │ │ ├── .npmrc │ │ │ │ ├── build │ │ │ │ │ └── .gitignore │ │ │ │ ├── web3_timestamp_fix.patch │ │ │ │ ├── Dockerfile │ │ │ │ ├── routes │ │ │ │ │ └── auth │ │ │ │ │ │ └── auth.validation.js │ │ │ │ ├── config │ │ │ │ │ └── winston.js │ │ │ │ ├── middlewares │ │ │ │ │ └── asyncErrorHandler.js │ │ │ │ ├── utils │ │ │ │ │ ├── web3.js │ │ │ │ │ └── JwtToken.js │ │ │ │ ├── index.js │ │ │ │ └── .env │ │ │ └── platform │ │ │ │ ├── besu │ │ │ │ └── .gitignore │ │ │ │ ├── config │ │ │ │ ├── orion │ │ │ │ │ └── networkFiles │ │ │ │ │ │ ├── orion1 │ │ │ │ │ │ ├── nodeKey.pub │ │ │ │ │ │ ├── nodeKey.key │ │ │ │ │ │ └── orion.conf │ │ │ │ │ │ ├── orion2 │ │ │ │ │ │ ├── nodeKey.pub │ │ │ │ │ │ ├── nodeKey.key │ │ │ │ │ │ └── orion.conf │ │ │ │ │ │ └── orion3 │ │ │ │ │ │ ├── nodeKey.pub │ │ │ │ │ │ ├── nodeKey.key │ │ │ │ │ │ └── orion.conf │ │ │ │ └── besu │ │ │ │ │ └── networkFiles │ │ │ │ │ ├── node1 │ │ │ │ │ └── keys │ │ │ │ │ │ ├── key │ │ │ │ │ │ └── key.pub │ │ │ │ │ ├── node2 │ │ │ │ │ └── keys │ │ │ │ │ │ ├── key │ │ │ │ │ │ └── key.pub │ │ │ │ │ ├── node3 │ │ │ │ │ └── keys │ │ │ │ │ │ ├── key │ │ │ │ │ │ └── key.pub │ │ │ │ │ ├── node4 │ │ │ │ │ └── keys │ │ │ │ │ │ ├── key │ │ │ │ │ │ └── key.pub │ │ │ │ │ ├── node5 │ │ │ │ │ └── keys │ │ │ │ │ │ ├── key │ │ │ │ │ │ └── key.pub │ │ │ │ │ ├── bootnode │ │ │ │ │ └── keys │ │ │ │ │ │ ├── key │ │ │ │ │ │ └── key.pub │ │ │ │ │ └── rpcnode │ │ │ │ │ └── keys │ │ │ │ │ ├── key │ │ │ │ │ └── key.pub │ │ │ │ ├── .editorconfig │ │ │ │ └── .gitignore │ │ │ ├── quorum │ │ │ ├── .dockerignore │ │ │ ├── api │ │ │ │ ├── scripts │ │ │ │ │ ├── README.md │ │ │ │ │ └── register-actors.js │ │ │ │ ├── .npmrc │ │ │ │ ├── build │ │ │ │ │ └── .gitignore │ │ │ │ ├── web3_timestamp_fix.patch │ │ │ │ ├── Dockerfile │ │ │ │ ├── routes │ │ │ │ │ └── auth │ │ │ │ │ │ └── auth.validation.js │ │ │ │ ├── config │ │ │ │ │ └── winston.js │ │ │ │ ├── middlewares │ │ │ │ │ └── asyncErrorHandler.js │ │ │ │ ├── utils │ │ │ │ │ ├── web3.js │ │ │ │ │ └── JwtToken.js │ │ │ │ └── index.js │ │ │ └── platform │ │ │ │ ├── passwords.txt │ │ │ │ ├── keys │ │ │ │ ├── tm1.pub │ │ │ │ ├── tm1a.pub │ │ │ │ ├── tm2.pub │ │ │ │ ├── tm2a.pub │ │ │ │ ├── tm3.pub │ │ │ │ ├── tm3a.pub │ │ │ │ ├── tm4.pub │ │ │ │ ├── tm4a.pub │ │ │ │ ├── tm5.pub │ │ │ │ ├── tm5a.pub │ │ │ │ ├── tm6.pub │ │ │ │ ├── tm6a.pub │ │ │ │ ├── tm7.pub │ │ │ │ ├── tm7a.pub │ │ │ │ ├── tm1.key │ │ │ │ ├── tm1a.key │ │ │ │ ├── tm2.key │ │ │ │ ├── tm2a.key │ │ │ │ ├── tm3.key │ │ │ │ ├── tm3a.key │ │ │ │ ├── tm4.key │ │ │ │ ├── tm4a.key │ │ │ │ ├── tm5.key │ │ │ │ ├── tm5a.key │ │ │ │ ├── tm6.key │ │ │ │ ├── tm6a.key │ │ │ │ ├── tm7.key │ │ │ │ ├── tm7a.key │ │ │ │ ├── key1 │ │ │ │ ├── key2 │ │ │ │ ├── key3 │ │ │ │ ├── key4 │ │ │ │ ├── key5 │ │ │ │ ├── key6 │ │ │ │ ├── key7 │ │ │ │ └── key8 │ │ │ │ └── raft │ │ │ │ ├── nodekey1 │ │ │ │ ├── nodekey2 │ │ │ │ ├── nodekey3 │ │ │ │ ├── nodekey4 │ │ │ │ ├── nodekey5 │ │ │ │ ├── nodekey6 │ │ │ │ └── nodekey7 │ │ │ ├── .npmrc │ │ │ ├── corda │ │ │ ├── clients │ │ │ │ └── src │ │ │ │ │ └── main │ │ │ │ │ └── resources │ │ │ │ │ ├── static │ │ │ │ │ ├── app.js │ │ │ │ │ └── index.html │ │ │ │ │ ├── application-A.properties │ │ │ │ │ ├── application-B.properties │ │ │ │ │ ├── application-D.properties │ │ │ │ │ └── application-C.properties │ │ │ ├── settings.gradle │ │ │ ├── gradle.properties │ │ │ ├── gradle │ │ │ │ └── wrapper │ │ │ │ │ ├── gradle-wrapper.jar │ │ │ │ │ └── gradle-wrapper.properties │ │ │ ├── TRADEMARK │ │ │ └── LICENCE │ │ │ ├── .dockerignore │ │ │ └── Dockerfile │ │ ├── .npmrc │ │ ├── config.json │ │ ├── .npmignore │ │ ├── src │ │ └── plugins │ │ │ └── contracts │ │ │ └── fabric │ │ │ └── src │ │ │ └── mycc │ │ │ └── vendor │ │ │ ├── github.com │ │ │ └── ethereum │ │ │ │ └── go-ethereum │ │ │ │ └── crypto │ │ │ │ └── secp256k1 │ │ │ │ └── libsecp256k1 │ │ │ │ ├── obj │ │ │ │ └── .gitignore │ │ │ │ ├── autogen.sh │ │ │ │ ├── TODO │ │ │ │ ├── src │ │ │ │ ├── modules │ │ │ │ │ ├── ecdh │ │ │ │ │ │ └── Makefile.am.include │ │ │ │ │ └── recovery │ │ │ │ │ │ └── Makefile.am.include │ │ │ │ └── java │ │ │ │ │ └── org_bitcoin_Secp256k1Context.c │ │ │ │ └── libsecp256k1.pc.in │ │ │ ├── golang.org │ │ │ └── x │ │ │ │ └── crypto │ │ │ │ └── sha3 │ │ │ │ ├── keccakf_amd64.go │ │ │ │ ├── xor.go │ │ │ │ ├── register.go │ │ │ │ └── shake_generic.go │ │ │ └── vendor.json │ │ ├── .prettierrc │ │ ├── main.js │ │ ├── tools │ │ └── cleanup.sh │ │ ├── Vagrantfile │ │ ├── tests │ │ └── connector.js │ │ ├── .gitignore │ │ └── jsdoc.config.json └── Fujitsu-ConnectionChain │ └── connection-chain │ └── environment │ ├── base │ └── cc_env │ │ ├── channel-artifacts │ │ └── .gitkeep │ │ ├── servers │ │ ├── appserver │ │ │ ├── mongodb │ │ │ │ ├── db │ │ │ │ │ └── .gitkeep │ │ │ │ └── mongodb.config │ │ │ ├── setup.sh │ │ │ ├── serviceapi │ │ │ │ ├── lib │ │ │ │ │ └── userImple │ │ │ │ │ │ └── UserErrorDef.js │ │ │ │ ├── config │ │ │ │ │ └── default.js │ │ │ │ └── package.json │ │ │ └── idle.sh │ │ ├── cooperation │ │ │ ├── ecSide │ │ │ │ ├── ec1_connector │ │ │ │ │ ├── lib │ │ │ │ │ │ └── dependent │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ ├── PluginConfig.js │ │ │ │ │ │ │ └── PluginUtil.js │ │ │ │ │ ├── CA │ │ │ │ │ │ ├── connector.priv │ │ │ │ │ │ ├── connector.csr │ │ │ │ │ │ └── connector.crt │ │ │ │ │ ├── package.json │ │ │ │ │ └── config │ │ │ │ │ │ └── default.js │ │ │ │ ├── ec2_connector │ │ │ │ │ ├── lib │ │ │ │ │ │ └── dependent │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ ├── PluginConfig.js │ │ │ │ │ │ │ └── PluginUtil.js │ │ │ │ │ ├── CA │ │ │ │ │ │ ├── connector.priv │ │ │ │ │ │ ├── connector.csr │ │ │ │ │ │ └── connector.crt │ │ │ │ │ ├── package.json │ │ │ │ │ └── config │ │ │ │ │ │ └── default.js │ │ │ │ ├── setup.sh │ │ │ │ ├── idle.sh │ │ │ │ └── build │ │ │ │ │ └── Dockerfile │ │ │ └── coreSide │ │ │ │ ├── setup.sh │ │ │ │ ├── ec1_adapter │ │ │ │ ├── CA │ │ │ │ │ ├── adapter.priv │ │ │ │ │ ├── adapter.csr │ │ │ │ │ └── adapter.crt │ │ │ │ ├── lib │ │ │ │ │ └── dependent │ │ │ │ │ │ └── PluginConfig.js │ │ │ │ ├── package.json │ │ │ │ └── config │ │ │ │ │ └── default.js │ │ │ │ ├── ec2_adapter │ │ │ │ ├── CA │ │ │ │ │ ├── adapter.priv │ │ │ │ │ ├── adapter.csr │ │ │ │ │ └── adapter.crt │ │ │ │ ├── lib │ │ │ │ │ └── dependent │ │ │ │ │ │ └── PluginConfig.js │ │ │ │ ├── package.json │ │ │ │ └── config │ │ │ │ │ └── default.js │ │ │ │ ├── idle.sh │ │ │ │ └── build │ │ │ │ └── Dockerfile │ │ └── restserver │ │ │ ├── coreapi │ │ │ ├── lib │ │ │ │ ├── common │ │ │ │ │ ├── exp │ │ │ │ │ │ └── package.json │ │ │ │ │ └── fabric_v1.0 │ │ │ │ │ │ └── package.json │ │ │ │ └── userImple │ │ │ │ │ └── UserErrorDef.js │ │ │ └── package.json │ │ │ ├── idle.sh │ │ │ ├── setup.sh │ │ │ └── build │ │ │ └── Dockerfile │ │ └── yaml-files │ │ └── crypto-config.yaml │ ├── sample │ ├── cc_env │ │ ├── channel-artifacts │ │ │ └── .gitkeep │ │ └── servers │ │ │ └── cooperation │ │ │ ├── ecSide │ │ │ └── connector │ │ │ │ └── lib │ │ │ │ ├── ec1_dependent │ │ │ │ ├── package.json │ │ │ │ ├── PluginConfig.js │ │ │ │ └── geth_getBlock.js │ │ │ │ └── ec2_dependent │ │ │ │ ├── package.json │ │ │ │ ├── PluginConfig.js │ │ │ │ └── geth_getBlock.js │ │ │ └── coreSide │ │ │ └── adapter │ │ │ └── lib │ │ │ ├── ec1_dependent │ │ │ └── PluginConfig.js │ │ │ └── ec2_dependent │ │ │ └── PluginConfig.js │ └── ec_env │ │ ├── logview.sh │ │ ├── down.sh │ │ ├── up.sh │ │ ├── init-chain.sh │ │ └── delete.sh │ └── network-topology.png ├── whitepaper ├── .gitignore ├── logo_hl_new.png ├── feature-value-transfer.png ├── interworking-architecture-diagram.png ├── architecture-with-plugin-and-routing.png ├── architecture-with-plugin-and-routing.pptx ├── communication-protocol-between-blp-and-lp.png ├── use-case-ethereum-to-quorum-asset-transfer.png ├── use-case-sequence-diagram-blockchain-migration.png ├── pontus-wellgraf-agCzLSG4_gE-unsplash-cropped-compressed.jpg └── use-case-sequence-diagram-end-user-wallet-authentication-authorization.png ├── CODEOWNERS ├── images ├── howto.txt ├── HL_Cactus_Logo_Color.png └── hyperledgercactus_color.png ├── .prettierrc.json ├── webpack.config.js ├── .prettierignore ├── typings ├── convict-format-with-validator │ └── index.d.ts ├── web3-eea │ └── index.d.ts └── is-port-reachable │ └── index.d.ts ├── .travis.yml ├── CODE-OF-CONDUCT.md ├── lerna.json ├── .github ├── ISSUE_TEMPLATE │ ├── user-story-template.md │ └── feature_request.md └── settings.yml ├── MAINTAINERS.md ├── tslint.json └── .gitignore /docs/ledger-plugin.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/routing-interface.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/business-logic-plugin.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/routing-interface/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/example01-marble-trade/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/business-logic-plugin/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tools/docker/quorum-all-in-one/passwords.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | test 3 | .tmp/ -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/scenarios/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/cactus-cmd-api-server/src/main/typescript/index.web.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cactus-test-tooling/src/main/typescript/index.web.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/.npmrc: -------------------------------------------------------------------------------- 1 | engine-strict=true 2 | package-lock=true 3 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/api/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/scripts/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/cactus-sdk/src/main/typescript/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./public-api"; 2 | -------------------------------------------------------------------------------- /tools/docker/quorum-all-in-one/tm.pub: -------------------------------------------------------------------------------- 1 | BULeR8JyUWhiuuCMU/HLA0Q5pzkYT+cHII3ZKBey3Bo= -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/api/scripts/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/.dockerignore: -------------------------------------------------------------------------------- 1 | api/build -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/api/scripts/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/passwords.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/cactus-common/src/main/typescript/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./public-api"; 2 | -------------------------------------------------------------------------------- /packages/cactus-core-api/src/main/typescript/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./public-api"; 2 | -------------------------------------------------------------------------------- /packages/cactus-plugin-keychain-memory/src/main/typescript/index.web.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cactus-plugin-kv-storage-memory/src/main/typescript/index.web.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cactus-sdk/src/main/typescript/index.web.ts: -------------------------------------------------------------------------------- 1 | export * from "./public-api"; 2 | -------------------------------------------------------------------------------- /tools/docker/besu-all-in-one/nodeKey.pub: -------------------------------------------------------------------------------- 1 | A1aVtMxLCUHmBVHXoZzzBgPbW/wj5axDpW9X8l91SGo= -------------------------------------------------------------------------------- /packages/cactus-cmd-api-server/src/main/typescript/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./public-api"; 2 | -------------------------------------------------------------------------------- /packages/cactus-common/src/main/typescript/index.web.ts: -------------------------------------------------------------------------------- 1 | export * from "./public-api"; 2 | -------------------------------------------------------------------------------- /packages/cactus-core-api/src/main/typescript/index.web.ts: -------------------------------------------------------------------------------- 1 | export * from "./public-api"; 2 | -------------------------------------------------------------------------------- /packages/cactus-plugin-ledger-connector-besu/src/main/typescript/index.web.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cactus-test-tooling/src/main/typescript/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./public-api"; 2 | -------------------------------------------------------------------------------- /whitepaper/.gitignore: -------------------------------------------------------------------------------- 1 | hyperledger-cactus-whitepaper.pdf 2 | hyperledger-cactus-whitepaper.html -------------------------------------------------------------------------------- /packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/index.web.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cactus-test-plugin-web-service-consortium/src/main/typescript/index.web.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /tools/docker/besu-all-in-one/key: -------------------------------------------------------------------------------- 1 | 0xfd5a230bc6b636cef22ed8ddee3810ae67dd8c6c8145b7b56749522459a38bc1 -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @jonathan-m-hamilton @petermetz 2 | /packages/connection-chain/ @sfuji822 @takeutak 3 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "timeout": 3000, 3 | "electionTimeout": 10000 4 | } -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/channel-artifacts/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/sample/cc_env/channel-artifacts/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/cactus-plugin-keychain-memory/src/main/typescript/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./public-api"; 2 | -------------------------------------------------------------------------------- /packages/cactus-plugin-kv-storage-memory/src/main/typescript/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./public-api"; 2 | -------------------------------------------------------------------------------- /packages/cactus-test-plugin-ledger-connector-quorum/src/main/typescript/index.web.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cactus-test-plugin-ledger-connector-quorum/src/main/typescript/public-api.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/cactus-test-plugin-web-service-consortium/src/main/typescript/public-api.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /images/howto.txt: -------------------------------------------------------------------------------- 1 | rsvg-convert -w 1280 -o hyperledgercactus.png -f png -a hyperledgercactus_color.svg 2 | -------------------------------------------------------------------------------- /packages/cactus-plugin-ledger-connector-besu/src/main/typescript/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./public-api"; 2 | -------------------------------------------------------------------------------- /packages/cactus-plugin-web-service-consortium/src/main/typescript/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./public-api"; 2 | -------------------------------------------------------------------------------- /packages/cactus-sdk/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/VERSION: -------------------------------------------------------------------------------- 1 | 4.2.3 -------------------------------------------------------------------------------- /tools/docker/quorum-all-in-one/nodekey: -------------------------------------------------------------------------------- 1 | 1be3b50b31734be48452c29d714941ba165ef0cbf3ccea8ca16c45e3d8d45fb0 2 | -------------------------------------------------------------------------------- /whitepaper/logo_hl_new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/embedded/cactus/master/whitepaper/logo_hl_new.png -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "printWidth": 80, 3 | "tabWidth": 2, 4 | "useTabs": false, 5 | "semi": true 6 | } -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/.npmrc: -------------------------------------------------------------------------------- 1 | engine-strict=true 2 | package-lock=true 3 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/appserver/mongodb/db/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./public-api"; 2 | -------------------------------------------------------------------------------- /packages/cactus-test-plugin-web-service-consortium/src/main/typescript/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./public-api"; 2 | -------------------------------------------------------------------------------- /packages/ledger-plugin/go-ethereum/validator/unit-test/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | package-lock.json 3 | 4 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/api/.npmrc: -------------------------------------------------------------------------------- 1 | engine-strict=true 2 | package-lock=true -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/api/.npmrc: -------------------------------------------------------------------------------- 1 | engine-strict=true 2 | package-lock=true -------------------------------------------------------------------------------- /images/HL_Cactus_Logo_Color.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/embedded/cactus/master/images/HL_Cactus_Logo_Color.png -------------------------------------------------------------------------------- /packages/cactus-plugin-web-service-consortium/.gitignore: -------------------------------------------------------------------------------- 1 | cactus-openapi-spec-plugin-web-service-consortium.json 2 | -------------------------------------------------------------------------------- /packages/cactus-test-plugin-ledger-connector-quorum/src/main/typescript/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./public-api"; 2 | -------------------------------------------------------------------------------- /packages/ledger-plugin/fabric/validator/unit-test/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | package-lock.json 3 | wallet/ 4 | 5 | -------------------------------------------------------------------------------- /images/hyperledgercactus_color.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/embedded/cactus/master/images/hyperledgercactus_color.png -------------------------------------------------------------------------------- /tools/docker/besu-all-in-one/nodeKey.key: -------------------------------------------------------------------------------- 1 | {"data":{"bytes":"hBsuQsGJzx4QHmFmBkNoI7YGnTmaZP4P+wBOdu56ljk="},"type":"unlocked"} -------------------------------------------------------------------------------- /tools/docker/quorum-all-in-one/tm.key: -------------------------------------------------------------------------------- 1 | {"data":{"bytes":"Wl+xSyXVuuqzpvznOS7dOobhcn4C5auxkFRi7yLtgtA="},"type":"unlocked"} -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/.npmignore: -------------------------------------------------------------------------------- 1 | .github/ 2 | .tmp/ 3 | .vscode/ 4 | bin/ 5 | docs/ 6 | examples/ 7 | testes/ 8 | tools/ -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/api/.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules/* 2 | /fabric-client-kv-org* 3 | -------------------------------------------------------------------------------- /packages/cactus-cockpit/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true, 3 | }; 4 | -------------------------------------------------------------------------------- /whitepaper/feature-value-transfer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/embedded/cactus/master/whitepaper/feature-value-transfer.png -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/tm1.pub: -------------------------------------------------------------------------------- 1 | BULeR8JyUWhiuuCMU/HLA0Q5pzkYT+cHII3ZKBey3Bo= -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/tm1a.pub: -------------------------------------------------------------------------------- 1 | 8SjRHlUBe4hAmTk3KDeJ96RhN+s10xRrHDrxEi1O5W0= -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/tm2.pub: -------------------------------------------------------------------------------- 1 | QfeDAys9MPDs2XHExtc84jKGHxZg/aj52DTh0vtA3Xc= -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/tm2a.pub: -------------------------------------------------------------------------------- 1 | 2T7xkjblN568N1QmPeElTjoeoNT4tkWYOJYxSMDO5i0= -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/tm3.pub: -------------------------------------------------------------------------------- 1 | 1iTZde/ndBHvzhcl7V68x44Vx7pl8nwx9LqnM/AfJUg= -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/tm3a.pub: -------------------------------------------------------------------------------- 1 | 3nLS1GSlPs3/AccoZ20WTBrYP/ua5KDlUM1uGrDKHTs= -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/tm4.pub: -------------------------------------------------------------------------------- 1 | oNspPPgszVUFw0qmGFfWwh1uxVUXgvBxleXORHj07g8= -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/tm4a.pub: -------------------------------------------------------------------------------- 1 | Xtda1lz7BhlawE7i0+irPiS9i9StS3Q0EtQ9/fOvPXw= -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/tm5.pub: -------------------------------------------------------------------------------- 1 | R56gy4dn24YOjwyesTczYa8m5xhP6hF2uTMCju/1xkY= -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/tm5a.pub: -------------------------------------------------------------------------------- 1 | ui8aK5m91usNnp6X7ZHvyRc8MNpn8ge4i2avXmev2VQ= -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/tm6.pub: -------------------------------------------------------------------------------- 1 | UfNSeSGySeKg11DVNEnqrUtxYRVor4+CvluI8tVv62Y= -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/tm6a.pub: -------------------------------------------------------------------------------- 1 | /7PFjGizIvQGFVggkHaFDcv5nscjLKhPzqq3QIlpKwI= -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/tm7.pub: -------------------------------------------------------------------------------- 1 | ROAZBWtSacxXQrOe3FGAqJDyJjFePR5ce4TSIzmJ0Bc= -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/tm7a.pub: -------------------------------------------------------------------------------- 1 | jqSRkPFJ8S1EZtYhnn3ZxMRWglbUvZ0+Rb1W5JquaBk= -------------------------------------------------------------------------------- /packages/cactus-plugin-web-service-consortium/src/main/typescript/generated/openapi/typescript-axios/.openapi-generator/VERSION: -------------------------------------------------------------------------------- 1 | 4.2.3 -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- 1 | module.exports = (_, options) => { 2 | return require(`./webpack.${options.env}.${options.target}.js`); 3 | }; 4 | -------------------------------------------------------------------------------- /packages/cactus-plugin-web-service-consortium/src/main/typescript/index.web.ts: -------------------------------------------------------------------------------- 1 | export * from "./generated/openapi/typescript-axios/index"; 2 | -------------------------------------------------------------------------------- /packages/cactus-sdk/src/main/typescript/generated/openapi/typescript-axios/.gitignore: -------------------------------------------------------------------------------- 1 | wwwroot/*.js 2 | node_modules 3 | typings 4 | dist 5 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/platform/besu/.gitignore: -------------------------------------------------------------------------------- 1 | # Created by .ignore support plugin (hsz.mobi) 2 | /besu/ 3 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/src/plugins/contracts/fabric/src/mycc/vendor/github.com/ethereum/go-ethereum/crypto/secp256k1/libsecp256k1/obj/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /whitepaper/interworking-architecture-diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/embedded/cactus/master/whitepaper/interworking-architecture-diagram.png -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | *.d.ts 2 | **/dist/ 3 | **/bin/ 4 | **/.nyc_output/ 5 | **/www/ 6 | **/generated/ 7 | packages/core 8 | packages/connection-chain 9 | contribs/ -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/raft/nodekey1: -------------------------------------------------------------------------------- 1 | 1be3b50b31734be48452c29d714941ba165ef0cbf3ccea8ca16c45e3d8d45fb0 2 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/raft/nodekey2: -------------------------------------------------------------------------------- 1 | 9bdd6a2e7cc1ca4a4019029df3834d2633ea6e14034d6dcc3b944396fe13a08b 2 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/raft/nodekey3: -------------------------------------------------------------------------------- 1 | 722f11686b2277dcbd72713d8a3c81c666b585c337d47f503c3c1f3c17cf001d 2 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/raft/nodekey4: -------------------------------------------------------------------------------- 1 | 6af685c4de99d44c620ccd9464d19bdeb62a750b9ae49b1740fb28d68a0e5c7d 2 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/raft/nodekey5: -------------------------------------------------------------------------------- 1 | 103bb5d20384b9af9f693d4287822fef6da7d79cb2317ed815f0081c7ea8d17d 2 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/raft/nodekey6: -------------------------------------------------------------------------------- 1 | 79999aef8d5197446b6051df47f01fd4d6dd1997aec3f5282e77ea27b6727346 2 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/raft/nodekey7: -------------------------------------------------------------------------------- 1 | e85dae073b504871ffd7946bf5f45e6fa8dc09eb1536a48c4b6822332008973d 2 | -------------------------------------------------------------------------------- /packages/cactus-cockpit/src/assets/icon/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/embedded/cactus/master/packages/cactus-cockpit/src/assets/icon/favicon.png -------------------------------------------------------------------------------- /typings/convict-format-with-validator/index.d.ts: -------------------------------------------------------------------------------- 1 | 2 | declare module "convict-format-with-validator" { 3 | 4 | export const ipaddress: any; 5 | 6 | } 7 | -------------------------------------------------------------------------------- /whitepaper/architecture-with-plugin-and-routing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/embedded/cactus/master/whitepaper/architecture-with-plugin-and-routing.png -------------------------------------------------------------------------------- /whitepaper/architecture-with-plugin-and-routing.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/embedded/cactus/master/whitepaper/architecture-with-plugin-and-routing.pptx -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/platform/config/orion/networkFiles/orion1/nodeKey.pub: -------------------------------------------------------------------------------- 1 | A1aVtMxLCUHmBVHXoZzzBgPbW/wj5axDpW9X8l91SGo= -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/platform/config/orion/networkFiles/orion2/nodeKey.pub: -------------------------------------------------------------------------------- 1 | Ko2bVqD+nNlNYL5EE7y3IdOnviftjiizpjRt+HTuFBs= -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/platform/config/orion/networkFiles/orion3/nodeKey.pub: -------------------------------------------------------------------------------- 1 | k2zXEin4Ip/qBGlRkJejnGWdP9cjkK+DAvKNW31L2C8= -------------------------------------------------------------------------------- /packages/cactus-sdk/src/main/typescript/public-api.ts: -------------------------------------------------------------------------------- 1 | export { ApiClient } from "./api-client"; 2 | export * from "./generated/openapi/typescript-axios/index"; 3 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/api/build/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/corda/clients/src/main/resources/static/app.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | // Define your client-side logic here. -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/contracts/src/mycc/vendor/github.com/ethereum/go-ethereum/crypto/secp256k1/libsecp256k1/obj/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/api/build/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore -------------------------------------------------------------------------------- /packages/cactus-cockpit/ionic.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Cactus Cockpit", 3 | "integrations": { 4 | "capacitor": {} 5 | }, 6 | "type": "angular" 7 | } 8 | -------------------------------------------------------------------------------- /packages/cactus-plugin-web-service-consortium/src/main/typescript/generated/openapi/typescript-axios/.gitignore: -------------------------------------------------------------------------------- 1 | wwwroot/*.js 2 | node_modules 3 | typings 4 | dist 5 | -------------------------------------------------------------------------------- /packages/cactus-sdk/README.md: -------------------------------------------------------------------------------- 1 | # `@hyperledger/cactus-sdk` 2 | 3 | > TODO: description 4 | 5 | ## Usage 6 | 7 | ``` 8 | // TODO: DEMONSTRATE API 9 | ``` 10 | -------------------------------------------------------------------------------- /packages/ledger-plugin/go-ethereum/validator/unit-test/geth-docker/.gitignore: -------------------------------------------------------------------------------- 1 | data-ec1 2 | data-ec2 3 | genesis/genesis-ec1.json 4 | genesis/genesis-ec2.json 5 | 6 | -------------------------------------------------------------------------------- /tools/docker/besu-all-in-one/key.pub: -------------------------------------------------------------------------------- 1 | 0x05e2aab6df08db103fd75c4fb2b8582fe43eebce6a0f077b590a5e7f44ed081e498fa2c57788372d7bc0c41a34394f34c5c11332f4473a1bdf83589316edc2c4 -------------------------------------------------------------------------------- /whitepaper/communication-protocol-between-blp-and-lp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/embedded/cactus/master/whitepaper/communication-protocol-between-blp-and-lp.png -------------------------------------------------------------------------------- /whitepaper/use-case-ethereum-to-quorum-asset-transfer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/embedded/cactus/master/whitepaper/use-case-ethereum-to-quorum-asset-transfer.png -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/corda/settings.gradle: -------------------------------------------------------------------------------- 1 | include 'workflows' 2 | include 'contracts' 3 | include 'clients' 4 | include 'testing' 5 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/tm1.key: -------------------------------------------------------------------------------- 1 | {"data":{"bytes":"Wl+xSyXVuuqzpvznOS7dOobhcn4C5auxkFRi7yLtgtA="},"type":"unlocked"} -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/tm1a.key: -------------------------------------------------------------------------------- 1 | {"data":{"bytes":"wGEar7J9G0JAgdisp61ZChyrJWeW2QPyKvecjjeVHOY="},"type":"unlocked"} -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/tm2.key: -------------------------------------------------------------------------------- 1 | {"data":{"bytes":"nDFwJNHSiT1gNzKBy9WJvMhmYRkW3TzFUmPsNzR6oFk="},"type":"unlocked"} -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/tm2a.key: -------------------------------------------------------------------------------- 1 | {"data":{"bytes":"rwfJC1kNa8BjPfc+zZXug+it9sdWa0vbdN6pp6IXlAs="},"type":"unlocked"} -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/tm3.key: -------------------------------------------------------------------------------- 1 | {"data":{"bytes":"tMxUVR8bX7aq/TbpVHc2QV3SN2iUuExBwefAuFsO0Lg="},"type":"unlocked"} -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/tm3a.key: -------------------------------------------------------------------------------- 1 | {"data":{"bytes":"yLcbICXicELZOnvpkDXB2UkQUiNAMIfsEOsgtFOGkQU="},"type":"unlocked"} -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/tm4.key: -------------------------------------------------------------------------------- 1 | {"data":{"bytes":"grQjd3dBp4qFs8/5Jdq7xjz++aUx/LXAqISFyPWaCRw="},"type":"unlocked"} -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/tm4a.key: -------------------------------------------------------------------------------- 1 | {"data":{"bytes":"dZAr1f6Nlqe03dj3nBFKE9eSW2Tp66do7edRtKiKrew="},"type":"unlocked"} -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/tm5.key: -------------------------------------------------------------------------------- 1 | {"data":{"bytes":"W8XcdJfOuxCrLcspSceNg9vh7Cwe8tXiIx5xPJ88OtQ="},"type":"unlocked"} -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/tm5a.key: -------------------------------------------------------------------------------- 1 | {"data":{"bytes":"NPUunmb2Z/BKDcZ+6Ve68DdmHxqtn5G998i1o42sNqw="},"type":"unlocked"} -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/tm6.key: -------------------------------------------------------------------------------- 1 | {"data":{"bytes":"N9wH6bG0lWOCJtSnosatAskvzkrDApdrjaWkqjDyDzE="},"type":"unlocked"} -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/tm6a.key: -------------------------------------------------------------------------------- 1 | {"data":{"bytes":"SemNV0lKNKdUoFyhe0xmLZzVoLUshKvu5OwG2MfbHYM="},"type":"unlocked"} -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/tm7.key: -------------------------------------------------------------------------------- 1 | {"data":{"bytes":"lesaO6EWbmL1rie1biy851BnN1QsRRDK4kWUimlK0EA="},"type":"unlocked"} -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/tm7a.key: -------------------------------------------------------------------------------- 1 | {"data":{"bytes":"yko+cM/ULnan7wjcrOqWEW+G9nmr1DQATAxpmiiqH8E="},"type":"unlocked"} -------------------------------------------------------------------------------- /packages/ledger-plugin/fabric/validator/unit-test/fabric-docker/.gitignore: -------------------------------------------------------------------------------- 1 | chaincode/hyperledger 2 | fabcar/javascript/wallet 3 | fabcar/javascript/node_modules 4 | 5 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/platform/config/besu/networkFiles/node1/keys/key: -------------------------------------------------------------------------------- 1 | 8f2a55949038a9610f50fb23b5883af3b4ecb3c3bb792cbcefbd1542c692be63 -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/platform/config/besu/networkFiles/node2/keys/key: -------------------------------------------------------------------------------- 1 | c87509a1c067bbde78beb793e6fa76530b6382a4c0241e5e4a9ec0a0f44dc0d3 -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/platform/config/besu/networkFiles/node3/keys/key: -------------------------------------------------------------------------------- 1 | ae6ae8e5ccbfb04590405997ee2d52d2b330726137b875053c36d94e974d162f -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/platform/config/besu/networkFiles/node4/keys/key: -------------------------------------------------------------------------------- 1 | 0x90bc4259e10c215ee781a674c1728b40fd8f373a5422f59d0f30e698e3b99aa7 -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/platform/config/besu/networkFiles/node5/keys/key: -------------------------------------------------------------------------------- 1 | 0xa24c2ff06b615eaeae8a351c7100b4f21e57df7fc2bf0ff5a634dbd3b55f9afe -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/corda/gradle.properties: -------------------------------------------------------------------------------- 1 | name=Test 2 | group=com.accenture.interoperability 3 | version=0.1 4 | kotlin.incremental=false -------------------------------------------------------------------------------- /packages/cactus-cockpit/src/constants.ts: -------------------------------------------------------------------------------- 1 | import { InjectionToken } from "@angular/core"; 2 | 3 | export const CACTUS_API_URL = new InjectionToken("CACTUS_API_URL"); 4 | -------------------------------------------------------------------------------- /packages/cactus-common/README.md: -------------------------------------------------------------------------------- 1 | # `@hyperledger/cactus-common` 2 | 3 | > TODO: description 4 | 5 | ## Usage 6 | 7 | ``` 8 | // TODO: DEMONSTRATE API 9 | ``` 10 | -------------------------------------------------------------------------------- /packages/cactus-core-api/src/main/typescript/plugin/plugin-factory.ts: -------------------------------------------------------------------------------- 1 | export abstract class PluginFactory { 2 | abstract async create(options: K): Promise; 3 | } 4 | -------------------------------------------------------------------------------- /whitepaper/use-case-sequence-diagram-blockchain-migration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/embedded/cactus/master/whitepaper/use-case-sequence-diagram-blockchain-migration.png -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/platform/config/besu/networkFiles/bootnode/keys/key: -------------------------------------------------------------------------------- 1 | 0xfd5a230bc6b636cef22ed8ddee3810ae67dd8c6c8145b7b56749522459a38bc1 -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/platform/config/besu/networkFiles/rpcnode/keys/key: -------------------------------------------------------------------------------- 1 | 0xf8a08ad5a8ae7c8e556260dfd8f77ab9bd25a5cf14ee3dadd74f5584a234b23a -------------------------------------------------------------------------------- /packages/cactus-test-tooling/README.md: -------------------------------------------------------------------------------- 1 | # `@hyperledger/cactus-test-tooling` 2 | 3 | > TODO: description 4 | 5 | ## Usage 6 | 7 | ``` 8 | // TODO: DEMONSTRATE API 9 | ``` 10 | -------------------------------------------------------------------------------- /docs/images/blockchain-integration-framework-high-level-workflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/embedded/cactus/master/docs/images/blockchain-integration-framework-high-level-workflow.png -------------------------------------------------------------------------------- /whitepaper/pontus-wellgraf-agCzLSG4_gE-unsplash-cropped-compressed.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/embedded/cactus/master/whitepaper/pontus-wellgraf-agCzLSG4_gE-unsplash-cropped-compressed.jpg -------------------------------------------------------------------------------- /packages/ledger-plugin/go-ethereum/validator/src/.gitignore: -------------------------------------------------------------------------------- 1 | core/node_modules/ 2 | core/package-lock.json 3 | dependent/node_modules/ 4 | dependent/package-lock.json 5 | core/npm-debug.log 6 | 7 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/platform/config/orion/networkFiles/orion1/nodeKey.key: -------------------------------------------------------------------------------- 1 | {"data":{"bytes":"hBsuQsGJzx4QHmFmBkNoI7YGnTmaZP4P+wBOdu56ljk="},"type":"unlocked"} -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/platform/config/orion/networkFiles/orion2/nodeKey.key: -------------------------------------------------------------------------------- 1 | {"data":{"bytes":"wjeHURxQJUqZvhjMv+lxoRlXYnX/mpm0Iu/ldBr32Qs="},"type":"unlocked"} -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/platform/config/orion/networkFiles/orion3/nodeKey.key: -------------------------------------------------------------------------------- 1 | {"data":{"bytes":"QmBfzDOxF99iInkXAPBAZpQQfelvPmHqbcO8tNHYtJM="},"type":"unlocked"} -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/sample/ec_env/logview.sh: -------------------------------------------------------------------------------- 1 | # Copyright 2019 Fujitsu Laboratories Ltd. 2 | # SPDX-License-Identifier: Apache-2.0 3 | docker-compose logs -f 4 | -------------------------------------------------------------------------------- /packages/ledger-plugin/go-ethereum/validator/unit-test/geth-docker/logview.sh: -------------------------------------------------------------------------------- 1 | # Copyright 2019-2020 Fujitsu Laboratories Ltd. 2 | # SPDX-License-Identifier: Apache-2.0 3 | docker-compose logs -f 4 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/src/plugins/contracts/fabric/src/mycc/vendor/github.com/ethereum/go-ethereum/crypto/secp256k1/libsecp256k1/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | autoreconf -if --warnings=all 4 | -------------------------------------------------------------------------------- /packages/cactus-plugin-keychain-memory/README.md: -------------------------------------------------------------------------------- 1 | # `@hyperledger/cactus-plugin-keychain-memory` 2 | 3 | > TODO: description 4 | 5 | ## Usage 6 | 7 | ``` 8 | // TODO: DEMONSTRATE API 9 | ``` 10 | -------------------------------------------------------------------------------- /packages/cactus-cockpit/src/zone-flags.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Prevents Angular change detection from 3 | * running with certain Web Component callbacks 4 | */ 5 | (window as any).__Zone_disable_customElements = true; 6 | -------------------------------------------------------------------------------- /packages/cactus-core-api/src/main/typescript/plugin/web-service/i-express-request-handler.ts: -------------------------------------------------------------------------------- 1 | export type IExpressRequestHandler = ( 2 | req: any, 3 | res: any, 4 | next: (err: any) => void 5 | ) => void; 6 | -------------------------------------------------------------------------------- /packages/cactus-plugin-ledger-connector-besu/README.md: -------------------------------------------------------------------------------- 1 | # `@hyperledger/cactus-plugin-ledger-connector` 2 | 3 | > TODO: description 4 | 5 | ## Usage 6 | 7 | ``` 8 | // TODO: DEMONSTRATE API 9 | ``` 10 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/network-topology.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/embedded/cactus/master/contribs/Fujitsu-ConnectionChain/connection-chain/environment/network-topology.png -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/contracts/src/mycc/vendor/github.com/ethereum/go-ethereum/crypto/secp256k1/libsecp256k1/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | autoreconf -if --warnings=all 4 | -------------------------------------------------------------------------------- /packages/cactus-plugin-ledger-connector-quorum/README.md: -------------------------------------------------------------------------------- 1 | # `@hyperledger/cactus-plugin-ledger-connector-quorum` 2 | 3 | > TODO: description 4 | 5 | ## Usage 6 | 7 | ``` 8 | // TODO: DEMONSTRATE API 9 | ``` 10 | -------------------------------------------------------------------------------- /whitepaper/use-case-sequence-diagram-end-user-wallet-authentication-authorization.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/embedded/cactus/master/whitepaper/use-case-sequence-diagram-end-user-wallet-authentication-authorization.png -------------------------------------------------------------------------------- /packages/ledger-plugin/fabric/validator/src/.gitignore: -------------------------------------------------------------------------------- 1 | core/node_modules/ 2 | core/package-lock.json 3 | dependent/node_modules/ 4 | dependent/package-lock.json 5 | core/npm-debug.log 6 | dependent/wallet/ 7 | core/wallet/ 8 | 9 | -------------------------------------------------------------------------------- /packages/ledger-plugin/fabric/validator/src/setup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Copyright 2019-2020 Fujitsu Laboratories Ltd. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | cd ./core 6 | npm install 7 | cd ../dependent 8 | npm install 9 | -------------------------------------------------------------------------------- /packages/cactus-cockpit/capacitor.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "appId": "org.hyperledger.cactus", 3 | "appName": "Cactus Cockpit", 4 | "bundledWebRuntime": false, 5 | "npmClient": "npm", 6 | "webDir": "www", 7 | "cordova": {} 8 | } 9 | -------------------------------------------------------------------------------- /packages/ledger-plugin/fabric/validator/src/dependent/template/package_template.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "dependent", 3 | "version": "0.0.0", 4 | "scripts": { 5 | "test": "echo \"Error: no test specified\" && exit 1" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/ledger-plugin/go-ethereum/validator/src/setup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Copyright 2019-2020 Fujitsu Laboratories Ltd. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | cd ./core 6 | npm install 7 | cd ../dependent 8 | npm install 9 | -------------------------------------------------------------------------------- /packages/ledger-plugin/go-ethereum/validator/unit-test/geth-docker/down.sh: -------------------------------------------------------------------------------- 1 | # Copyright 2019-2020 Fujitsu Laboratories Ltd. 2 | # SPDX-License-Identifier: Apache-2.0 3 | docker-compose -f docker-init.yml down 4 | docker-compose down 5 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/sample/ec_env/down.sh: -------------------------------------------------------------------------------- 1 | # Copyright 2019 Fujitsu Laboratories Ltd. 2 | # SPDX-License-Identifier: Apache-2.0 3 | docker-compose -f docker-init.yml down 4 | docker-compose down 5 | -------------------------------------------------------------------------------- /packages/ledger-plugin/go-ethereum/validator/src/dependent/template/package_template.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "dependent", 3 | "version": "0.0.0", 4 | "scripts": { 5 | "test": "echo \"Error: no test specified\" && exit 1" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 12 4 | - 14 5 | 6 | os: linux 7 | 8 | dist: bionic 9 | 10 | services: 11 | - docker 12 | 13 | script: 14 | - ./tools/ci.sh 15 | 16 | after_script: 17 | - docker ps -a 18 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/platform/config/besu/networkFiles/node1/keys/key.pub: -------------------------------------------------------------------------------- 1 | 0x3548c87b9920ff16aa4bdcf01c85f25117a29ae1574d759bad48cc9463d8e9f7c3c1d1e9fb0d28e73898951f90e02714abb770fd6d22e90371882a45658800e9 -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/platform/config/besu/networkFiles/node2/keys/key.pub: -------------------------------------------------------------------------------- 1 | 0xdcb9390953aec5dde1d60dd556c36827053ca9adaefd1b03f531592fea43824bae2919743f620bb8a9b6c2b9a54439771d4f9a74d261b74af7a10c2dd9f13c97 -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/platform/config/besu/networkFiles/node4/keys/key.pub: -------------------------------------------------------------------------------- 1 | 0x3548c87b9920ff16aa4bdcf01c85f25117a29ae1574d759bad48cc9463d8e9f7c3c1d1e9fb0d28e73898951f90e02714abb770fd6d22e90371882a45658800e9 -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/platform/config/besu/networkFiles/node5/keys/key.pub: -------------------------------------------------------------------------------- 1 | 0xdcb9390953aec5dde1d60dd556c36827053ca9adaefd1b03f531592fea43824bae2919743f620bb8a9b6c2b9a54439771d4f9a74d261b74af7a10c2dd9f13c97 -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/platform/config/besu/networkFiles/rpcnode/keys/key.pub: -------------------------------------------------------------------------------- 1 | 0xe64f7af088eb0c51ddfa9700dbe0e00771b26b12e8e622fdc54027b20632701d49926ad46836133fb752912569437eb6a53b6196777cb0516c96ae5a4f90cf3a -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/artifacts/channel/genesis.block: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/embedded/cactus/master/contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/artifacts/channel/genesis.block -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/artifacts/channel/mychannel.tx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/embedded/cactus/master/contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/artifacts/channel/mychannel.tx -------------------------------------------------------------------------------- /packages/cactus-core-api/src/main/typescript/plugin/plugin-aspect.ts: -------------------------------------------------------------------------------- 1 | export enum PluginAspect { 2 | KEYCHAIN = "KEYCHAIN", 3 | LEDGER_CONNECTOR = "LEDGER_CONNECTOR", 4 | KV_STORAGE = "KV_STORAGE", 5 | WEB_SERVICE = "WEB_SERVICE", 6 | } 7 | -------------------------------------------------------------------------------- /packages/cactus-test-tooling/src/main/typescript/i-test-ledger.ts: -------------------------------------------------------------------------------- 1 | import { Container } from "dockerode"; 2 | 3 | export interface ITestLedger { 4 | start(): Promise; 5 | stop(): Promise; 6 | destroy(): Promise; 7 | } 8 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/platform/config/besu/networkFiles/bootnode/keys/key.pub: -------------------------------------------------------------------------------- 1 | 0x05e2aab6df08db103fd75c4fb2b8582fe43eebce6a0f077b590a5e7f44ed081e498fa2c57788372d7bc0c41a34394f34c5c11332f4473a1bdf83589316edc2c4 -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/platform/config/besu/networkFiles/node3/keys/key.pub: -------------------------------------------------------------------------------- 1 | 0x955991c6bf3e2a0c0d7b946afd4b8d30ff1982a697e04182b441043105a92c9c2b922b707b1adffdb5fa5cd37bc75c48f9e6bce900bda95731e66f49e052da12 2 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/corda/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/embedded/cactus/master/contribs/Accenture-BIF/core/examples/simple-asset-transfer/corda/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/artifacts/channel/Org1MSPanchors.tx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/embedded/cactus/master/contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/artifacts/channel/Org1MSPanchors.tx -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/artifacts/channel/Org2MSPanchors.tx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/embedded/cactus/master/contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/artifacts/channel/Org2MSPanchors.tx -------------------------------------------------------------------------------- /packages/ledger-plugin/go-ethereum/validator/unit-test/geth-docker/up.sh: -------------------------------------------------------------------------------- 1 | # Copyright 2019-2020 Fujitsu Laboratories Ltd. 2 | # SPDX-License-Identifier: Apache-2.0 3 | docker network create ec1net 4 | docker network create ec2net 5 | docker-compose up -d 6 | -------------------------------------------------------------------------------- /tools/docker/quorum-all-in-one/permissioned-nodes.json: -------------------------------------------------------------------------------- 1 | [ 2 | "enode://ac6b1096ca56b9f6d004b779ae3728bf83f8e22453404cc3cef16a3d9b96608bc67c4b30db88e0a5a6c6390213f7acbe1153ff6d23ce57380104288ae19373ef@127.0.0.1:21000?discport=30301&raftport=50401" 3 | ] 4 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/sample/ec_env/up.sh: -------------------------------------------------------------------------------- 1 | # Copyright 2019 Fujitsu Laboratories Ltd. 2 | # SPDX-License-Identifier: Apache-2.0 3 | docker network create ec1net 4 | docker network create ec2net 5 | docker-compose up -d 6 | -------------------------------------------------------------------------------- /CODE-OF-CONDUCT.md: -------------------------------------------------------------------------------- 1 | Code of Conduct Guidelines 2 | ========================== 3 | 4 | Please review the Hyperledger [Code of Conduct](https://wiki.hyperledger.org/community/hyperledger-project-code-of-conduct) before participating and abide by these community standards. -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/api/web3_timestamp_fix.patch: -------------------------------------------------------------------------------- 1 | 266c266 2 | < block.timestamp = utils.hexToNumber(block.timestamp); 3 | --- 4 | > block.timestamp = Number.parseInt(parseInt(block.timestamp).toString().substring(0,10)); 5 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/api/web3_timestamp_fix.patch: -------------------------------------------------------------------------------- 1 | 266c266 2 | < block.timestamp = utils.hexToNumber(block.timestamp); 3 | --- 4 | > block.timestamp = Number.parseInt(parseInt(block.timestamp).toString().substring(0,10)); 5 | -------------------------------------------------------------------------------- /docs/tutorials/tutorials.json: -------------------------------------------------------------------------------- 1 | { 2 | "simple-asset-transfer": { 3 | "title": "Simple Asset Transfer Setup" 4 | }, 5 | "connector": { 6 | "title": "How To Extend Connectors" 7 | }, 8 | "troubleshooting": { 9 | "title": "Known Issues" 10 | } 11 | } -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/appserver/mongodb/mongodb.config: -------------------------------------------------------------------------------- 1 | # Copyright 2019 Fujitsu Laboratories Ltd. 2 | # SPDX-License-Identifier: Apache-2.0 3 | dbpath=/opt/gopath/src/github.com/hyperledger/fabric/work/server/mongodb/db 4 | -------------------------------------------------------------------------------- /docs/tutorials/connector.md: -------------------------------------------------------------------------------- 1 | _This is part of the main [documentation](../main/index.hmtl)_ 2 | 3 | ### Extend or modify an existing Connector 4 | 5 | #### Basic functions 6 | 7 | #### Data protocols 8 | 9 | ### Implement a Connector for a new Distributed Ledger 10 | 11 | -------------------------------------------------------------------------------- /packages/ledger-plugin/go-ethereum/validator/unit-test/geth-docker/init-chain.sh: -------------------------------------------------------------------------------- 1 | # Copyright 2019-2020 Fujitsu Laboratories Ltd. 2 | # SPDX-License-Identifier: Apache-2.0 3 | docker-compose -f docker-init.yml run init-chain-ec1 4 | docker-compose -f docker-init.yml run init-chain-ec2 5 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/sample/ec_env/init-chain.sh: -------------------------------------------------------------------------------- 1 | # Copyright 2019 Fujitsu Laboratories Ltd. 2 | # SPDX-License-Identifier: Apache-2.0 3 | docker-compose -f docker-init.yml run init-chain-ec1 4 | docker-compose -f docker-init.yml run init-chain-ec2 5 | -------------------------------------------------------------------------------- /lerna.json: -------------------------------------------------------------------------------- 1 | { 2 | "packages": [ 3 | "packages/cactus-*" 4 | ], 5 | "version": "fixed", 6 | "command": { 7 | "version": { 8 | "message": "chore(release): publish", 9 | "allowBranch": [ 10 | "release/*" 11 | ] 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /packages/cactus-sdk/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist/lib/", /* Redirect output structure to the directory. */ 5 | "declarationDir": "dist/types", 6 | }, 7 | "include": [ 8 | "./src" 9 | ] 10 | } -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "printWidth": 120, 3 | "tabWidth": 2, 4 | "useTabs": false, 5 | "semi": true, 6 | "singleQuote": true, 7 | "trailingComma": "es5", 8 | "bracketSpacing": true, 9 | "arrowParens": "avoid", 10 | "parser": "babylon" 11 | } 12 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/cooperation/ecSide/ec1_connector/lib/dependent/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "dependent", 3 | "version": "0.0.0", 4 | "scripts": { 5 | "test": "echo \"Error: no test specified\" && exit 1" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/cooperation/ecSide/ec2_connector/lib/dependent/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "dependent", 3 | "version": "0.0.0", 4 | "scripts": { 5 | "test": "echo \"Error: no test specified\" && exit 1" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/cactus-common/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist/lib/", /* Redirect output structure to the directory. */ 5 | "declarationDir": "dist/types", 6 | }, 7 | "include": [ 8 | "./src" 9 | ] 10 | } -------------------------------------------------------------------------------- /packages/cactus-core-api/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist/lib/", /* Redirect output structure to the directory. */ 5 | "declarationDir": "dist/types", 6 | }, 7 | "include": [ 8 | "./src" 9 | ] 10 | } -------------------------------------------------------------------------------- /packages/cactus-cmd-api-server/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist/lib/", /* Redirect output structure to the directory. */ 5 | "declarationDir": "dist/types", 6 | }, 7 | "include": [ 8 | "./src" 9 | ] 10 | } -------------------------------------------------------------------------------- /packages/cactus-core-api/src/main/typescript/plugin/web-service/i-web-service-endpoint.ts: -------------------------------------------------------------------------------- 1 | import { IExpressRequestHandler } from "./i-express-request-handler"; 2 | 3 | export interface IWebServiceEndpoint { 4 | getPath(): string; 5 | getExpressRequestHandler(): IExpressRequestHandler; 6 | } 7 | -------------------------------------------------------------------------------- /packages/cactus-test-tooling/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist/lib/", /* Redirect output structure to the directory. */ 5 | "declarationDir": "dist/types", 6 | }, 7 | "include": [ 8 | "./src" 9 | ] 10 | } -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/src/plugins/contracts/fabric/src/mycc/vendor/github.com/ethereum/go-ethereum/crypto/secp256k1/libsecp256k1/TODO: -------------------------------------------------------------------------------- 1 | * Unit tests for fieldelem/groupelem, including ones intended to 2 | trigger fieldelem's boundary cases. 3 | * Complete constant-time operations for signing/keygen 4 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/cooperation/coreSide/setup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Copyright 2019 Fujitsu Laboratories Ltd. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | cd /opt/gopath/src/github.com/hyperledger/fabric/work/server/adapter 6 | npm install 7 | -------------------------------------------------------------------------------- /packages/cactus-common/src/main/typescript/public-api.ts: -------------------------------------------------------------------------------- 1 | export { LoggerProvider } from "./logging/logger-provider"; 2 | export { Logger, ILoggerOptions } from "./logging/logger"; 3 | export { LogLevelDesc } from "loglevel"; 4 | export { Objects } from "./objects"; 5 | export { Strings } from "./strings"; 6 | -------------------------------------------------------------------------------- /packages/cactus-common/src/main/typescript/strings.ts: -------------------------------------------------------------------------------- 1 | export class Strings { 2 | public static replaceAll( 3 | source: string, 4 | searchValue: string, 5 | replaceValue: string 6 | ): string { 7 | return source.replace(new RegExp(searchValue, "gm"), replaceValue); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /packages/cactus-plugin-keychain-memory/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist/lib/", /* Redirect output structure to the directory. */ 5 | "declarationDir": "dist/types", 6 | }, 7 | "include": [ 8 | "./src" 9 | ] 10 | } -------------------------------------------------------------------------------- /packages/cactus-plugin-kv-storage-memory/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist/lib/", /* Redirect output structure to the directory. */ 5 | "declarationDir": "dist/types", 6 | }, 7 | "include": [ 8 | "./src" 9 | ] 10 | } -------------------------------------------------------------------------------- /packages/cactus-plugin-web-service-consortium/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist/lib/", /* Redirect output structure to the directory. */ 5 | "declarationDir": "dist/types", 6 | }, 7 | "include": [ 8 | "./src" 9 | ] 10 | } -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/.dockerignore: -------------------------------------------------------------------------------- 1 | federations/ 2 | scenarios/ 3 | tests/ 4 | 5 | fabric/api 6 | fabric/artifacts 7 | fabric/logs 8 | fabric/contracts 9 | 10 | quorum/api 11 | quorum/bin 12 | quorum/platform 13 | quorum/contracts 14 | 15 | corda/workflows/build/test-results -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/corda/TRADEMARK: -------------------------------------------------------------------------------- 1 | Corda and the Corda logo are trademarks of R3CEV LLC and its affiliates. All rights reserved. 2 | 3 | For R3CEV LLC's trademark and logo usage information, please consult our Trademark Usage Policy at 4 | https://www.r3.com/trademark-policy/. 5 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/corda/clients/src/main/resources/static/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Example front-end. 6 | 7 | 8 |
Define your front-end here.
9 | 10 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/sample/ec_env/delete.sh: -------------------------------------------------------------------------------- 1 | # Copyright 2019 Fujitsu Laboratories Ltd. 2 | # SPDX-License-Identifier: Apache-2.0 3 | docker-compose -f docker-init.yml down 4 | docker-compose down 5 | sudo rm -r ./data* 6 | docker network rm ec1net 7 | docker network rm ec2net 8 | -------------------------------------------------------------------------------- /packages/cactus-cockpit/e2e/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../out-tsc/app", 5 | "module": "commonjs", 6 | "target": "es5", 7 | "types": [ 8 | "jasmine", 9 | "jasminewd2", 10 | "node" 11 | ] 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/cactus-cockpit/tsconfig.app.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./out-tsc/app", 5 | "types": [] 6 | }, 7 | "files": [ 8 | "src/main.ts", 9 | "src/polyfills.ts" 10 | ], 11 | "include": [ 12 | "src/**/*.d.ts" 13 | ] 14 | } 15 | -------------------------------------------------------------------------------- /packages/cactus-core-api/src/main/typescript/plugin/keychain/i-plugin-keychain.ts: -------------------------------------------------------------------------------- 1 | import { IPluginKVStorage } from "../storage/key-value/i-plugin-kv-storage"; 2 | 3 | export interface IPluginKeychain extends IPluginKVStorage { 4 | rotateEncryptionKeys(): Promise; 5 | getEncryptionAlgorithm(): string; 6 | } 7 | -------------------------------------------------------------------------------- /packages/ledger-plugin/go-ethereum/validator/unit-test/geth-docker/delete.sh: -------------------------------------------------------------------------------- 1 | # Copyright 2019-2020 Fujitsu Laboratories Ltd. 2 | # SPDX-License-Identifier: Apache-2.0 3 | docker-compose -f docker-init.yml down 4 | docker-compose down 5 | sudo rm -r ./data* 6 | docker network rm ec1net 7 | docker network rm ec2net 8 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/contracts/src/mycc/vendor/github.com/ethereum/go-ethereum/crypto/secp256k1/libsecp256k1/TODO: -------------------------------------------------------------------------------- 1 | * Unit tests for fieldelem/groupelem, including ones intended to 2 | trigger fieldelem's boundary cases. 3 | * Complete constant-time operations for signing/keygen 4 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/scripts/clean.sh: -------------------------------------------------------------------------------- 1 | docker rm -f $(docker ps -a | awk '{ print $1,$2 }' | grep "dev\|none\|test-vp\|peer[0-9]-" | awk '{print $1 }')) 2 | docker rmi -f $(docker images | grep dev | awk '{print $3}') 3 | rm -rf ../api/fabric-client-kv-org[1-2] 4 | rm -rf ../logs/ -------------------------------------------------------------------------------- /packages/ledger-plugin/go-ethereum/validator/unit-test/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "validatorDriver", 3 | "version": "0.0.0", 4 | "private": true, 5 | "dependencies": { 6 | "config": "^1.26.1", 7 | "ethereumjs-tx": "^1.3.4", 8 | "web3": "^0.20.0", 9 | "socket.io": "^2.0.4" 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /packages/ledger-plugin/fabric/validator/unit-test/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "validatorDriver", 3 | "version": "0.0.0", 4 | "private": true, 5 | "dependencies": { 6 | "config": "^1.26.1", 7 | "socket.io": "^2.0.4", 8 | "fabric-ca-client": "~1.4.0", 9 | "fabric-network": "~1.4.0" 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/api/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM node:10-alpine 2 | RUN apk update && apk upgrade && apk add --update netcat-openbsd && rm -rf /var/cache/apk/* 3 | ADD ./api /src 4 | ADD ./contracts /contracts 5 | WORKDIR /src 6 | CMD sh -c './scripts/wait-for.sh -t 6000 bserver1:6050 -- node index.js' -------------------------------------------------------------------------------- /packages/cactus-cockpit/e2e/src/app.po.ts: -------------------------------------------------------------------------------- 1 | import { browser, by, element } from "protractor"; 2 | 3 | export class AppPage { 4 | navigateTo(destination) { 5 | return browser.get(destination); 6 | } 7 | 8 | getParagraphText() { 9 | return element(by.deepCss("app-root ion-content")).getText(); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/api/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM node:10-alpine 2 | RUN apk update && apk upgrade && apk add --update netcat-openbsd && rm -rf /var/cache/apk/* 3 | ADD ./api /src 4 | ADD ./contracts /contracts 5 | WORKDIR /src 6 | CMD sh -c './scripts/wait-for.sh -t 6000 qserver1:5050 -- node index.js' -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/api/routes/auth/auth.validation.js: -------------------------------------------------------------------------------- 1 | const Joi = require('joi'); 2 | 3 | module.exports = { 4 | // POST /api/auth/login 5 | login: { 6 | body: { 7 | username: Joi.string().required(), 8 | password: Joi.string().required(), 9 | }, 10 | }, 11 | }; 12 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/main.js: -------------------------------------------------------------------------------- 1 | this.Connector = require(`./src/plugins/Connector`); 2 | this.cryptoUtils = require(`./src/crypto-utils`); 3 | this.Multisig = require(`./src/Multisig`); 4 | this.Validator = require(`./src/Validator`); 5 | this.Client = require(`./src/Client`); 6 | this.fedcom = require(`./src/federation-communication`); 7 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/platform/.editorconfig: -------------------------------------------------------------------------------- 1 | # editorconfig.org 2 | root = true 3 | 4 | [*] 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | charset = utf-8 9 | trim_trailing_whitespace = true 10 | insert_final_newline = true 11 | 12 | [*.md] 13 | trim_trailing_whitespace = false -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/api/routes/auth/auth.validation.js: -------------------------------------------------------------------------------- 1 | const Joi = require('joi'); 2 | 3 | module.exports = { 4 | // POST /api/auth/login 5 | login: { 6 | body: { 7 | username: Joi.string().required(), 8 | password: Joi.string().required(), 9 | }, 10 | }, 11 | }; 12 | -------------------------------------------------------------------------------- /packages/cactus-plugin-ledger-connector-besu/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist/lib/", /* Redirect output structure to the directory. */ 5 | "declarationDir": "dist/types", 6 | "resolveJsonModule": true, 7 | }, 8 | "include": [ 9 | "./src" 10 | ] 11 | } -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/api/config/winston.js: -------------------------------------------------------------------------------- 1 | const winston = require('winston'); 2 | 3 | const logger = winston.createLogger({ 4 | transports: [ 5 | new winston.transports.Console({ 6 | json: true, 7 | colorize: true, 8 | }), 9 | ], 10 | }); 11 | 12 | module.exports = logger; 13 | -------------------------------------------------------------------------------- /packages/cactus-plugin-ledger-connector-quorum/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist/lib/", /* Redirect output structure to the directory. */ 5 | "declarationDir": "dist/types", 6 | "resolveJsonModule": true, 7 | }, 8 | "include": [ 9 | "./src" 10 | ] 11 | } -------------------------------------------------------------------------------- /packages/ledger-plugin/go-ethereum/validator/src/dependent/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "dependent", 3 | "version": "0.0.0", 4 | "scripts": { 5 | "test": "echo \"Error: no test specified\" && exit 1" 6 | }, 7 | "dependencies": { 8 | "config": "^1.26.1", 9 | "log4js": "^3.0.6", 10 | "web3": "^0.20.0" 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/corda/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Aug 25 12:50:39 BST 2017 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.3-all.zip 7 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/api/config/winston.js: -------------------------------------------------------------------------------- 1 | const winston = require('winston'); 2 | 3 | const logger = winston.createLogger({ 4 | transports: [ 5 | new winston.transports.Console({ 6 | json: true, 7 | colorize: true, 8 | }), 9 | ], 10 | }); 11 | 12 | module.exports = logger; 13 | -------------------------------------------------------------------------------- /packages/cactus-test-plugin-ledger-connector-quorum/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist/lib/", /* Redirect output structure to the directory. */ 5 | "declarationDir": "dist/types", 6 | "resolveJsonModule": true, 7 | }, 8 | "include": [ 9 | "./src" 10 | ] 11 | } -------------------------------------------------------------------------------- /packages/cactus-test-plugin-web-service-consortium/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./dist/lib/", /* Redirect output structure to the directory. */ 5 | "declarationDir": "dist/types", 6 | "resolveJsonModule": true, 7 | }, 8 | "include": [ 9 | "./src" 10 | ] 11 | } -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/sample/cc_env/servers/cooperation/ecSide/connector/lib/ec1_dependent/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "dependent", 3 | "version": "0.0.0", 4 | "scripts": { 5 | "test": "echo \"Error: no test specified\" && exit 1" 6 | }, 7 | "dependencies": { 8 | "web3": "^0.20.0" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/sample/cc_env/servers/cooperation/ecSide/connector/lib/ec2_dependent/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "dependent", 3 | "version": "0.0.0", 4 | "scripts": { 5 | "test": "echo \"Error: no test specified\" && exit 1" 6 | }, 7 | "dependencies": { 8 | "web3": "^0.20.0" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/platform/.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | *.iml 3 | *.lock 4 | 5 | #ignore all the DB and temp files and folders created by besu 6 | /privacy/besu/data*/database 7 | /privacy/besu/data*/private* 8 | /privacy/besu/data*/uploads 9 | /privacy/besu/data*/besu.ports 10 | logs/ 11 | /volumes/ 12 | .DS_Store 13 | -------------------------------------------------------------------------------- /tools/docker/besu-all-in-one/orion.conf: -------------------------------------------------------------------------------- 1 | nodeurl = "http://0.0.0.0:8080/" 2 | nodeport = 8080 3 | nodenetworkinterface = "0.0.0.0" 4 | clienturl = "http://0.0.0.0:8888/" 5 | clientport = 8888 6 | clientnetworkinterface = "0.0.0.0" 7 | othernodes = [] 8 | publickeys = ["/config/orion/nodeKey.pub"] 9 | privatekeys = ["/config/orion/nodeKey.key"] 10 | tls = "off" 11 | -------------------------------------------------------------------------------- /packages/cactus-sdk/src/test/typescript/unit/api-surface.ts: -------------------------------------------------------------------------------- 1 | // tslint:disable-next-line: no-var-requires 2 | const tap = require("tap"); 3 | import { ApiClient } from "../../../main/typescript/public-api"; 4 | 5 | tap.pass("Test file can be executed"); 6 | 7 | tap.test("Library can be loaded", (assert: any) => { 8 | assert.plan(1); 9 | assert.ok(ApiClient); 10 | }); 11 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/restserver/coreapi/lib/common/exp/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "exp", 3 | "version": "1.0.0", 4 | "scripts": { 5 | "test": "echo \"Error: no test specified\" && exit 1" 6 | }, 7 | "dependencies": { 8 | "https-proxy-agent": "^2.2.1", 9 | "socket.io-client": "^2.0.4" 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /packages/cactus-core-api/src/test/typescript/unit/api-surface.ts: -------------------------------------------------------------------------------- 1 | // tslint:disable-next-line: no-var-requires 2 | const tap = require("tap"); 3 | import * as publicApi from "../../../main/typescript/public-api"; 4 | 5 | tap.pass("Test file can be executed"); 6 | 7 | tap.test("Library can be loaded", (assert: any) => { 8 | assert.plan(1); 9 | assert.ok(publicApi); 10 | }); 11 | -------------------------------------------------------------------------------- /packages/cactus-sdk/src/test/typescript/integration/api-surface.ts: -------------------------------------------------------------------------------- 1 | // tslint:disable-next-line: no-var-requires 2 | const tap = require("tap"); 3 | import { ApiClient } from "../../../main/typescript/public-api"; 4 | 5 | tap.pass("Test file can be executed"); 6 | 7 | tap.test("Library can be loaded", (assert: any) => { 8 | assert.plan(1); 9 | assert.ok(ApiClient); 10 | }); 11 | -------------------------------------------------------------------------------- /packages/ledger-plugin/fabric/validator/src/dependent/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "dependent", 3 | "version": "0.0.0", 4 | "scripts": { 5 | "test": "echo \"Error: no test specified\" && exit 1" 6 | }, 7 | "dependencies": { 8 | "config": "^1.26.1", 9 | "log4js": "^3.0.6", 10 | "fabric-ca-client": "~1.4.0", 11 | "fabric-network": "~1.4.0" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/api/middlewares/asyncErrorHandler.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Wrapper for Async Await Routes 3 | * @param fn 4 | * @return {void} 5 | */ 6 | const asyncErrorHandler = fn => (req, res, next) => { 7 | Promise.resolve(fn(req, res, next)).catch(e => { 8 | next(e); 9 | }); 10 | }; 11 | 12 | module.exports = asyncErrorHandler; 13 | -------------------------------------------------------------------------------- /packages/cactus-cmd-api-server/src/test/typescript/unit/api-surface.ts: -------------------------------------------------------------------------------- 1 | // tslint:disable-next-line: no-var-requires 2 | const tap = require("tap"); 3 | import { ApiServer } from "../../../main/typescript/public-api"; 4 | 5 | tap.pass("Test file can be executed"); 6 | 7 | tap.test("Library can be loaded", (assert: any) => { 8 | assert.plan(1); 9 | assert.ok(ApiServer); 10 | }); 11 | -------------------------------------------------------------------------------- /packages/cactus-core-api/src/main/typescript/plugin/storage/key-value/i-plugin-kv-storage.ts: -------------------------------------------------------------------------------- 1 | import { ICactusPlugin } from "../../i-cactus-plugin"; 2 | 3 | export interface IPluginKVStorage extends ICactusPlugin { 4 | has(key: string): Promise; 5 | get(key: string): Promise; 6 | set(key: string, value: T): Promise; 7 | delete(key: string): Promise; 8 | } 9 | -------------------------------------------------------------------------------- /packages/cactus-core-api/src/test/typescript/integration/api-surface.ts: -------------------------------------------------------------------------------- 1 | // tslint:disable-next-line: no-var-requires 2 | const tap = require("tap"); 3 | import * as publicApi from "../../../main/typescript/public-api"; 4 | 5 | tap.pass("Test file can be executed"); 6 | 7 | tap.test("Library can be loaded", (assert: any) => { 8 | assert.plan(1); 9 | assert.ok(publicApi); 10 | }); 11 | -------------------------------------------------------------------------------- /packages/ledger-plugin/fabric/validator/src/core/CA/connector.priv: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PARAMETERS----- 2 | BggqhkjOPQMBBw== 3 | -----END EC PARAMETERS----- 4 | -----BEGIN EC PRIVATE KEY----- 5 | MHcCAQEEICIlCfK3zMTFzUgdaj01LAHjJmHlbg6Xql9+i70iPz5EoAoGCCqGSM49 6 | AwEHoUQDQgAEM+lIPbDTOuokqtoYPVvkmrawO5pxOFJSqLt+/PyjKta24oONnXnM 7 | hpI61qTpdHEWH1X0aiR2DkY1tb+lNlxO6g== 8 | -----END EC PRIVATE KEY----- 9 | -------------------------------------------------------------------------------- /packages/cactus-cmd-api-server/src/test/typescript/integration/api-surface.ts: -------------------------------------------------------------------------------- 1 | // tslint:disable-next-line: no-var-requires 2 | const tap = require("tap"); 3 | import { ApiServer } from "../../../main/typescript/public-api"; 4 | 5 | tap.pass("Test file can be executed"); 6 | 7 | tap.test("Library can be loaded", (assert: any) => { 8 | assert.plan(1); 9 | assert.ok(ApiServer); 10 | }); 11 | -------------------------------------------------------------------------------- /packages/cactus-plugin-keychain-memory/src/test/typescript/unit/api-surface.ts: -------------------------------------------------------------------------------- 1 | // tslint:disable-next-line: no-var-requires 2 | const tap = require("tap"); 3 | import * as publicApi from "../../../main/typescript/public-api"; 4 | 5 | tap.pass("Test file can be executed"); 6 | 7 | tap.test("Library can be loaded", (assert: any) => { 8 | assert.plan(1); 9 | assert.ok(publicApi); 10 | }); 11 | -------------------------------------------------------------------------------- /packages/cactus-test-tooling/src/test/typescript/unit/api-surface.ts: -------------------------------------------------------------------------------- 1 | // tslint:disable-next-line: no-var-requires 2 | const tap = require("tap"); 3 | import { BesuTestLedger } from "../../../main/typescript/public-api"; 4 | 5 | tap.pass("Test file can be executed"); 6 | 7 | tap.test("Library can be loaded", (assert: any) => { 8 | assert.ok(BesuTestLedger); 9 | assert.end(); 10 | }); 11 | -------------------------------------------------------------------------------- /packages/ledger-plugin/go-ethereum/validator/src/core/CA/connector.priv: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PARAMETERS----- 2 | BggqhkjOPQMBBw== 3 | -----END EC PARAMETERS----- 4 | -----BEGIN EC PRIVATE KEY----- 5 | MHcCAQEEICIlCfK3zMTFzUgdaj01LAHjJmHlbg6Xql9+i70iPz5EoAoGCCqGSM49 6 | AwEHoUQDQgAEM+lIPbDTOuokqtoYPVvkmrawO5pxOFJSqLt+/PyjKta24oONnXnM 7 | hpI61qTpdHEWH1X0aiR2DkY1tb+lNlxO6g== 8 | -----END EC PRIVATE KEY----- 9 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/api/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "host":"localhost", 3 | "port":"4000", 4 | "jwt_expiretime": "36000", 5 | "channelName":"mychannel", 6 | "CC_SRC_PATH":"/contracts/", 7 | "eventWaitTime":"30000", 8 | "admins":[ 9 | { 10 | "username":"admin", 11 | "secret":"adminpw" 12 | } 13 | ] 14 | } 15 | -------------------------------------------------------------------------------- /packages/cactus-plugin-kv-storage-memory/src/test/typescript/unit/api-surface.ts: -------------------------------------------------------------------------------- 1 | // tslint:disable-next-line: no-var-requires 2 | const tap = require("tap"); 3 | import * as publicApi from "../../../main/typescript/public-api"; 4 | 5 | tap.pass("Test file can be executed"); 6 | 7 | tap.test("Library can be loaded", (assert: any) => { 8 | assert.plan(1); 9 | assert.ok(publicApi); 10 | }); 11 | -------------------------------------------------------------------------------- /packages/cactus-test-tooling/src/test/typescript/integration/api-surface.ts: -------------------------------------------------------------------------------- 1 | // tslint:disable-next-line: no-var-requires 2 | const tap = require("tap"); 3 | import { BesuTestLedger } from "../../../main/typescript/public-api"; 4 | 5 | tap.pass("Test file can be executed"); 6 | 7 | tap.test("Library can be loaded", (assert: any) => { 8 | assert.ok(BesuTestLedger); 9 | assert.end(); 10 | }); 11 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/cooperation/ecSide/setup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Copyright 2019 Fujitsu Laboratories Ltd. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | cd /opt/gopath/src/github.com/hyperledger/fabric/work/server/connector 6 | npm install 7 | cd /opt/gopath/src/github.com/hyperledger/fabric/work/server/connector/lib/dependent 8 | npm install 9 | -------------------------------------------------------------------------------- /packages/cactus-plugin-ledger-connector-besu/src/test/typescript/unit/api-surface.ts: -------------------------------------------------------------------------------- 1 | // tslint:disable-next-line: no-var-requires 2 | const tap = require("tap"); 3 | import * as publicApi from "../../../main/typescript/public-api"; 4 | 5 | tap.pass("Test file can be executed"); 6 | 7 | tap.test("Library can be loaded", (assert: any) => { 8 | assert.plan(1); 9 | assert.ok(publicApi); 10 | }); 11 | -------------------------------------------------------------------------------- /packages/cactus-plugin-ledger-connector-quorum/src/test/typescript/unit/api-surface.ts: -------------------------------------------------------------------------------- 1 | // tslint:disable-next-line: no-var-requires 2 | const tap = require("tap"); 3 | import * as publicApi from "../../../main/typescript/public-api"; 4 | 5 | tap.pass("Test file can be executed"); 6 | 7 | tap.test("Library can be loaded", (assert: any) => { 8 | assert.plan(1); 9 | assert.ok(publicApi); 10 | }); 11 | -------------------------------------------------------------------------------- /packages/cactus-plugin-web-service-consortium/src/test/typescript/unit/api-surface.ts: -------------------------------------------------------------------------------- 1 | // tslint:disable-next-line: no-var-requires 2 | const tap = require("tap"); 3 | import * as publicApi from "../../../main/typescript/public-api"; 4 | 5 | tap.pass("Test file can be executed"); 6 | 7 | tap.test("Library can be loaded", (assert: any) => { 8 | assert.plan(1); 9 | assert.ok(publicApi); 10 | }); 11 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/user-story-template.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: User Story template 3 | about: Create a user story for Hyperledger Cactus 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | ### Description 11 | As a ... I want to ... so that .... 12 | 13 | (add more description and relevant links) 14 | 15 | ### Acceptance Criteria 16 | 1. First acceptance criteria 17 | 2. ... 18 | 3. ... 19 | -------------------------------------------------------------------------------- /packages/cactus-plugin-web-service-consortium/src/test/typescript/integration/api-surface.ts: -------------------------------------------------------------------------------- 1 | // tslint:disable-next-line: no-var-requires 2 | const tap = require("tap"); 3 | import * as publicApi from "../../../main/typescript/public-api"; 4 | 5 | tap.pass("Test file can be executed"); 6 | 7 | tap.test("Library can be loaded", (assert: any) => { 8 | assert.plan(1); 9 | assert.ok(publicApi); 10 | }); 11 | -------------------------------------------------------------------------------- /packages/cactus-test-plugin-ledger-connector-quorum/src/test/typescript/unit/api-surface.ts: -------------------------------------------------------------------------------- 1 | // tslint:disable-next-line: no-var-requires 2 | const tap = require("tap"); 3 | import * as publicApi from "../../../main/typescript/public-api"; 4 | 5 | tap.pass("Test file can be executed"); 6 | 7 | tap.test("Library can be loaded", (assert: any) => { 8 | assert.plan(1); 9 | assert.ok(publicApi); 10 | }); 11 | -------------------------------------------------------------------------------- /packages/cactus-test-plugin-web-service-consortium/src/test/typescript/unit/api-surface.ts: -------------------------------------------------------------------------------- 1 | // tslint:disable-next-line: no-var-requires 2 | const tap = require("tap"); 3 | import * as publicApi from "../../../main/typescript/public-api"; 4 | 5 | tap.pass("Test file can be executed"); 6 | 7 | tap.test("Library can be loaded", (assert: any) => { 8 | assert.plan(1); 9 | assert.ok(publicApi); 10 | }); 11 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM node:10-slim 2 | 3 | RUN apt-get update && apt-get install -y \ 4 | build-essential \ 5 | python-minimal \ 6 | software-properties-common 7 | 8 | ADD . /federation 9 | WORKDIR /federation 10 | 11 | # Rebuild node modules inside container to compile platform specific dependencies 12 | RUN npm rebuild 13 | 14 | CMD node app.js 15 | -------------------------------------------------------------------------------- /packages/cactus-test-plugin-ledger-connector-quorum/src/test/typescript/integration/api-surface.ts: -------------------------------------------------------------------------------- 1 | // tslint:disable-next-line: no-var-requires 2 | const tap = require("tap"); 3 | import * as publicApi from "../../../main/typescript/public-api"; 4 | 5 | tap.pass("Test file can be executed"); 6 | 7 | tap.test("Library can be loaded", (assert: any) => { 8 | assert.plan(1); 9 | assert.ok(publicApi); 10 | }); 11 | -------------------------------------------------------------------------------- /packages/cactus-test-plugin-web-service-consortium/src/test/typescript/integration/api-surface.ts: -------------------------------------------------------------------------------- 1 | // tslint:disable-next-line: no-var-requires 2 | const tap = require("tap"); 3 | import * as publicApi from "../../../main/typescript/public-api"; 4 | 5 | tap.pass("Test file can be executed"); 6 | 7 | tap.test("Library can be loaded", (assert: any) => { 8 | assert.plan(1); 9 | assert.ok(publicApi); 10 | }); 11 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/artifacts/channel/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/tls/client.key: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgPJAcu1hip3xSkauX 3 | gL8CVbEvrA0RE/yEihKU1ehxTPOhRANCAAR+AFDeWcS8ZDn1JzO98dQPYu8cQbO9 4 | Fy8fgUGZH+9fhDvu6oQw0BnidZ1QnSM/uzXmQQtBtfPx+u2YNwz6oiPV 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/restserver/coreapi/lib/common/fabric_v1.0/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "fabric_v1.0", 3 | "version": "1.0.0", 4 | "scripts": { 5 | "test": "echo \"Error: no test specified\" && exit 1" 6 | }, 7 | "dependencies": { 8 | "fabric-client": "1.0.2", 9 | "fabric-ca-client": "1.0.2", 10 | "grpc": "1.4.1" 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /packages/cactus-cockpit/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./out-tsc/spec", 5 | "types": [ 6 | "jasmine", 7 | "node" 8 | ] 9 | }, 10 | "files": [ 11 | "src/test.ts", 12 | "src/zone-flags.ts", 13 | "src/polyfills.ts" 14 | ], 15 | "include": [ 16 | "src/**/*.spec.ts", 17 | "src/**/*.d.ts" 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/artifacts/channel/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/tls/server.key: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgcPrJDlnHsav9ptmd 3 | MC5qjERX7j7eyXpJDt+nu6P4ImShRANCAATy6af0RC0aviGNcSsVZDj3iKcXsZF3 4 | ZQxtW1TOtDnXt7ybhA2BG7E4dlxaF03jrZzFtZJ/Mqfd7E86Hb4uOoUL 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/artifacts/channel/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.key: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg++ZG6/mHIoyMz+a+ 3 | uz4J2yeaCRC0v8b06OMBI6kGIQ2hRANCAATxG5fbyT6gwWLR5XJQggO4pGLu01s+ 4 | Xtus5rOkgyV7i+Xj/uCsGxnjxgOV+/Po49Reillj3YmQRir9AvYWG5hK 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/artifacts/channel/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/server.key: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgBauaaW7iMAGp8QGo 3 | owIQwX+oSM6cJ+7zguBXtUnfV1ahRANCAAQrxkQT6XpDPFwcsbkeVG0I3ynHROeR 4 | 1zuOt9MuMFnGoTjVZcTZQcbp6bEd3OCHB4p8ueGE0LkrVco3od8ldbrs 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/artifacts/channel/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/tls/client.key: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg8mz6Umd/CHPOIyXj 3 | /kzGxdzMG11axGIgBKSscl6YJMmhRANCAAQpx4vN9apTnPCt3RpJpS/BLt0GNusn 4 | wcCBezeKTnFiehIbd0YLTigHKxUTurowS9O9uyfTmvcwPndHgpq7ZRDa 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/artifacts/channel/crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/tls/client.key: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgmJ2m1+AU02MEj/Zj 3 | s8P6b4cKQHXClGGtnF5k9itYaDmhRANCAATbel3UBeEMInOCWnIXKwaZhFlJDaPE 4 | sieBOiV101POoqT86UNqOaaLlDgiNykpr1Qt1XwExQQO0ZudGxA78xdl 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/artifacts/channel/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/server.key: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgMfPgDS+3p1LYSyVP 3 | DMz9tKdkHxMBrlbg61dCw0zApQOhRANCAARR+EMz0wBkZwA4CA7CL1PWvjg/mVt6 4 | vuPe4hKdiGT+NFYWxZWlX3S4TzcKxZlqri4olHJUI1yJ/IIHcWZml0LF 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/artifacts/channel/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/tls/server.key: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgrzHg86daR3lh16AZ 3 | bY8afrwcWE2cPU3UNC3mssDKTSyhRANCAASNvr9p9KDvBJfRnEwPS41MmKmfAXOv 4 | 1l2t5jd1wsYqVINddPPLwg34IqpS6rfXK4a+Uv3a7TPxWzQct1U6W730 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/artifacts/channel/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/tls/client.key: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgAe7rxRjh082GoNzr 3 | CHkeUOZIrzQN2mIP/Uv51ATVSMmhRANCAATC22TL59ZYhbLM2BgRbJpbEaxUlK4W 4 | 4sEL1jOAn8i4FTB8yexuIsUGxaQALrRVPCJFxTrJxYvgFjESMN9u1IMj 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/artifacts/channel/crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/tls/client.key: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgUOmw6Vz96psDI8h6 3 | vMcVHXbYosH+OmihWSaO00ZHPzahRANCAAQFtI/KSAcu1ZIvzg4QOVPou98gt1gF 4 | TfcDqHUtHHhDK/PibpzAL1ZHQ+dYGU3mQHrtHbHoOGSfUS8OG00IXURn 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /packages/cactus-common/src/test/typescript/unit/api-surface.ts: -------------------------------------------------------------------------------- 1 | // tslint:disable-next-line: no-var-requires 2 | const tap = require("tap"); 3 | import { Logger, LoggerProvider } from "../../../main/typescript/public-api"; 4 | 5 | tap.pass("Test file can be executed"); 6 | 7 | tap.test("Library can be loaded", (assert: any) => { 8 | assert.plan(2); 9 | assert.ok(Logger); 10 | assert.ok(LoggerProvider); 11 | }); 12 | -------------------------------------------------------------------------------- /packages/cactus-plugin-keychain-memory/src/test/typescript/integration/api-surface.ts: -------------------------------------------------------------------------------- 1 | // tslint:disable-next-line: no-var-requires 2 | const tap = require("tap"); 3 | import { PluginKeychainMemory } from "../../../main/typescript/public-api"; 4 | 5 | tap.pass("Test file can be executed"); 6 | 7 | tap.test("Library can be loaded", (assert: any) => { 8 | assert.plan(1); 9 | assert.ok(PluginKeychainMemory); 10 | }); 11 | -------------------------------------------------------------------------------- /packages/cactus-common/src/test/typescript/integration/api-surface.ts: -------------------------------------------------------------------------------- 1 | // tslint:disable-next-line: no-var-requires 2 | const tap = require("tap"); 3 | import { Logger, LoggerProvider } from "../../../main/typescript/public-api"; 4 | 5 | tap.pass("Test file can be executed"); 6 | 7 | tap.test("Library can be loaded", (assert: any) => { 8 | assert.plan(2); 9 | assert.ok(Logger); 10 | assert.ok(LoggerProvider); 11 | }); 12 | -------------------------------------------------------------------------------- /packages/cactus-plugin-kv-storage-memory/src/test/typescript/integration/api-surface.ts: -------------------------------------------------------------------------------- 1 | // tslint:disable-next-line: no-var-requires 2 | const tap = require("tap"); 3 | import { PluginKVStorageMemory } from "../../../main/typescript/public-api"; 4 | 5 | tap.pass("Test file can be executed"); 6 | 7 | tap.test("Library can be loaded", (assert: any) => { 8 | assert.plan(1); 9 | assert.ok(PluginKVStorageMemory); 10 | }); 11 | -------------------------------------------------------------------------------- /packages/ledger-plugin/go-ethereum/validator/unit-test/config/default.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2019-2020 Fujitsu Laboratories Ltd. 3 | * SPDX-License-Identifier: Apache-2.0 4 | * 5 | * default.js 6 | */ 7 | 8 | module.exports = { 9 | // URL to validator. Please write your IP address in the field of "YourIpAddress". 10 | "validatorUrl" : 'https://YourIpAddress:5050', 11 | "gethUrl" : 'http://localhost:8545' 12 | }; 13 | -------------------------------------------------------------------------------- /tools/docker/quorum-all-in-one/docker-compose.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3.6' 3 | 4 | services: 5 | quorum-aio: 6 | image: "hyperledger/cactus-quorum-all-in-one:latest" 7 | ports: 8 | - 8545:8545/tcp # RPC - HTTP 9 | - 8546:8546/tcp # RPC - WebSocket 10 | - 9001:9001/tcp # supervisord - HTTP 11 | - 30303:30303/tcp # quorum 12 | - 30303:30303/udp # quorum 13 | - 30301:30301/udp # quorum 14 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/tools/cleanup.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | cd $(dirname $0)/../examples/simple-asset-transfer/ 4 | 5 | npm run fed:besu:down 6 | npm run fed:quorum:down 7 | npm run fed:fabric:down 8 | npm run besu:down 9 | npm run fabric:down 10 | npm run quorum:down 11 | npm run quorum:api:down 12 | npm run besu:api:down 13 | 14 | rm -rf fabric/api/node_modules 15 | rm -rf quorum/api/node_modules 16 | rm -rf node_modules 17 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/yaml-files/crypto-config.yaml: -------------------------------------------------------------------------------- 1 | # Copyright 2019 Fujitsu Laboratories Ltd. 2 | # SPDX-License-Identifier: Apache-2.0 3 | OrdererOrgs: 4 | - Name: Orderer 5 | Domain: example.com 6 | Specs: 7 | - Hostname: orderer 8 | PeerOrgs: 9 | - Name: Org1 10 | Domain: org1.example.com 11 | Template: 12 | Count: 4 13 | Users: 14 | Count: 1 15 | -------------------------------------------------------------------------------- /packages/cactus-cmd-api-server/src/main/typescript/public-api.ts: -------------------------------------------------------------------------------- 1 | export { ApiServer, IApiServerConstructorOptions } from "./api-server"; 2 | export { 3 | ConfigService, 4 | ICactusApiServerOptions, 5 | } from "./config/config-service"; 6 | export { 7 | SelfSignedPkiGenerator, 8 | ForgeCertificateField, 9 | ForgeCertificate, 10 | ForgeKeyPair, 11 | ForgePrivateKey, 12 | IPki, 13 | } from "./config/self-signed-pki-generator"; 14 | -------------------------------------------------------------------------------- /packages/cactus-plugin-ledger-connector-besu/src/test/typescript/integration/api-surface.ts: -------------------------------------------------------------------------------- 1 | // tslint:disable-next-line: no-var-requires 2 | const tap = require("tap"); 3 | import { PluginFactoryLedgerConnector } from "../../../main/typescript/public-api"; 4 | 5 | tap.pass("Test file can be executed"); 6 | 7 | tap.test("Library can be loaded", (assert: any) => { 8 | assert.plan(1); 9 | assert.ok(PluginFactoryLedgerConnector); 10 | }); 11 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/artifacts/channel/crypto-config/ordererOrganizations/example.com/ca/970660783d1e269b48409d0d073b4ec5f95fe1175ea20944fa8f41b943b38f41_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgXMGeuqbD+FFl7jUS 3 | FzmEGj5t7hISKuraki1qv570Oe+hRANCAASEh4O6ALWin4wiMHOeWZRMtqMUmuiu 4 | rkUsKXOyU6wsSkbROW39YnzAUEZBp9daAprXkxVWeN+IuU1O9qnsybGp 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /packages/cactus-plugin-keychain-memory/src/main/typescript/public-api.ts: -------------------------------------------------------------------------------- 1 | export { PluginKeychainMemory } from "./plugin-keychain-memory"; 2 | export { PluginFactoryKeychain } from "./plugin-factory-keychain"; 3 | 4 | import { PluginFactoryKeychain } from "./plugin-factory-keychain"; 5 | 6 | export async function createPluginFactory( 7 | options?: any 8 | ): Promise { 9 | return new PluginFactoryKeychain(); 10 | } 11 | -------------------------------------------------------------------------------- /packages/cactus-plugin-ledger-connector-quorum/src/test/typescript/integration/api-surface.ts: -------------------------------------------------------------------------------- 1 | // tslint:disable-next-line: no-var-requires 2 | const tap = require("tap"); 3 | import { PluginFactoryLedgerConnector } from "../../../main/typescript/public-api"; 4 | 5 | tap.pass("Test file can be executed"); 6 | 7 | tap.test("Library can be loaded", (assert: any) => { 8 | assert.plan(1); 9 | assert.ok(PluginFactoryLedgerConnector); 10 | }); 11 | -------------------------------------------------------------------------------- /packages/ledger-plugin/fabric/validator/src/dependent/PluginUtil.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2019-2020 Fujitsu Laboratories Ltd. 3 | * SPDX-License-Identifier: Apache-2.0 4 | * 5 | * PluginUtil.js 6 | */ 7 | 8 | /* 9 | * Summary: 10 | * Cooperative server connection destination dependent part utility library 11 | * Implementation of internal functions that are not exposed as functions of ServerPlugin 12 | */ 13 | 14 | // nothing special 15 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/artifacts/channel/crypto-config/ordererOrganizations/example.com/tlsca/cb41003afb0a6449108e6846104316bf796ff6c59ef23afdc0fadd9428d17d02_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgkehy1v/IAnv2sGue 3 | hobfJyRoccPhQPsEhm26HJTpaOahRANCAAT9tSqktCvQ+4fObT0NEj3zNvqr6s4I 4 | vyAvLNd+EInzMIEFbtxE7Gk/M/5CXup9ZfJ1Xj5qMvZg6A+aLesQHg+J 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/artifacts/channel/crypto-config/peerOrganizations/org1.example.com/ca/02bf40a140bbff83ee44ab5dd35ae2012a094b9f1588d80101001ccd443112f8_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgVJesK5GwCV+jvnXD 3 | bqIUwk1alOGRLUVB653IlvaY2OChRANCAAQuZuJ5Hi5Yb7M/9pEQFKIXAFTQfeht 4 | 7zvKU4J564jL0CEYq/zoj3IAsMNyFds4LVbi7h21PD4cfgiYGJVsZp8c 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/artifacts/channel/crypto-config/peerOrganizations/org1.example.com/tlsca/aabf9ae2ff1061d18e0267d8e79dc37f01f1a9d0ea8bb9daf21616bce007ccdd_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgbKuFeQ7S3XkULaNc 3 | 5vZAZTK/smaQDx5BR6ilwV9mo1OhRANCAAQlV/KFbZnuYnCYTbOOGS9Id+vVLSEe 4 | wyChKcF2w249rt7+5seSTb0bvs3xCmfxguRNzoL1waSxyBjc/+0vyfdS 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/artifacts/channel/crypto-config/peerOrganizations/org2.example.com/ca/b8eba4f2c60dda729742700e1d517e19063fab8b987f50015fd4ba7b10c8918d_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgYASq1cUN7EqP8hqZ 3 | S8qpgAa+Gh4TtmUjQysot7FtH8ChRANCAATI2XCaHTD4/N/tVE0pLYXaDGQpaM7X 4 | niJdT/pMlB25RXa8X/NmTSYqhnFD1kXzwDl4v+uzmC9xQyVviGOvHMk7 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/artifacts/channel/crypto-config/peerOrganizations/org2.example.com/tlsca/e5c3ee6efd8b6732d754317ccdd028bf09b17d7502f71e04db908a6a3c59adce_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgeIqDadWA52a/K5tU 3 | 9UEBbydmTELZO4C32OcvUapvwxChRANCAAT2GQhr8qG8RVVjS9Zck77zFlxg+5L8 4 | D6fAiaSlbmPM3oRmvnbe8DX5vJ47oRoTa4qUqxMd9tTavP9nZYR39Xke 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/cooperation/coreSide/ec1_adapter/CA/adapter.priv: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PARAMETERS----- 2 | BggqhkjOPQMBBw== 3 | -----END EC PARAMETERS----- 4 | -----BEGIN EC PRIVATE KEY----- 5 | MHcCAQEEICIlCfK3zMTFzUgdaj01LAHjJmHlbg6Xql9+i70iPz5EoAoGCCqGSM49 6 | AwEHoUQDQgAEM+lIPbDTOuokqtoYPVvkmrawO5pxOFJSqLt+/PyjKta24oONnXnM 7 | hpI61qTpdHEWH1X0aiR2DkY1tb+lNlxO6g== 8 | -----END EC PRIVATE KEY----- 9 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/cooperation/coreSide/ec2_adapter/CA/adapter.priv: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PARAMETERS----- 2 | BggqhkjOPQMBBw== 3 | -----END EC PARAMETERS----- 4 | -----BEGIN EC PRIVATE KEY----- 5 | MHcCAQEEICIlCfK3zMTFzUgdaj01LAHjJmHlbg6Xql9+i70iPz5EoAoGCCqGSM49 6 | AwEHoUQDQgAEM+lIPbDTOuokqtoYPVvkmrawO5pxOFJSqLt+/PyjKta24oONnXnM 7 | hpI61qTpdHEWH1X0aiR2DkY1tb+lNlxO6g== 8 | -----END EC PRIVATE KEY----- 9 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/cooperation/ecSide/ec1_connector/CA/connector.priv: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PARAMETERS----- 2 | BggqhkjOPQMBBw== 3 | -----END EC PARAMETERS----- 4 | -----BEGIN EC PRIVATE KEY----- 5 | MHcCAQEEICIlCfK3zMTFzUgdaj01LAHjJmHlbg6Xql9+i70iPz5EoAoGCCqGSM49 6 | AwEHoUQDQgAEM+lIPbDTOuokqtoYPVvkmrawO5pxOFJSqLt+/PyjKta24oONnXnM 7 | hpI61qTpdHEWH1X0aiR2DkY1tb+lNlxO6g== 8 | -----END EC PRIVATE KEY----- 9 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/cooperation/ecSide/ec2_connector/CA/connector.priv: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PARAMETERS----- 2 | BggqhkjOPQMBBw== 3 | -----END EC PARAMETERS----- 4 | -----BEGIN EC PRIVATE KEY----- 5 | MHcCAQEEICIlCfK3zMTFzUgdaj01LAHjJmHlbg6Xql9+i70iPz5EoAoGCCqGSM49 6 | AwEHoUQDQgAEM+lIPbDTOuokqtoYPVvkmrawO5pxOFJSqLt+/PyjKta24oONnXnM 7 | hpI61qTpdHEWH1X0aiR2DkY1tb+lNlxO6g== 8 | -----END EC PRIVATE KEY----- 9 | -------------------------------------------------------------------------------- /packages/ledger-plugin/fabric/validator/src/README.md: -------------------------------------------------------------------------------- 1 | 7 | # Fabric-specific 8 | 9 | ## Assumption 10 | - A ledger (Hyperledger fabric node) to connect is already running 11 | - Specify URL of the ledger node to connect to in "PluginConfig.js" 12 | 13 | ## Execution 14 |
15 | cd core
16 | node ./bin/www.js 
17 | 
18 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/platform/config/orion/networkFiles/orion1/orion.conf: -------------------------------------------------------------------------------- 1 | nodeurl = "http://orion1:8080/" 2 | nodeport = 8080 3 | nodenetworkinterface = "orion1" 4 | clienturl = "http://orion1:8888/" 5 | clientport = 8888 6 | clientnetworkinterface = "orion1" 7 | othernodes = ["http://orion2:8080/"] 8 | publickeys = ["/config/orion/nodeKey.pub"] 9 | privatekeys = ["/config/orion/nodeKey.key"] 10 | tls = "off" 11 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/platform/config/orion/networkFiles/orion2/orion.conf: -------------------------------------------------------------------------------- 1 | nodeurl = "http://orion2:8080/" 2 | nodeport = 8080 3 | nodenetworkinterface = "orion2" 4 | clienturl = "http://orion2:8888/" 5 | clientport = 8888 6 | clientnetworkinterface = "orion2" 7 | othernodes = ["http://orion1:8080/"] 8 | publickeys = ["/config/orion/nodeKey.pub"] 9 | privatekeys = ["/config/orion/nodeKey.key"] 10 | tls = "off" 11 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/platform/config/orion/networkFiles/orion3/orion.conf: -------------------------------------------------------------------------------- 1 | nodeurl = "http://orion3:8080/" 2 | nodeport = 8080 3 | nodenetworkinterface = "orion3" 4 | clienturl = "http://orion3:8888/" 5 | clientport = 8888 6 | clientnetworkinterface = "orion3" 7 | othernodes = ["http://orion1:8080/"] 8 | publickeys = ["/config/orion/nodeKey.pub"] 9 | privatekeys = ["/config/orion/nodeKey.key"] 10 | tls = "off" 11 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/appserver/setup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Copyright 2019 Fujitsu Laboratories Ltd. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | cd /opt/gopath/src/github.com/hyperledger/fabric/work/server/serviceapi 6 | npm install 7 | cd /opt/gopath/src/github.com/hyperledger/fabric/work/server/ 8 | mongod --config /opt/gopath/src/github.com/hyperledger/fabric/work/server/mongodb/mongodb.config 9 | -------------------------------------------------------------------------------- /packages/cactus-plugin-kv-storage-memory/src/main/typescript/public-api.ts: -------------------------------------------------------------------------------- 1 | export { PluginKVStorageMemory } from "./plugin-kv-storage-memory"; 2 | export { PluginFactoryKVStorage } from "./plugin-factory-kv-storage"; 3 | 4 | import { PluginFactoryKVStorage } from "./plugin-factory-kv-storage"; 5 | 6 | export async function createPluginFactory( 7 | options?: any 8 | ): Promise { 9 | return new PluginFactoryKVStorage(); 10 | } 11 | -------------------------------------------------------------------------------- /packages/cactus-cockpit/src/main.ts: -------------------------------------------------------------------------------- 1 | import { enableProdMode } from "@angular/core"; 2 | import { platformBrowserDynamic } from "@angular/platform-browser-dynamic"; 3 | 4 | import { AppModule } from "./app/app.module"; 5 | import { environment } from "./environments/environment"; 6 | 7 | if (environment.production) { 8 | enableProdMode(); 9 | } 10 | 11 | platformBrowserDynamic() 12 | .bootstrapModule(AppModule) 13 | .catch((err) => console.log(err)); 14 | -------------------------------------------------------------------------------- /packages/cactus-cockpit/e2e/src/app.e2e-spec.ts: -------------------------------------------------------------------------------- 1 | import { AppPage } from "./app.po"; 2 | 3 | describe("new App", () => { 4 | let page: AppPage; 5 | 6 | beforeEach(() => { 7 | page = new AppPage(); 8 | }); 9 | describe("default screen", () => { 10 | beforeEach(() => { 11 | page.navigateTo("/Inbox"); 12 | }); 13 | it("should say Inbox", () => { 14 | expect(page.getParagraphText()).toContain("Inbox"); 15 | }); 16 | }); 17 | }); 18 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/api/middlewares/asyncErrorHandler.js: -------------------------------------------------------------------------------- 1 | const logger = require('../utils/logger')('asyncErrorHandler'); 2 | /** 3 | * Wrapper for Async Await Routes 4 | * @param fn 5 | * @return {void} 6 | */ 7 | const asyncErrorHandler = fn => (req, res, next) => { 8 | Promise.resolve(fn(req, res, next)).catch(e => { 9 | logger.error(e); 10 | next(e); 11 | }); 12 | }; 13 | 14 | module.exports = asyncErrorHandler; 15 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/src/plugins/contracts/fabric/src/mycc/vendor/golang.org/x/crypto/sha3/keccakf_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build amd64,!appengine,!gccgo 6 | 7 | package sha3 8 | 9 | // This function is implemented in keccakf_amd64.s. 10 | 11 | //go:noescape 12 | 13 | func keccakF1600(a *[25]uint64) 14 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/artifacts/channel/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp/keystore/4f7fd8a15c3aa7e5dbc57f99f9a2f287de0ab5e0265f09a39e482bf34edf1635_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgZij8VB3QN9UKjQrc 3 | 8wYGcTjRMd1XwXEAXL25tIPDvuKhRANCAARIom2ZQ9F62lCyaxpByVbDekIcfz4f 4 | PcddqPLLuiE60tUr3vQZTm7eGEh0lCBst5RE45YuTC+VIW0TBTXyWmxi 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/src/plugins/contracts/fabric/src/mycc/vendor/github.com/ethereum/go-ethereum/crypto/secp256k1/libsecp256k1/src/modules/ecdh/Makefile.am.include: -------------------------------------------------------------------------------- 1 | include_HEADERS += include/secp256k1_ecdh.h 2 | noinst_HEADERS += src/modules/ecdh/main_impl.h 3 | noinst_HEADERS += src/modules/ecdh/tests_impl.h 4 | if USE_BENCHMARK 5 | noinst_PROGRAMS += bench_ecdh 6 | bench_ecdh_SOURCES = src/bench_ecdh.c 7 | bench_ecdh_LDADD = libsecp256k1.la $(SECP_LIBS) $(COMMON_LIB) 8 | endif 9 | -------------------------------------------------------------------------------- /packages/cactus-cockpit/src/app/folder/folder-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from "@angular/core"; 2 | import { Routes, RouterModule } from "@angular/router"; 3 | 4 | import { FolderPage } from "./folder.page"; 5 | 6 | const routes: Routes = [ 7 | { 8 | path: "", 9 | component: FolderPage, 10 | }, 11 | ]; 12 | 13 | @NgModule({ 14 | imports: [RouterModule.forChild(routes)], 15 | exports: [RouterModule], 16 | }) 17 | export class FolderPageRoutingModule {} 18 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/artifacts/channel/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp/keystore/dc2beeeb0f6cce5f2faac21b7f895c2365393317de5ba09ff0dcd0b439db1071_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgq3Oe6qK0wYhXQmAg 3 | ujbgKNjksLRFIpQAh/0o7BWH/QyhRANCAARBkDnHrlkII99HK95QRU/f3LM2d6wE 4 | Qep6wZVJLFc577AeBWt7KG5iRYCk/ncv6e/NsvX8oVDHe0nVeErxEkUT 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/artifacts/channel/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/keystore/5d92c6bdae24b39d460305a224ecd3e8ebfd53e436807d5cd4dadeb89153ca66_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg08uw4EhWl1X69pfv 3 | eM2PeTASg5WttTNeAwu2fSi1IfihRANCAASTab5I3WovtMxHf686EBcpk46wGD3/ 4 | W2ok6uJZ3lGhQsqmIYMT+CT2wFh9jQDhrJ3PE26SRk3BD069ULwMl9vI 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/artifacts/channel/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/msp/keystore/226f9d606d201d11fe710176ed1182815b059c82c3e83f936460fa1a243e60e3_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgzvbD9inm6kOIpDnM 3 | jZ3NMzh0axI0BvYMRo9wJ0t+ntuhRANCAAQNU67/bFtFONeaeJmmaDQsu8/Jdr3K 4 | 8JjCWE06FnBTNZZlTGfeho5uH6MSyFppksTahiteZwR8gGPm/pFmgbFn 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/artifacts/channel/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/eb8b466eb3e8b26ff4aaa0a87d9713061af8d6343dfa016ac96df1b52db476b0_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgutyq+PUbcQQgetVd 3 | dh/d4wrCU+LtS/2Gb6ISc11HPwmhRANCAARk9+zPQq6vaqY4zUODnlteuxgPnaay 4 | CKa86CYKiOp6Zbo4wRl288JqG49wkeWrW4KXP1q64bQA6+J5IOtXWa+p 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/artifacts/channel/crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/msp/keystore/3facfe6a50a2df088a86cb13ce5a407cca0e925687ad98c31e38e8d934624a4d_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgu9CmN0F2O8uhyP1B 3 | F9t0kktyvppLKZINLjlZl3yBuU6hRANCAARIZEL+h38SL9gLu50LqIs7j3Oe9SOz 4 | /NNTtgKIh3sTdPPUS/tN9xb3x2C7Dvy2t0BH2N1E4vjah80ofpQbA5r4 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/artifacts/channel/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/keystore/a31932571eeb484d1f9ff613271b5d2b8e2a30166280b56dcfe026d08701aedb_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgOQ9auqdunEdz1Qtl 3 | R174Efk2sJnAKSGUqw2xtTI55aWhRANCAATsHR31ml5wJZGsjF0TegmAJHQkeLg6 4 | N3XNy/A0Na4Eagfq0lqrbNTXI5lPTrDERfbo82p+ARBuOjnjK1qvKNIQ 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/artifacts/channel/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/msp/keystore/c8af0b2ce54e419ff1b49a2fd82204f0b8aa16dde958b73a11aec5ee5c40a273_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgPtQ9AT5sgjb6h7+h 3 | RXTGtkHHLU7xg2Miv0xqCphZRM2hRANCAARTPqNGG+9iO/Y8Fmj5awi3U80HbuVG 4 | 1U+IIfbMyMauGxcotuR1j6B+pZHWpxdZrEELFGDXT2hqgq3DpviPdteY 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/artifacts/channel/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/keystore/fd7bc8c849d71070f5965a51bb0af1dfdb8a6d89490ed04331847329b462a2a2_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg01qS4AhW5QrYByXp 3 | asy9GN3i0vOqe/eyyn21UIHqkemhRANCAAShbYJGN76LZMHtArAg+s4nkbAd2lDS 4 | Tek15rlo8ms+N56z5EZ//hjfZjP1BWiok45Gh2EyR/WvlgVfOnSiPXW3 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/artifacts/channel/crypto-config/peerOrganizations/org2.example.com/users/User1@org2.example.com/msp/keystore/4f0ea1ed7105ca0b04fc0c312a039cc9832c2e99fdb806a7ab660c454ec7f5e8_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQghce7gOHpCieyDUXh 3 | Uhq0XilJBf2g2mQXFA30v/PjDFKhRANCAAQwER7caygpGmOrB7O23n67bsCg3etM 4 | sPQqGwRpydzXCjqj31iBtnpzDyLqLpFWBnXx66rAQAdWnFSVuPbvgBp6 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /packages/ledger-plugin/fabric/validator/src/dependent/template/PluginConfig_template.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2019-2020 Fujitsu Laboratories Ltd. 3 | * SPDX-License-Identifier: Apache-2.0 4 | * 5 | * PluginConfig_template.js 6 | */ 7 | 8 | /* 9 | * Summary: 10 | * Configuration file of cooperation server: a part dependent on end-chains 11 | * Definition values specific to the connection dependent part, etc. 12 | */ 13 | 14 | module.exports = { 15 | // Nothing special 16 | }; 17 | -------------------------------------------------------------------------------- /packages/ledger-plugin/fabric/validator/src/dependent/template/PluginUtil_template.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2019-2020 Fujitsu Laboratories Ltd. 3 | * SPDX-License-Identifier: Apache-2.0 4 | * 5 | * PluginUtil_template.js 6 | */ 7 | 8 | /* 9 | * Summary: 10 | * Cooperation server: utility libraries of a part dependent on end-chains 11 | * For example, implementing internal functions that should not be exposed as functions of ServerPlugin. 12 | */ 13 | 14 | // Nothing special 15 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/contracts/src/mycc/vendor/golang.org/x/crypto/sha3/keccakf_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build amd64,!appengine,!gccgo 6 | 7 | package sha3 8 | 9 | // This function is implemented in keccakf_amd64.s. 10 | 11 | //go:noescape 12 | 13 | func keccakF1600(a *[25]uint64) 14 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/appserver/serviceapi/lib/userImple/UserErrorDef.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2019 Fujitsu Laboratories Ltd. 3 | * SPDX-License-Identifier: Apache-2.0 4 | * 5 | * UserErrorDef.js 6 | */ 7 | 8 | /* Summary: 9 | * User Defined Error 10 | */ 11 | 12 | // Error code & message definition 13 | const definitions = { 14 | // Describe in errorCode:"errorMessage" format 15 | }; 16 | 17 | module.exports = definitions; 18 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/restserver/coreapi/lib/userImple/UserErrorDef.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2019 Fujitsu Laboratories Ltd. 3 | * SPDX-License-Identifier: Apache-2.0 4 | * 5 | * UserErrorDef.js 6 | */ 7 | 8 | /* Summary: 9 | * User Defined Error 10 | */ 11 | 12 | // Error code & message definition 13 | const definitions = { 14 | // Describe in errorCode:"errorMessage" format 15 | }; 16 | 17 | module.exports = definitions; 18 | -------------------------------------------------------------------------------- /packages/cactus-test-tooling/src/main/typescript/i-key-pair.ts: -------------------------------------------------------------------------------- 1 | export interface IKeyPair { 2 | publicKey: string; 3 | privateKey: string; 4 | } 5 | 6 | export function isIKeyPair( 7 | allegedKeyPair: IKeyPair 8 | ): allegedKeyPair is IKeyPair { 9 | return ( 10 | typeof allegedKeyPair.privateKey === "string" && 11 | typeof allegedKeyPair.publicKey === "string" && 12 | allegedKeyPair.privateKey.length > 0 && 13 | allegedKeyPair.publicKey.length > 0 14 | ); 15 | } 16 | -------------------------------------------------------------------------------- /packages/ledger-plugin/go-ethereum/validator/src/README.md: -------------------------------------------------------------------------------- 1 | 7 | # Validator of Ethereum-speicific Ledger Plugin 8 | 9 | ## Assumption 10 | - A ledger (Ethereum node) to connect is already running 11 | - Specify URL of the ledger node to connect to in "provider" of "PluginConfig.js" 12 | 13 | ## Execution 14 |
15 | cd core
16 | node ./bin/www.js 
17 | 
18 | -------------------------------------------------------------------------------- /packages/ledger-plugin/go-ethereum/validator/src/dependent/template/PluginConfig_template.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2019-2020 Fujitsu Laboratories Ltd. 3 | * SPDX-License-Identifier: Apache-2.0 4 | * 5 | * PluginConfig_template.js 6 | */ 7 | 8 | /* 9 | * Summary: 10 | * Cooperation server: configuration file of a part dependent on end-chains 11 | * Definition values specific to the connection dependent part, etc. 12 | */ 13 | 14 | module.exports = { 15 | // Nothing special 16 | }; 17 | -------------------------------------------------------------------------------- /packages/ledger-plugin/go-ethereum/validator/src/dependent/template/PluginUtil_template.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2019-2020 Fujitsu Laboratories Ltd. 3 | * SPDX-License-Identifier: Apache-2.0 4 | * 5 | * PluginUtil_template.js 6 | */ 7 | 8 | /* 9 | * Summary: 10 | * Cooperation server: utility libraries of a part dependent on end-chains 11 | * For example, implementing internal functions that should not be exposed as functions of ServerPlugin. 12 | */ 13 | 14 | // Nothing special 15 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/contracts/src/mycc/vendor/github.com/ethereum/go-ethereum/crypto/secp256k1/libsecp256k1/src/modules/ecdh/Makefile.am.include: -------------------------------------------------------------------------------- 1 | include_HEADERS += include/secp256k1_ecdh.h 2 | noinst_HEADERS += src/modules/ecdh/main_impl.h 3 | noinst_HEADERS += src/modules/ecdh/tests_impl.h 4 | if USE_BENCHMARK 5 | noinst_PROGRAMS += bench_ecdh 6 | bench_ecdh_SOURCES = src/bench_ecdh.c 7 | bench_ecdh_LDADD = libsecp256k1.la $(SECP_LIBS) $(COMMON_LIB) 8 | endif 9 | -------------------------------------------------------------------------------- /packages/ledger-plugin/fabric/validator/src/core/CA/connector.csr: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIH9MIGkAgEAMEIxCzAJBgNVBAYTAkpQMRAwDgYDVQQIDAdlc2ptczEyMSEwHwYD 3 | VQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQwWTATBgcqhkjOPQIBBggqhkjO 4 | PQMBBwNCAAQz6Ug9sNM66iSq2hg9W+SatrA7mnE4UlKou378/KMq1rbig42decyG 5 | kjrWpOl0cRYfVfRqJHYORjW1v6U2XE7qoAAwCgYIKoZIzj0EAwIDSAAwRQIgCUA1 6 | B5mZK7Hx79J1xBb0MGwuoUkt4bGPXbHqWEMZXQMCIQCRgadPkrNw56+pT5MVxA5K 7 | vV6xTgmxUYrYnpkR4tptqQ== 8 | -----END CERTIFICATE REQUEST----- 9 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/src/plugins/contracts/fabric/src/mycc/vendor/github.com/ethereum/go-ethereum/crypto/secp256k1/libsecp256k1/src/modules/recovery/Makefile.am.include: -------------------------------------------------------------------------------- 1 | include_HEADERS += include/secp256k1_recovery.h 2 | noinst_HEADERS += src/modules/recovery/main_impl.h 3 | noinst_HEADERS += src/modules/recovery/tests_impl.h 4 | if USE_BENCHMARK 5 | noinst_PROGRAMS += bench_recover 6 | bench_recover_SOURCES = src/bench_recover.c 7 | bench_recover_LDADD = libsecp256k1.la $(SECP_LIBS) $(COMMON_LIB) 8 | endif 9 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/appserver/idle.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Copyright 2019 Fujitsu Laboratories Ltd. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | echo "This is a idle script (infinite loop) to keep container running." 6 | echo "Please replace this script." 7 | 8 | cleanup () 9 | { 10 | kill -s SIGTERM $! 11 | exit 0 12 | } 13 | 14 | trap cleanup SIGINT SIGTERM 15 | 16 | while [ 1 ] 17 | do 18 | sleep 60 & 19 | wait $! 20 | done 21 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/restserver/idle.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Copyright 2019 Fujitsu Laboratories Ltd. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | echo "This is a idle script (infinite loop) to keep container running." 6 | echo "Please replace this script." 7 | 8 | cleanup () 9 | { 10 | kill -s SIGTERM $! 11 | exit 0 12 | } 13 | 14 | trap cleanup SIGINT SIGTERM 15 | 16 | while [ 1 ] 17 | do 18 | sleep 60 & 19 | wait $! 20 | done 21 | -------------------------------------------------------------------------------- /packages/cactus-plugin-ledger-connector-besu/src/main/typescript/public-api.ts: -------------------------------------------------------------------------------- 1 | export { PluginLedgerConnectorBesu } from "./plugin-ledger-connector-besu"; 2 | export { PluginFactoryLedgerConnector } from "./plugin-factory-ledger-connector"; 3 | 4 | import { PluginFactoryLedgerConnector } from "./plugin-factory-ledger-connector"; 5 | 6 | export async function createPluginFactory( 7 | options?: any 8 | ): Promise { 9 | return new PluginFactoryLedgerConnector(); 10 | } 11 | -------------------------------------------------------------------------------- /packages/ledger-plugin/go-ethereum/validator/src/core/CA/connector.csr: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIH9MIGkAgEAMEIxCzAJBgNVBAYTAkpQMRAwDgYDVQQIDAdlc2ptczEyMSEwHwYD 3 | VQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQwWTATBgcqhkjOPQIBBggqhkjO 4 | PQMBBwNCAAQz6Ug9sNM66iSq2hg9W+SatrA7mnE4UlKou378/KMq1rbig42decyG 5 | kjrWpOl0cRYfVfRqJHYORjW1v6U2XE7qoAAwCgYIKoZIzj0EAwIDSAAwRQIgCUA1 6 | B5mZK7Hx79J1xBb0MGwuoUkt4bGPXbHqWEMZXQMCIQCRgadPkrNw56+pT5MVxA5K 7 | vV6xTgmxUYrYnpkR4tptqQ== 8 | -----END CERTIFICATE REQUEST----- 9 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/cooperation/coreSide/ec1_adapter/lib/dependent/PluginConfig.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2019 Fujitsu Laboratories Ltd. 3 | * SPDX-License-Identifier: Apache-2.0 4 | * 5 | * PluginConfig.js 6 | */ 7 | 8 | /* 9 | * Summary: 10 | * Configuration file of adapter dependent on end-chains 11 | * Definition values specific to the connection dependent part, etc. 12 | */ 13 | 14 | module.exports = { 15 | // Nothing special 16 | }; 17 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/cooperation/coreSide/ec2_adapter/lib/dependent/PluginConfig.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2019 Fujitsu Laboratories Ltd. 3 | * SPDX-License-Identifier: Apache-2.0 4 | * 5 | * PluginConfig.js 6 | */ 7 | 8 | /* 9 | * Summary: 10 | * Configuration file of adapter dependent on end-chains 11 | * Definition values specific to the connection dependent part, etc. 12 | */ 13 | 14 | module.exports = { 15 | // Nothing special 16 | }; 17 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/restserver/setup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Copyright 2019 Fujitsu Laboratories Ltd. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | cd /opt/gopath/src/github.com/hyperledger/fabric/work/server/coreapi 6 | npm install 7 | cd /opt/gopath/src/github.com/hyperledger/fabric/work/server/coreapi/lib/common/exp 8 | npm install 9 | cd /opt/gopath/src/github.com/hyperledger/fabric/work/server/coreapi/lib/common/fabric_v1.0 10 | npm install 11 | -------------------------------------------------------------------------------- /packages/cactus-cockpit/browserslist: -------------------------------------------------------------------------------- 1 | # This file is used by the build system to adjust CSS and JS output to support the specified browsers below. 2 | # For additional information regarding the format and rule options, please see: 3 | # https://github.com/browserslist/browserslist#queries 4 | 5 | # You can see what browsers were selected by your queries by running: 6 | # npx browserslist 7 | 8 | > 0.5% 9 | last 2 versions 10 | Firefox ESR 11 | not dead 12 | not IE 9-11 # For IE 9-11 support, remove 'not'. 13 | -------------------------------------------------------------------------------- /tools/docker/quorum-all-in-one/key: -------------------------------------------------------------------------------- 1 | {"address":"ed9d02e382b34818e88b88a309c7fe71e65f419d","crypto":{"cipher":"aes-128-ctr","ciphertext":"4e77046ba3f699e744acb4a89c36a3ea1158a1bd90a076d36675f4c883864377","cipherparams":{"iv":"a8932af2a3c0225ee8e872bc0e462c11"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":262144,"p":1,"r":8,"salt":"8ca49552b3e92f79c51f2cd3d38dfc723412c212e702bd337a3724e8937aff0f"},"mac":"6d1354fef5aa0418389b1a5d1f5ee0050d7273292a1171c51fd02f9ecff55264"},"id":"a65d1ac3-db7e-445d-a1cc-b6c5eeaa05e0","version":3} -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/corda/clients/src/main/resources/application-A.properties: -------------------------------------------------------------------------------- 1 | server.port=10051 2 | corda.rpc.host=localhost 3 | corda.rpc.port=10013 4 | corda.rpc.username=user1 5 | corda.rpc.password=test 6 | logging.file=logs/spring-a.log 7 | logging.com.accenture.interoperability.webserver=DEBUG 8 | auth.username=test 9 | auth.password=A665A45920422F9D417E4867EFDC4FB8A04A1F3FFF1FA07E998E86F7F7A27AE3 10 | jwt.secret=0a6b944d-d2fb-46fc-a85e-0295c986cd9f 11 | jwt.expiration=241920 -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/corda/clients/src/main/resources/application-B.properties: -------------------------------------------------------------------------------- 1 | server.port=10052 2 | corda.rpc.host=localhost 3 | corda.rpc.port=10014 4 | corda.rpc.username=user1 5 | corda.rpc.password=test 6 | logging.file=logs/spring-b.log 7 | logging.com.accenture.interoperability.webserver=DEBUG 8 | auth.username=test 9 | auth.password=A665A45920422F9D417E4867EFDC4FB8A04A1F3FFF1FA07E998E86F7F7A27AE3 10 | jwt.secret=cf46ee61-c0be-4df2-b53f-9d996b8858ce 11 | jwt.expiration=241920 -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/corda/clients/src/main/resources/application-D.properties: -------------------------------------------------------------------------------- 1 | server.port=10054 2 | corda.rpc.host=localhost 3 | corda.rpc.port=10016 4 | corda.rpc.username=user1 5 | corda.rpc.password=test 6 | logging.file=logs/spring-d.log 7 | logging.com.accenture.interoperability.webserver=DEBUG 8 | auth.username=test 9 | auth.password=A665A45920422F9D417E4867EFDC4FB8A04A1F3FFF1FA07E998E86F7F7A27AE3 10 | jwt.secret=0b7cfcd9-8ce5-46f7-a837-2cab60757ce5 11 | jwt.expiration=241920 -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/cooperation/coreSide/idle.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Copyright 2019 Fujitsu Laboratories Ltd. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | echo "This is a idle script (infinite loop) to keep container running." 6 | echo "Please replace this script." 7 | 8 | cleanup () 9 | { 10 | kill -s SIGTERM $! 11 | exit 0 12 | } 13 | 14 | trap cleanup SIGINT SIGTERM 15 | 16 | while [ 1 ] 17 | do 18 | sleep 60 & 19 | wait $! 20 | done 21 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/cooperation/ecSide/idle.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Copyright 2019 Fujitsu Laboratories Ltd. 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | echo "This is a idle script (infinite loop) to keep container running." 6 | echo "Please replace this script." 7 | 8 | cleanup () 9 | { 10 | kill -s SIGTERM $! 11 | exit 0 12 | } 13 | 14 | trap cleanup SIGINT SIGTERM 15 | 16 | while [ 1 ] 17 | do 18 | sleep 60 & 19 | wait $! 20 | done 21 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/Vagrantfile: -------------------------------------------------------------------------------- 1 | # -*- mode: ruby -*- 2 | # vi: set ft=ruby : 3 | 4 | Vagrant.configure("2") do |config| 5 | config.vm.box = "generic/ubuntu1804" 6 | config.vm.provider "hyperv" 7 | 8 | config.vm.network "public_network", bridge: "Default Switch" 9 | 10 | config.vm.provider :hyperv do |hyperv| 11 | hyperv.vmname = "CACTUS-CI-Box" 12 | hyperv.maxmemory = 16384 13 | hyperv.cpus = 4 14 | end 15 | 16 | config.vm.provision "shell", path: "tools/configure.sh" 17 | 18 | end 19 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/sample/cc_env/servers/cooperation/coreSide/adapter/lib/ec1_dependent/PluginConfig.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2019 Fujitsu Laboratories Ltd. 3 | * SPDX-License-Identifier: Apache-2.0 4 | * 5 | * PluginConfig.js 6 | */ 7 | 8 | /* 9 | * Summary: 10 | * Configuration file of adapter: a part dependent on end-chains 11 | * Definition values specific to the connection dependent part, etc. 12 | */ 13 | 14 | module.exports = { 15 | // Nothing special 16 | }; 17 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/sample/cc_env/servers/cooperation/coreSide/adapter/lib/ec2_dependent/PluginConfig.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2019 Fujitsu Laboratories Ltd. 3 | * SPDX-License-Identifier: Apache-2.0 4 | * 5 | * PluginConfig.js 6 | */ 7 | 8 | /* 9 | * Summary: 10 | * Configuration file of adapter: a part dependent on end-chains 11 | * Definition values specific to the connection dependent part, etc. 12 | */ 13 | 14 | module.exports = { 15 | // Nothing special 16 | }; 17 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/contracts/src/mycc/vendor/github.com/ethereum/go-ethereum/crypto/secp256k1/libsecp256k1/src/modules/recovery/Makefile.am.include: -------------------------------------------------------------------------------- 1 | include_HEADERS += include/secp256k1_recovery.h 2 | noinst_HEADERS += src/modules/recovery/main_impl.h 3 | noinst_HEADERS += src/modules/recovery/tests_impl.h 4 | if USE_BENCHMARK 5 | noinst_PROGRAMS += bench_recover 6 | bench_recover_SOURCES = src/bench_recover.c 7 | bench_recover_LDADD = libsecp256k1.la $(SECP_LIBS) $(COMMON_LIB) 8 | endif 9 | -------------------------------------------------------------------------------- /packages/cactus-sdk/src/main/typescript/generated/openapi/typescript-axios/index.ts: -------------------------------------------------------------------------------- 1 | // tslint:disable 2 | /** 3 | * Hyperledger Cactus API 4 | * Interact with a Cactus deployment through HTTP. 5 | * 6 | * The version of the OpenAPI document: 0.0.1 7 | * 8 | * 9 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 10 | * https://openapi-generator.tech 11 | * Do not edit the class manually. 12 | */ 13 | 14 | 15 | export * from "./api"; 16 | export * from "./configuration"; 17 | -------------------------------------------------------------------------------- /packages/ledger-plugin/fabric/validator/src/core/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "connector", 3 | "version": "0.0.0", 4 | "private": true, 5 | "scripts": { 6 | "start": "node ./bin/www" 7 | }, 8 | "dependencies": { 9 | "body-parser": "~1.17.1", 10 | "config": "^1.26.1", 11 | "cookie-parser": "~1.4.3", 12 | "debug": "~4.1.1", 13 | "express": "~4.15.2", 14 | "log4js": "^3.0.6", 15 | "morgan": "~1.8.1", 16 | "serve-favicon": "~2.4.2", 17 | "socket.io": "^2.0.4" 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/corda/clients/src/main/resources/application-C.properties: -------------------------------------------------------------------------------- 1 | server.port=10053 2 | corda.rpc.host=localhost 3 | corda.rpc.port=10015 4 | corda.rpc.username=user1 5 | corda.rpc.password=test 6 | logging.file=logs/spring-c.log 7 | logging.com.accenture.interoperability.webserver=DEBUG 8 | auth.username=test 9 | auth.password=A665A45920422F9D417E4867EFDC4FB8A04A1F3FFF1FA07E998E86F7F7A27AE3 10 | jwt.secret=03162aa6-96fe-46bf-a701-6b5bf5610024 11 | jwt.expiration=241920 12 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/src/plugins/contracts/fabric/src/mycc/vendor/github.com/ethereum/go-ethereum/crypto/secp256k1/libsecp256k1/libsecp256k1.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: libsecp256k1 7 | Description: Optimized C library for EC operations on curve secp256k1 8 | URL: https://github.com/bitcoin-core/secp256k1 9 | Version: @PACKAGE_VERSION@ 10 | Cflags: -I${includedir} 11 | Libs.private: @SECP_LIBS@ 12 | Libs: -L${libdir} -lsecp256k1 13 | 14 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/appserver/serviceapi/config/default.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2019 Fujitsu Laboratories Ltd. 3 | * SPDX-License-Identifier: Apache-2.0 4 | * 5 | * default.js 6 | */ 7 | 8 | module.exports = { 9 | // DB information to Store ConnectionChain user information 10 | mongodb: { 11 | url: "mongodb://localhost:27017/test" 12 | }, 13 | // Core API connection destination information 14 | coreapi: { 15 | url: "http://rest-server:3030" 16 | } 17 | }; -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/cooperation/ecSide/ec1_connector/lib/dependent/PluginConfig.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2019 Fujitsu Laboratories Ltd. 3 | * SPDX-License-Identifier: Apache-2.0 4 | * 5 | * PluginConfig.js 6 | */ 7 | 8 | /* 9 | * Summary: 10 | * Cooperation server: configuration file of a part dependent on end-chains 11 | * Definition values specific to the connection dependent part, etc. 12 | */ 13 | 14 | module.exports = { 15 | // Nothing special 16 | }; 17 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/cooperation/ecSide/ec1_connector/lib/dependent/PluginUtil.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2019 Fujitsu Laboratories Ltd. 3 | * SPDX-License-Identifier: Apache-2.0 4 | * 5 | * PluginUtil.js 6 | */ 7 | 8 | /* 9 | * Summary: 10 | * Cooperation server: utility libraries of a part dependent on end-chains 11 | * For example, implementing internal functions that should not be exposed as functions of ServerPlugin. 12 | */ 13 | 14 | // Nothing special 15 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/cooperation/ecSide/ec2_connector/lib/dependent/PluginConfig.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2019 Fujitsu Laboratories Ltd. 3 | * SPDX-License-Identifier: Apache-2.0 4 | * 5 | * PluginConfig.js 6 | */ 7 | 8 | /* 9 | * Summary: 10 | * Cooperation server: configuration file of a part dependent on end-chains 11 | * Definition values specific to the connection dependent part, etc. 12 | */ 13 | 14 | module.exports = { 15 | // Nothing special 16 | }; 17 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/cooperation/ecSide/ec2_connector/lib/dependent/PluginUtil.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2019 Fujitsu Laboratories Ltd. 3 | * SPDX-License-Identifier: Apache-2.0 4 | * 5 | * PluginUtil.js 6 | */ 7 | 8 | /* 9 | * Summary: 10 | * Cooperation server: utility libraries of a part dependent on end-chains 11 | * For example, implementing internal functions that should not be exposed as functions of ServerPlugin. 12 | */ 13 | 14 | // Nothing special 15 | -------------------------------------------------------------------------------- /packages/ledger-plugin/go-ethereum/validator/src/core/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "connector", 3 | "version": "0.0.0", 4 | "private": true, 5 | "scripts": { 6 | "start": "node ./bin/www" 7 | }, 8 | "dependencies": { 9 | "body-parser": "~1.17.1", 10 | "config": "^1.26.1", 11 | "cookie-parser": "~1.4.3", 12 | "debug": "~4.1.1", 13 | "express": "~4.15.2", 14 | "log4js": "^3.0.6", 15 | "morgan": "~1.8.1", 16 | "serve-favicon": "~2.4.2", 17 | "socket.io": "^2.0.4" 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /.github/settings.yml: -------------------------------------------------------------------------------- 1 | # 2 | # SPDX-License-Identifier: Apache-2.0 3 | # 4 | 5 | repository: 6 | name: cactus 7 | description: Hyperledger Cactus is a new approach to the blockchain interoperability problem 8 | homepage: https://wiki.hyperledger.org/display/cactus 9 | default_branch: master 10 | has_downloads: false 11 | has_issues: true 12 | has_projects: true 13 | has_wiki: true 14 | archived: false 15 | private: false 16 | allow_squash_merge: true 17 | allow_merge_commit: false 18 | allow_rebase_merge: true 19 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/contracts/src/mycc/vendor/github.com/ethereum/go-ethereum/crypto/secp256k1/libsecp256k1/libsecp256k1.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: libsecp256k1 7 | Description: Optimized C library for EC operations on curve secp256k1 8 | URL: https://github.com/bitcoin-core/secp256k1 9 | Version: @PACKAGE_VERSION@ 10 | Cflags: -I${includedir} 11 | Libs.private: @SECP_LIBS@ 12 | Libs: -L${libdir} -lsecp256k1 13 | 14 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/api/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM node:10-slim 2 | 3 | RUN apt-get update && apt-get install -y \ 4 | build-essential \ 5 | python-minimal \ 6 | software-properties-common 7 | 8 | ADD ./api /src 9 | ADD ./contracts /contracts 10 | ADD ./artifacts /artifacts 11 | 12 | WORKDIR /src 13 | 14 | RUN npm install 15 | 16 | # Rebuild node modules inside container to compile platform specific dependencies 17 | RUN npm rebuild 18 | 19 | ENV HOST 0.0.0.0 20 | ENV PORT 4000 21 | 22 | CMD ["node", "app.js"] -------------------------------------------------------------------------------- /packages/cactus-cockpit/src/app/folder/folder.page.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from "@angular/core"; 2 | import { ActivatedRoute } from "@angular/router"; 3 | 4 | @Component({ 5 | selector: "app-folder", 6 | templateUrl: "./folder.page.html", 7 | styleUrls: ["./folder.page.scss"], 8 | }) 9 | export class FolderPage implements OnInit { 10 | public folder: string; 11 | 12 | constructor(private activatedRoute: ActivatedRoute) {} 13 | 14 | ngOnInit() { 15 | this.folder = this.activatedRoute.snapshot.paramMap.get("id"); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/key1: -------------------------------------------------------------------------------- 1 | {"address":"ed9d02e382b34818e88b88a309c7fe71e65f419d","crypto":{"cipher":"aes-128-ctr","ciphertext":"4e77046ba3f699e744acb4a89c36a3ea1158a1bd90a076d36675f4c883864377","cipherparams":{"iv":"a8932af2a3c0225ee8e872bc0e462c11"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":262144,"p":1,"r":8,"salt":"8ca49552b3e92f79c51f2cd3d38dfc723412c212e702bd337a3724e8937aff0f"},"mac":"6d1354fef5aa0418389b1a5d1f5ee0050d7273292a1171c51fd02f9ecff55264"},"id":"a65d1ac3-db7e-445d-a1cc-b6c5eeaa05e0","version":3} -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/key2: -------------------------------------------------------------------------------- 1 | {"address":"ca843569e3427144cead5e4d5999a3d0ccf92b8e","crypto":{"cipher":"aes-128-ctr","ciphertext":"01d409941ce57b83a18597058033657182ffb10ae15d7d0906b8a8c04c8d1e3a","cipherparams":{"iv":"0bfb6eadbe0ab7ffaac7e1be285fb4e5"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":262144,"p":1,"r":8,"salt":"7b90f455a95942c7c682e0ef080afc2b494ef71e749ba5b384700ecbe6f4a1bf"},"mac":"4cc851f9349972f851d03d75a96383a37557f7c0055763c673e922de55e9e307"},"id":"354e3b35-1fed-407d-a358-889a29111211","version":3} -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/key3: -------------------------------------------------------------------------------- 1 | {"address":"0fbdc686b912d7722dc86510934589e0aaf3b55a","crypto":{"cipher":"aes-128-ctr","ciphertext":"6b2c72c6793f3da8185e36536e02f574805e41c18f551f24b58346ef4ecf3640","cipherparams":{"iv":"582f27a739f39580410faa108d5cc59f"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":262144,"p":1,"r":8,"salt":"1a79b0db3f8cb5c2ae4fa6ccb2b5917ce446bd5e42c8d61faeee512b97b4ad4a"},"mac":"cecb44d2797d6946805d5d744ff803805477195fab1d2209eddc3d1158f2e403"},"id":"f7292e90-af71-49af-a5b3-40e8493f4681","version":3} -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/key4: -------------------------------------------------------------------------------- 1 | {"address":"9186eb3d20cbd1f5f992a950d808c4495153abd5","crypto":{"cipher":"aes-128-ctr","ciphertext":"d160a630a39be3ff35556055406d8ff2a635f0535fe298d62ccc812d8f7b3bd5","cipherparams":{"iv":"82fce06bc6e1658a5e81ccef3b753329"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":262144,"p":1,"r":8,"salt":"8d0c486db4c942721f4f5e96d48e9344805d101dad8159962b8a2008ac718548"},"mac":"4a92bda949068968d470320260ae1a825aa22f6a40fb8567c9f91d700c3f7e91"},"id":"bdb3b4f6-d8d0-4b00-8473-e223ef371b5c","version":3} -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/key5: -------------------------------------------------------------------------------- 1 | {"address":"0638e1574728b6d862dd5d3a3e0942c3be47d996","crypto":{"cipher":"aes-128-ctr","ciphertext":"d8119d67cb134bc65c53506577cfd633bbbf5acca976cea12dd507de3eb7fd6f","cipherparams":{"iv":"76e88f3f246d4bf9544448d1a27b06f4"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":262144,"p":1,"r":8,"salt":"6d05ade3ee96191ed73ea019f30c02cceb6fc0502c99f706b7b627158bfc2b0a"},"mac":"b39c2c56b35958c712225970b49238fb230d7981ef47d7c33c730c363b658d06"},"id":"00307b43-53a3-4e03-9d0c-4fcbb3da29df","version":3} -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/key6: -------------------------------------------------------------------------------- 1 | {"address":"ae9bc6cd5145e67fbd1887a5145271fd182f0ee7","crypto":{"cipher":"aes-128-ctr","ciphertext":"013ed4c928bf7ae50dba7c9d8396f2d89d1fccc16a2067fdad56e125a0f5d96c","cipherparams":{"iv":"9fce4f1ab5c9cdaee9432dbc43d28ed8"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":262144,"p":1,"r":8,"salt":"5301d6b0c7bc8ba4ca60256ba524bae57cb078679e0de7d5322ebdc2393849a0"},"mac":"55aabdbc4853a188e8b63a1cec93e5d233a8b5b529ed00c610d1b4a9b27990da"},"id":"025f7cf0-f35b-4988-8a22-2443a08e5d69","version":3} -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/key7: -------------------------------------------------------------------------------- 1 | {"address":"cc71c7546429a13796cf1bf9228bff213e7ae9cc","crypto":{"cipher":"aes-128-ctr","ciphertext":"a522d53d5a86405435f6288d4e34b0c038de25f46fa935b0be78fd24d4aa65da","cipherparams":{"iv":"10511f1422825b699718559dcaaa0ff2"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":262144,"p":1,"r":8,"salt":"471dfeff2dc7524d27970e54d8224320cb13f7e580431473a362fe8850ebc120"},"mac":"25ee0b623467350a4245a041a89a6797560ade8a1bd1c8d4d1b67ca5e37c56c0"},"id":"477df10a-9591-4fae-9c30-3aa0bc0ec57b","version":3} -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/platform/keys/key8: -------------------------------------------------------------------------------- 1 | {"address":"a9e871f88cbeb870d32d88e4221dcfbd36dd635a","crypto":{"cipher":"aes-128-ctr","ciphertext":"ef6b5b4fc31fb5d6e7f76ef41fd535c911f6fb30ea4352ab0c4e596a174e139d","cipherparams":{"iv":"d131dec4288badf4ba25d04053294df9"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":262144,"p":1,"r":8,"salt":"92e02db465c1a22e0a16d913cfd5cc538321a50b192d0888dbc92c450ead85e4"},"mac":"19bc6e3fdc15eded402506309d42c36c9a03ffadd087d89aad6f61b61ea88760"},"id":"e65354b5-54ce-46f9-a287-9f2a0efc2d35","version":3} -------------------------------------------------------------------------------- /packages/ledger-plugin/go-ethereum/validator/src/dependent/PluginConfig.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2019-2020 Fujitsu Laboratories Ltd. 3 | * SPDX-License-Identifier: Apache-2.0 4 | * 5 | * PluginConfig.js 6 | */ 7 | 8 | /* 9 | * Summary: 10 | * Configuration file of cooperation server: a part dependent on end-chains 11 | * Definition values specific to the connection dependent part, etc. 12 | */ 13 | 14 | module.exports = { 15 | // URL to operate and monitor 16 | //"provider" : 'http://geth1:8545' 17 | "provider" : 'http://localhost:8545' 18 | }; 19 | -------------------------------------------------------------------------------- /typings/web3-eea/index.d.ts: -------------------------------------------------------------------------------- 1 | 2 | declare module "web3-eea" { 3 | 4 | export default function EEAClient(web3: IWeb3Instance, chainId: number): IWeb3InstanceExtended; 5 | 6 | export interface IWeb3Instance { 7 | currentProvider: any; 8 | extend: (...args: any[]) => any; 9 | } 10 | 11 | export interface IEeaWeb3Extension { 12 | sendRawTransaction: (...args: any[]) => any 13 | } 14 | 15 | export interface IWeb3InstanceExtended extends IWeb3Instance { 16 | eea: IEeaWeb3Extension; 17 | } 18 | } 19 | 20 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/cooperation/coreSide/ec1_adapter/CA/adapter.csr: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIH9MIGkAgEAMEIxCzAJBgNVBAYTAkpQMRAwDgYDVQQIDAdlc2ptczEyMSEwHwYD 3 | VQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQwWTATBgcqhkjOPQIBBggqhkjO 4 | PQMBBwNCAAQz6Ug9sNM66iSq2hg9W+SatrA7mnE4UlKou378/KMq1rbig42decyG 5 | kjrWpOl0cRYfVfRqJHYORjW1v6U2XE7qoAAwCgYIKoZIzj0EAwIDSAAwRQIgCUA1 6 | B5mZK7Hx79J1xBb0MGwuoUkt4bGPXbHqWEMZXQMCIQCRgadPkrNw56+pT5MVxA5K 7 | vV6xTgmxUYrYnpkR4tptqQ== 8 | -----END CERTIFICATE REQUEST----- 9 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/cooperation/coreSide/ec2_adapter/CA/adapter.csr: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIH9MIGkAgEAMEIxCzAJBgNVBAYTAkpQMRAwDgYDVQQIDAdlc2ptczEyMSEwHwYD 3 | VQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQwWTATBgcqhkjOPQIBBggqhkjO 4 | PQMBBwNCAAQz6Ug9sNM66iSq2hg9W+SatrA7mnE4UlKou378/KMq1rbig42decyG 5 | kjrWpOl0cRYfVfRqJHYORjW1v6U2XE7qoAAwCgYIKoZIzj0EAwIDSAAwRQIgCUA1 6 | B5mZK7Hx79J1xBb0MGwuoUkt4bGPXbHqWEMZXQMCIQCRgadPkrNw56+pT5MVxA5K 7 | vV6xTgmxUYrYnpkR4tptqQ== 8 | -----END CERTIFICATE REQUEST----- 9 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/cooperation/ecSide/ec1_connector/CA/connector.csr: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIH9MIGkAgEAMEIxCzAJBgNVBAYTAkpQMRAwDgYDVQQIDAdlc2ptczEyMSEwHwYD 3 | VQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQwWTATBgcqhkjOPQIBBggqhkjO 4 | PQMBBwNCAAQz6Ug9sNM66iSq2hg9W+SatrA7mnE4UlKou378/KMq1rbig42decyG 5 | kjrWpOl0cRYfVfRqJHYORjW1v6U2XE7qoAAwCgYIKoZIzj0EAwIDSAAwRQIgCUA1 6 | B5mZK7Hx79J1xBb0MGwuoUkt4bGPXbHqWEMZXQMCIQCRgadPkrNw56+pT5MVxA5K 7 | vV6xTgmxUYrYnpkR4tptqQ== 8 | -----END CERTIFICATE REQUEST----- 9 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/cooperation/ecSide/ec2_connector/CA/connector.csr: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIH9MIGkAgEAMEIxCzAJBgNVBAYTAkpQMRAwDgYDVQQIDAdlc2ptczEyMSEwHwYD 3 | VQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQwWTATBgcqhkjOPQIBBggqhkjO 4 | PQMBBwNCAAQz6Ug9sNM66iSq2hg9W+SatrA7mnE4UlKou378/KMq1rbig42decyG 5 | kjrWpOl0cRYfVfRqJHYORjW1v6U2XE7qoAAwCgYIKoZIzj0EAwIDSAAwRQIgCUA1 6 | B5mZK7Hx79J1xBb0MGwuoUkt4bGPXbHqWEMZXQMCIQCRgadPkrNw56+pT5MVxA5K 7 | vV6xTgmxUYrYnpkR4tptqQ== 8 | -----END CERTIFICATE REQUEST----- 9 | -------------------------------------------------------------------------------- /packages/cactus-cockpit/.gitignore: -------------------------------------------------------------------------------- 1 | # Specifies intentionally untracked files to ignore when using Git 2 | # http://git-scm.com/docs/gitignore 3 | 4 | *~ 5 | *.sw[mnpcod] 6 | .tmp 7 | *.tmp 8 | *.tmp.* 9 | *.sublime-project 10 | *.sublime-workspace 11 | .DS_Store 12 | Thumbs.db 13 | UserInterfaceState.xcuserstate 14 | $RECYCLE.BIN/ 15 | 16 | *.log 17 | log.txt 18 | npm-debug.log* 19 | 20 | /.idea 21 | /.ionic 22 | /.sass-cache 23 | /.sourcemaps 24 | /.versions 25 | /.vscode 26 | /coverage 27 | /dist 28 | /node_modules 29 | /platforms 30 | /plugins 31 | /www 32 | -------------------------------------------------------------------------------- /tools/docker/besu-all-in-one/docker-compose.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3.6' 3 | 4 | services: 5 | besu-aio: 6 | image: "hyperledger/cactus-hyperledger/cactus-besu-all-in-one:latest" 7 | environment: 8 | - LOG4J_CONFIGURATION_FILE=/config/log-config.xml 9 | - BESU_PUBLIC_KEY_DIRECTORY=/opt/besu/public-keys/ 10 | ports: 11 | - 8545:8545/tcp # besu RPC - HTTP 12 | - 8546:8546/tcp # besu RPC - WebSocket 13 | - 8888:8888/tcp # orion - HTTP 14 | - 9001:9001/tcp # supervisord - HTTP 15 | - 9545:9545/tcp # besu metrics 16 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/api/utils/web3.js: -------------------------------------------------------------------------------- 1 | const Web3 = require('web3'); 2 | const config = require('../config/config'); 3 | const logger = require('../utils/logger')('web3'); 4 | 5 | const rpcApiHost = 6 | `http://${config.web3.host[`${process.platform}`]}:${config.web3.rpcPort}`; 7 | logger.info(`Using web3 from ${rpcApiHost}...`); 8 | const web3Provider = new Web3.providers.HttpProvider(rpcApiHost); 9 | const web3 = new Web3(web3Provider); 10 | web3.eth.defaultAccount = config.web3.ethKey; 11 | module.exports = web3; 12 | -------------------------------------------------------------------------------- /packages/cactus-cockpit/src/app/folder/folder.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from "@angular/core"; 2 | import { CommonModule } from "@angular/common"; 3 | import { FormsModule } from "@angular/forms"; 4 | 5 | import { IonicModule } from "@ionic/angular"; 6 | 7 | import { FolderPageRoutingModule } from "./folder-routing.module"; 8 | 9 | import { FolderPage } from "./folder.page"; 10 | 11 | @NgModule({ 12 | imports: [CommonModule, FormsModule, IonicModule, FolderPageRoutingModule], 13 | declarations: [FolderPage], 14 | }) 15 | export class FolderPageModule {} 16 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/src/plugins/contracts/fabric/src/mycc/vendor/golang.org/x/crypto/sha3/xor.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !amd64,!386,!ppc64le appengine 6 | 7 | package sha3 8 | 9 | var ( 10 | xorIn = xorInGeneric 11 | copyOut = copyOutGeneric 12 | xorInUnaligned = xorInGeneric 13 | copyOutUnaligned = copyOutGeneric 14 | ) 15 | 16 | const xorImplementationUnaligned = "generic" 17 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/sample/cc_env/servers/cooperation/ecSide/connector/lib/ec1_dependent/PluginConfig.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2019 Fujitsu Laboratories Ltd. 3 | * SPDX-License-Identifier: Apache-2.0 4 | * 5 | * PluginConfig.js 6 | */ 7 | 8 | /* 9 | * Summary: 10 | * Configuration file of cooperation server: a part dependent on end-chains 11 | * Definition values specific to the connection dependent part, etc. 12 | */ 13 | 14 | module.exports = { 15 | // URL to operate and monitor 16 | "provider" : 'http://geth1:8545' 17 | }; 18 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/sample/cc_env/servers/cooperation/ecSide/connector/lib/ec2_dependent/PluginConfig.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2019 Fujitsu Laboratories Ltd. 3 | * SPDX-License-Identifier: Apache-2.0 4 | * 5 | * PluginConfig.js 6 | */ 7 | 8 | /* 9 | * Summary: 10 | * Configuration file of cooperation server: a part dependent on end-chains 11 | * Definition values specific to the connection dependent part, etc. 12 | */ 13 | 14 | module.exports = { 15 | // URL to operate and monitor 16 | "provider" : 'http://geth2:8545' 17 | }; 18 | -------------------------------------------------------------------------------- /packages/cactus-plugin-keychain-memory/src/main/typescript/plugin-factory-keychain.ts: -------------------------------------------------------------------------------- 1 | import { PluginFactory } from "@hyperledger/cactus-core-api"; 2 | import { 3 | IPluginKeychainOptions, 4 | PluginKeychainMemory, 5 | } from "./plugin-keychain-memory"; 6 | 7 | export class PluginFactoryKeychain extends PluginFactory< 8 | PluginKeychainMemory, 9 | IPluginKeychainOptions 10 | > { 11 | async create( 12 | options: IPluginKeychainOptions = { backend: new Map() } 13 | ): Promise { 14 | return new PluginKeychainMemory(options); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /tools/generate-secp256k1-key-pair.js: -------------------------------------------------------------------------------- 1 | const { randomBytes } = require("crypto"); 2 | const secp256k1 = require("secp256k1"); 3 | 4 | let privateKeyBytes; 5 | do { 6 | privateKeyBytes = randomBytes(32); 7 | } while (!secp256k1.privateKeyVerify(privateKeyBytes)); 8 | 9 | const publicKeyBytes = secp256k1.publicKeyCreate(privateKeyBytes); 10 | 11 | const privateKey = Buffer.from(privateKeyBytes).toString("hex"); 12 | const publicKey = Buffer.from(publicKeyBytes).toString("hex"); 13 | 14 | console.log(JSON.stringify({ privateKey, publicKey }, null, 4)); 15 | 16 | process.exit(0); 17 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/cooperation/ecSide/ec1_connector/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "connector", 3 | "version": "0.0.0", 4 | "private": true, 5 | "scripts": { 6 | "start": "node ./bin/www" 7 | }, 8 | "dependencies": { 9 | "body-parser": "~1.17.1", 10 | "config": "^1.26.1", 11 | "cookie-parser": "~1.4.3", 12 | "debug": "~4.1.1", 13 | "express": "~4.15.2", 14 | "log4js": "^3.0.6", 15 | "morgan": "~1.9.1", 16 | "serve-favicon": "~2.4.2", 17 | "socket.io": "^2.0.4" 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/cooperation/ecSide/ec2_connector/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "connector", 3 | "version": "0.0.0", 4 | "private": true, 5 | "scripts": { 6 | "start": "node ./bin/www" 7 | }, 8 | "dependencies": { 9 | "body-parser": "~1.17.1", 10 | "config": "^1.26.1", 11 | "cookie-parser": "~1.4.3", 12 | "debug": "~4.1.1", 13 | "express": "~4.15.2", 14 | "log4js": "^3.0.6", 15 | "morgan": "~1.9.1", 16 | "serve-favicon": "~2.4.2", 17 | "socket.io": "^2.0.4" 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /packages/ledger-plugin/go-ethereum/validator/src/core/config/default.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2019-2020 Fujitsu Laboratories Ltd. 3 | * SPDX-License-Identifier: Apache-2.0 4 | * 5 | * default.js 6 | */ 7 | 8 | module.exports = { 9 | // Defined value for the destination independent part. 10 | // Destination dependent definition values should be in lib/PluginConfig.js. 11 | "sslParam" : { 12 | "port" : 5050, 13 | "key" : './CA/connector.priv', 14 | "cert" : './CA/connector.crt' 15 | }, 16 | // Log level (trace/debug/info/warn/error/fatal) 17 | "logLevel" : "debug" 18 | }; 19 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/contracts/src/mycc/vendor/golang.org/x/crypto/sha3/xor.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !amd64,!386,!ppc64le appengine 6 | 7 | package sha3 8 | 9 | var ( 10 | xorIn = xorInGeneric 11 | copyOut = copyOutGeneric 12 | xorInUnaligned = xorInGeneric 13 | copyOutUnaligned = copyOutGeneric 14 | ) 15 | 16 | const xorImplementationUnaligned = "generic" 17 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/src/plugins/contracts/fabric/src/mycc/vendor/golang.org/x/crypto/sha3/register.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build go1.4 6 | 7 | package sha3 8 | 9 | import ( 10 | "crypto" 11 | ) 12 | 13 | func init() { 14 | crypto.RegisterHash(crypto.SHA3_224, New224) 15 | crypto.RegisterHash(crypto.SHA3_256, New256) 16 | crypto.RegisterHash(crypto.SHA3_384, New384) 17 | crypto.RegisterHash(crypto.SHA3_512, New512) 18 | } 19 | -------------------------------------------------------------------------------- /packages/cactus-plugin-kv-storage-memory/src/main/typescript/plugin-factory-kv-storage.ts: -------------------------------------------------------------------------------- 1 | import { PluginFactory } from "@hyperledger/cactus-core-api"; 2 | import { 3 | IPluginKVStorageOptions, 4 | PluginKVStorageMemory, 5 | } from "./plugin-kv-storage-memory"; 6 | 7 | export class PluginFactoryKVStorage extends PluginFactory< 8 | PluginKVStorageMemory, 9 | IPluginKVStorageOptions 10 | > { 11 | async create( 12 | options: IPluginKVStorageOptions = { backend: new Map() } 13 | ): Promise { 14 | return new PluginKVStorageMemory(options); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /typings/is-port-reachable/index.d.ts: -------------------------------------------------------------------------------- 1 | 2 | declare module "is-port-reachable" { 3 | 4 | /** 5 | * @param port Positive integer, the number of the port to check for reachability. 6 | * @param options 7 | * @param options.host Defaults to `localhost` 8 | * @param options.timeout Defaults to `1000` and counted in milliseconds. 9 | */ 10 | export default function isPortReachable (port: number, options?: IIsPortReachableOptions): Promise; 11 | 12 | export interface IIsPortReachableOptions { 13 | host?: string; 14 | timeout?: number; 15 | } 16 | 17 | } 18 | 19 | -------------------------------------------------------------------------------- /tools/docker/quorum-all-in-one/supervisord.conf: -------------------------------------------------------------------------------- 1 | [supervisord] 2 | logfile = /var/log/supervisord.log 3 | logfile_maxbytes = 50MB 4 | logfile_backups=10 5 | loglevel = info 6 | 7 | [program:tessera] 8 | command=/start-tessera.sh 9 | autostart=true 10 | autorestart=true 11 | stderr_logfile=/var/log/tessera.err.log 12 | stdout_logfile=/var/log/tessera.out.log 13 | 14 | [program:quorum] 15 | command=/start-quorum.sh 16 | autostart=true 17 | autorestart=true 18 | stderr_logfile=/var/log/quorum.err.log 19 | stdout_logfile=/var/log/quorum.out.log 20 | 21 | [inet_http_server] 22 | port = 0.0.0.0:9001 23 | 24 | -------------------------------------------------------------------------------- /packages/cactus-plugin-web-service-consortium/src/main/typescript/generated/openapi/typescript-axios/index.ts: -------------------------------------------------------------------------------- 1 | // tslint:disable 2 | /** 3 | * Hyperledger Cactus Plugin - Consortium Web Service 4 | * Manage a Cactus consortium through the APIs. Needs administrative priviliges. 5 | * 6 | * The version of the OpenAPI document: 0.0.1 7 | * 8 | * 9 | * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). 10 | * https://openapi-generator.tech 11 | * Do not edit the class manually. 12 | */ 13 | 14 | 15 | export * from "./api"; 16 | export * from "./configuration"; 17 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/contracts/src/mycc/vendor/golang.org/x/crypto/sha3/register.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build go1.4 6 | 7 | package sha3 8 | 9 | import ( 10 | "crypto" 11 | ) 12 | 13 | func init() { 14 | crypto.RegisterHash(crypto.SHA3_224, New224) 15 | crypto.RegisterHash(crypto.SHA3_256, New256) 16 | crypto.RegisterHash(crypto.SHA3_384, New384) 17 | crypto.RegisterHash(crypto.SHA3_512, New512) 18 | } 19 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/tests/connector.js: -------------------------------------------------------------------------------- 1 | /* eslint prefer-arrow-callback: "off" */ 2 | /* eslint no-new: "off" */ 3 | /* eslint func-names: ["error", "never"] */ 4 | const chai = require(`chai`); 5 | 6 | const Connector = require(`../src/plugins/Connector`); 7 | 8 | describe(`Connector Constructor`, function() { 9 | it(`New instance of abstract class 'Connector' should throw`, function() { 10 | chai 11 | .expect(() => { 12 | const connector = new Connector(); // eslint-disable-line 13 | }) 14 | .to.throw(TypeError, `can not instanciate abstract class.`); 15 | }); 16 | }); 17 | -------------------------------------------------------------------------------- /MAINTAINERS.md: -------------------------------------------------------------------------------- 1 | Maintainers 2 | =========== 3 | 4 | **Active Maintainers** 5 | 6 | | Name | GitHub | Chat | 7 | |------|--------|------| 8 | | Jonathan Hamilton | [jonathan-m-hamilton][jonathan-m-hamilton] | JHamilton | 9 | | Shingo Fujimoto | [sfuji822][sfuji822] | sfuji822 | 10 | | Peter Somogyvari | [petermetz][petermetz] | peter_somogyvari | 11 | | Takuma TAKEUCHI | [takeutak][takeutak] | takeutak | 12 | 13 | 14 | [jonathan-m-hamilton]: https://github.com/jonathan-m-hamilton 15 | [sfuji822]: https://github.com/sfuji822 16 | [petermetz]: https://github.com/petermetz 17 | [takeutak]: https://github.com/takeutak 18 | 19 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/api/utils/web3.js: -------------------------------------------------------------------------------- 1 | const Web3 = require('web3'); 2 | const EEAClient = require('web3-eea'); 3 | const config = require('../config/config'); 4 | const logger = require('../utils/logger')('web3'); 5 | 6 | const rpcApiHost = `http://${config.web3.host[`${process.platform}`]}:${config.web3.rpcPort}`; 7 | logger.info(`Using web3 from ${rpcApiHost}...`); 8 | const web3Provider = new Web3.providers.HttpProvider(rpcApiHost); 9 | const web3 = new EEAClient(new Web3(web3Provider), 2018); 10 | web3.eth.defaultAccount = config.web3.ethKey; 11 | module.exports = web3; 12 | -------------------------------------------------------------------------------- /packages/ledger-plugin/fabric/validator/src/build/Dockerfile: -------------------------------------------------------------------------------- 1 | # Copyright 2019-2020 Fujitsu Laboratories Ltd. 2 | # SPDX-License-Identifier: Apache-2.0 3 | FROM hyperledger/fabric-ccenv:x86_64-1.0.4 4 | #ENV http_proxy $HTTP_PROXY 5 | #ENV https_proxy $HTTP_PROXY 6 | #ENV HTTP_PROXY $HTTP_PROXY 7 | #ENV HTTPS_PROXY $HTTP_PROXY 8 | #ENV NO_PROXY "rest-server,ec1-connector,ec2-connector,geth1,geth2" 9 | RUN apt update 10 | RUN apt-get install -y screen 11 | RUN apt-get install -y npm 12 | #RUN npm -g config set proxy $HTTP_PROXY 13 | RUN npm -g install n 14 | RUN n --version 15 | RUN n 8.9.0 16 | RUN npm -g install express 17 | -------------------------------------------------------------------------------- /packages/cactus-cockpit/src/app/folder/folder.page.scss: -------------------------------------------------------------------------------- 1 | ion-menu-button { 2 | color: var(--ion-color-primary); 3 | } 4 | 5 | #container { 6 | text-align: center; 7 | position: absolute; 8 | left: 0; 9 | right: 0; 10 | top: 50%; 11 | transform: translateY(-50%); 12 | } 13 | 14 | #container strong { 15 | font-size: 20px; 16 | line-height: 26px; 17 | } 18 | 19 | #container p { 20 | font-size: 16px; 21 | line-height: 22px; 22 | color: #8c8c8c; 23 | margin: 0; 24 | } 25 | 26 | #container a { 27 | text-decoration: none; 28 | } 29 | 30 | ion-content ion-toolbar { 31 | --background: transparent; 32 | } -------------------------------------------------------------------------------- /packages/ledger-plugin/go-ethereum/validator/src/build/Dockerfile: -------------------------------------------------------------------------------- 1 | # Copyright 2019-2020 Fujitsu Laboratories Ltd. 2 | # SPDX-License-Identifier: Apache-2.0 3 | FROM hyperledger/fabric-ccenv:x86_64-1.0.4 4 | #ENV http_proxy $HTTP_PROXY 5 | #ENV https_proxy $HTTP_PROXY 6 | #ENV HTTP_PROXY $HTTP_PROXY 7 | #ENV HTTPS_PROXY $HTTP_PROXY 8 | #ENV NO_PROXY "rest-server,ec1-connector,ec2-connector,geth1,geth2" 9 | RUN apt update 10 | RUN apt-get install -y screen 11 | RUN apt-get install -y npm 12 | #RUN npm -g config set proxy $HTTP_PROXY 13 | RUN npm -g install n 14 | RUN n --version 15 | RUN n 8.9.0 16 | RUN npm -g install express 17 | -------------------------------------------------------------------------------- /packages/cactus-plugin-web-service-consortium/src/main/typescript/public-api.ts: -------------------------------------------------------------------------------- 1 | export { 2 | PluginWebServiceConsortium, 3 | IPluginWebServiceConsortiumOptions, 4 | IWebAppOptions, 5 | } from "./plugin-web-service-consortium"; 6 | export { PluginFactoryWebService } from "./plugin-factory-web-service-consortium"; 7 | export * from "./generated/openapi/typescript-axios/index"; 8 | 9 | import { PluginFactoryWebService } from "./plugin-factory-web-service-consortium"; 10 | export async function createPluginFactory( 11 | options?: any 12 | ): Promise { 13 | return new PluginFactoryWebService(); 14 | } 15 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/src/plugins/contracts/fabric/src/mycc/vendor/github.com/ethereum/go-ethereum/crypto/secp256k1/libsecp256k1/src/java/org_bitcoin_Secp256k1Context.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include "org_bitcoin_Secp256k1Context.h" 4 | #include "include/secp256k1.h" 5 | 6 | SECP256K1_API jlong JNICALL Java_org_bitcoin_Secp256k1Context_secp256k1_1init_1context 7 | (JNIEnv* env, jclass classObject) 8 | { 9 | secp256k1_context *ctx = secp256k1_context_create(SECP256K1_CONTEXT_SIGN | SECP256K1_CONTEXT_VERIFY); 10 | 11 | (void)classObject;(void)env; 12 | 13 | return (uintptr_t)ctx; 14 | } 15 | 16 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/restserver/coreapi/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "coreapi", 3 | "version": "0.0.0", 4 | "private": true, 5 | "scripts": { 6 | "start": "node ./bin/www" 7 | }, 8 | "dependencies": { 9 | "body-parser": "~1.17.1", 10 | "config": "^1.26.1", 11 | "cookie-parser": "~1.4.3", 12 | "debug": "~4.1.1", 13 | "express": "~4.15.2", 14 | "https-proxy-agent": "^2.2.1", 15 | "jade": "~1.11.0", 16 | "log4js": "^3.0.6", 17 | "morgan": "~1.9.1", 18 | "request": "^2.81.0", 19 | "serve-favicon": "~2.4.2" 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/sample/cc_env/servers/cooperation/ecSide/connector/lib/ec1_dependent/geth_getBlock.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2019 Fujitsu Laboratories Ltd. 3 | * SPDX-License-Identifier: Apache-2.0 4 | * 5 | * geth_getBlock.js 6 | */ 7 | 8 | // File for direct operation of geth 9 | // checking block information 10 | var SplugConfig = require('./PluginConfig.js'); 11 | var Web3 = require('web3'); 12 | var web3 = new Web3(); 13 | web3.setProvider(new web3.providers.HttpProvider(SplugConfig.provider)); 14 | var res = web3.eth.getBlock(0); // get 0th block information 15 | console.log(res); 16 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/sample/cc_env/servers/cooperation/ecSide/connector/lib/ec2_dependent/geth_getBlock.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2019 Fujitsu Laboratories Ltd. 3 | * SPDX-License-Identifier: Apache-2.0 4 | * 5 | * geth_getBlock.js 6 | */ 7 | 8 | // File for direct operation of geth 9 | // checking block information 10 | var SplugConfig = require('./PluginConfig.js'); 11 | var Web3 = require('web3'); 12 | var web3 = new Web3(); 13 | web3.setProvider(new web3.providers.HttpProvider(SplugConfig.provider)); 14 | var res = web3.eth.getBlock(0); // get 0th block information 15 | console.log(res); 16 | -------------------------------------------------------------------------------- /packages/cactus-plugin-ledger-connector-besu/src/main/typescript/plugin-factory-ledger-connector.ts: -------------------------------------------------------------------------------- 1 | import { PluginFactory } from "@hyperledger/cactus-core-api"; 2 | import { 3 | IPluginLedgerConnectorBesuOptions, 4 | PluginLedgerConnectorBesu, 5 | } from "./plugin-ledger-connector-besu"; 6 | 7 | export class PluginFactoryLedgerConnector extends PluginFactory< 8 | PluginLedgerConnectorBesu, 9 | IPluginLedgerConnectorBesuOptions 10 | > { 11 | async create( 12 | options: IPluginLedgerConnectorBesuOptions 13 | ): Promise { 14 | return new PluginLedgerConnectorBesu(options); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "defaultSeverity": "error", 3 | "extends": [ 4 | "tslint:recommended" 5 | ], 6 | "jsRules": {}, 7 | "rules": { 8 | "variable-name": { 9 | "options": [ 10 | "allow-leading-underscore", 11 | "ban-keywords", 12 | "check-format" 13 | ] 14 | } 15 | }, 16 | "rulesDirectory": [], 17 | "linterOptions": { 18 | "exclude": [ 19 | "packages/cactus-sdk/src/main/typescript/generated/**/*.ts", 20 | "packages/cactus-sdk/src/main/typescript/public-api.ts" 21 | ] 22 | } 23 | } -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/.gitignore: -------------------------------------------------------------------------------- 1 | .vagrant 2 | .DS_Store 3 | node_modules/ 4 | docs/main 5 | logs/ 6 | jspm_packages/ 7 | 8 | # TypeScript v1 declaration files 9 | typings/ 10 | 11 | # Optional npm cache directory 12 | .npm 13 | 14 | # Optional eslint cache 15 | .eslintcache 16 | 17 | # Optional REPL history 18 | .node_repl_history 19 | 20 | # Output of 'npm pack' 21 | *.tgz 22 | 23 | # Yarn Integrity file 24 | .yarn-integrity 25 | 26 | # next.js build output 27 | .next 28 | 29 | # vscode files 30 | .vscode/ 31 | 32 | # Introperability App specifics 33 | examples/simple-asset-transfer/fabric/**/hfc-key-store/ 34 | 35 | bin/ 36 | .tmp/ -------------------------------------------------------------------------------- /packages/cactus-plugin-web-service-consortium/src/main/typescript/plugin-factory-web-service-consortium.ts: -------------------------------------------------------------------------------- 1 | import { PluginFactory } from "@hyperledger/cactus-core-api"; 2 | import { 3 | IPluginWebServiceConsortiumOptions, 4 | PluginWebServiceConsortium, 5 | } from "./plugin-web-service-consortium"; 6 | 7 | export class PluginFactoryWebService extends PluginFactory< 8 | PluginWebServiceConsortium, 9 | IPluginWebServiceConsortiumOptions 10 | > { 11 | async create( 12 | options: IPluginWebServiceConsortiumOptions 13 | ): Promise { 14 | return new PluginWebServiceConsortium(options); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/api/index.js: -------------------------------------------------------------------------------- 1 | // config should be imported before importing any other file 2 | const config = require('./config/config'); 3 | const { app, server } = require('./config/express'); 4 | 5 | const port = process.argv[2] || config.app.port; 6 | 7 | // module.parent check is required to support mocha watch 8 | // src: https://github.com/mochajs/mocha/issues/1912 9 | if (!module.parent) { 10 | server.listen(port, () => { 11 | // eslint-disable-next-line no-console 12 | console.info(`Server started on port: ${port} (${config.env})`); 13 | }); 14 | } 15 | 16 | module.exports = app; 17 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/contracts/src/mycc/vendor/github.com/ethereum/go-ethereum/crypto/secp256k1/libsecp256k1/src/java/org_bitcoin_Secp256k1Context.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include "org_bitcoin_Secp256k1Context.h" 4 | #include "include/secp256k1.h" 5 | 6 | SECP256K1_API jlong JNICALL Java_org_bitcoin_Secp256k1Context_secp256k1_1init_1context 7 | (JNIEnv* env, jclass classObject) 8 | { 9 | secp256k1_context *ctx = secp256k1_context_create(SECP256K1_CONTEXT_SIGN | SECP256K1_CONTEXT_VERIFY); 10 | 11 | (void)classObject;(void)env; 12 | 13 | return (uintptr_t)ctx; 14 | } 15 | 16 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/api/index.js: -------------------------------------------------------------------------------- 1 | // config should be imported before importing any other file 2 | const config = require('./config/config'); 3 | const { app, server } = require('./config/express'); 4 | 5 | const port = process.argv[2] || config.app.port; 6 | 7 | // module.parent check is required to support mocha watch 8 | // src: https://github.com/mochajs/mocha/issues/1912 9 | if (!module.parent) { 10 | server.listen(port, () => { 11 | // eslint-disable-next-line no-console 12 | console.info(`Server started on port: ${port} (${config.env})`); 13 | }); 14 | } 15 | 16 | module.exports = app; 17 | -------------------------------------------------------------------------------- /packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/plugin-factory-ledger-connector.ts: -------------------------------------------------------------------------------- 1 | import { PluginFactory } from "@hyperledger/cactus-core-api"; 2 | import { 3 | IPluginLedgerConnectorQuorumOptions, 4 | PluginLedgerConnectorQuorum, 5 | } from "./plugin-ledger-connector-quorum"; 6 | 7 | export class PluginFactoryLedgerConnector extends PluginFactory< 8 | PluginLedgerConnectorQuorum, 9 | IPluginLedgerConnectorQuorumOptions 10 | > { 11 | async create( 12 | options: IPluginLedgerConnectorQuorumOptions 13 | ): Promise { 14 | return new PluginLedgerConnectorQuorum(options); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /packages/cactus-test-plugin-web-service-consortium/README.md: -------------------------------------------------------------------------------- 1 | # `@hyperledger/cactus-test-plugin-web-service-consortium` 2 | 3 | 4 | ## Usage 5 | 6 | ``` 7 | // TODO: DEMONSTRATE API 8 | ``` 9 | 10 | ## FAQ 11 | 12 | ### **What is a dedicated test package for?** 13 | 14 | This is a dedicated test package meaning that it verifies the integration between two packages that are somehow dependent on each other and therefore these tests cannot be added properly in the child package due to circular dependency issues and it would not be fitting to add it in the parent because the child package's tests should not be held by the parent as a matter of principle. 15 | -------------------------------------------------------------------------------- /packages/cactus-test-plugin-ledger-connector-quorum/README.md: -------------------------------------------------------------------------------- 1 | # `@hyperledger/cactus-test-plugin-ledger-connector-quorum` 2 | 3 | 4 | ## Usage 5 | 6 | ``` 7 | // TODO: DEMONSTRATE API 8 | ``` 9 | 10 | ## FAQ 11 | 12 | ### **What is a dedicated test package for?** 13 | 14 | This is a dedicated test package meaning that it verifies the integration between two packages that are somehow dependent on each other and therefore these tests cannot be added properly in the child package due to circular dependency issues and it would not be fitting to add it in the parent because the child package's tests should not be held by the parent as a matter of principle. 15 | -------------------------------------------------------------------------------- /packages/ledger-plugin/fabric/validator/src/core/CA/connector.crt: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBdTCCARoCCQC/F+Mh551QzDAKBggqhkjOPQQDAjBCMQswCQYDVQQGEwJKUDEQ 3 | MA4GA1UECAwHZXNqbXMxMjEhMB8GA1UECgwYSW50ZXJuZXQgV2lkZ2l0cyBQdHkg 4 | THRkMB4XDTE4MDYyNzA3MjIzNVoXDTI4MDYyNDA3MjIzNVowQjELMAkGA1UEBhMC 5 | SlAxEDAOBgNVBAgMB2Vzam1zMTIxITAfBgNVBAoMGEludGVybmV0IFdpZGdpdHMg 6 | UHR5IEx0ZDBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABDPpSD2w0zrqJKraGD1b 7 | 5Jq2sDuacThSUqi7fvz8oyrWtuKDjZ15zIaSOtak6XRxFh9V9Gokdg5GNbW/pTZc 8 | TuowCgYIKoZIzj0EAwIDSQAwRgIhAKH6ERsyd5bpEMIkY4clPqguwDWoTLk2VKq6 9 | ONEhUqotAiEA4yJxGmZpFdRScG2gDUIF2VDeX+XfHdJI2J41hyW9/zI= 10 | -----END CERTIFICATE----- 11 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/restserver/build/Dockerfile: -------------------------------------------------------------------------------- 1 | # Copyright 2019 Fujitsu Laboratories Ltd. 2 | # SPDX-License-Identifier: Apache-2.0 3 | FROM hyperledger/fabric-ccenv:x86_64-1.0.4 4 | #ENV http_proxy $HTTP_PROXY 5 | #ENV https_proxy $HTTP_PROXY 6 | #ENV HTTP_PROXY $HTTP_PROXY 7 | #ENV HTTPS_PROXY $HTTP_PROXY 8 | #ENV NO_PROXY "rest-server,ec1-connector,ec2-connector,geth1,geth2" 9 | RUN apt update 10 | RUN apt-get install -y screen 11 | RUN apt-get install -y npm 12 | #RUN npm -g config set proxy $HTTP_PROXY 13 | RUN npm -g install n 14 | RUN n --version 15 | RUN n 6.9.1 16 | RUN npm -g install express 17 | -------------------------------------------------------------------------------- /packages/ledger-plugin/go-ethereum/validator/src/core/CA/connector.crt: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBdTCCARoCCQC/F+Mh551QzDAKBggqhkjOPQQDAjBCMQswCQYDVQQGEwJKUDEQ 3 | MA4GA1UECAwHZXNqbXMxMjEhMB8GA1UECgwYSW50ZXJuZXQgV2lkZ2l0cyBQdHkg 4 | THRkMB4XDTE4MDYyNzA3MjIzNVoXDTI4MDYyNDA3MjIzNVowQjELMAkGA1UEBhMC 5 | SlAxEDAOBgNVBAgMB2Vzam1zMTIxITAfBgNVBAoMGEludGVybmV0IFdpZGdpdHMg 6 | UHR5IEx0ZDBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABDPpSD2w0zrqJKraGD1b 7 | 5Jq2sDuacThSUqi7fvz8oyrWtuKDjZ15zIaSOtak6XRxFh9V9Gokdg5GNbW/pTZc 8 | TuowCgYIKoZIzj0EAwIDSQAwRgIhAKH6ERsyd5bpEMIkY4clPqguwDWoTLk2VKq6 9 | ONEhUqotAiEA4yJxGmZpFdRScG2gDUIF2VDeX+XfHdJI2J41hyW9/zI= 10 | -----END CERTIFICATE----- 11 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/cooperation/ecSide/build/Dockerfile: -------------------------------------------------------------------------------- 1 | # Copyright 2019 Fujitsu Laboratories Ltd. 2 | # SPDX-License-Identifier: Apache-2.0 3 | FROM hyperledger/fabric-ccenv:x86_64-1.0.4 4 | #ENV http_proxy $HTTP_PROXY 5 | #ENV https_proxy $HTTP_PROXY 6 | #ENV HTTP_PROXY $HTTP_PROXY 7 | #ENV HTTPS_PROXY $HTTP_PROXY 8 | #ENV NO_PROXY "rest-server,ec1-connector,ec2-connector,geth1,geth2" 9 | RUN apt update 10 | RUN apt-get install -y screen 11 | RUN apt-get install -y npm 12 | #RUN npm -g config set proxy $HTTP_PROXY 13 | RUN npm -g install n 14 | RUN n --version 15 | RUN n 8.9.0 16 | RUN npm -g install express 17 | -------------------------------------------------------------------------------- /packages/cactus-cockpit/src/app/app-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from "@angular/core"; 2 | import { PreloadAllModules, RouterModule, Routes } from "@angular/router"; 3 | 4 | const routes: Routes = [ 5 | { 6 | path: "", 7 | redirectTo: "folder/Inbox", 8 | pathMatch: "full", 9 | }, 10 | { 11 | path: "folder/:id", 12 | loadChildren: () => 13 | import("./folder/folder.module").then((m) => m.FolderPageModule), 14 | }, 15 | ]; 16 | 17 | @NgModule({ 18 | imports: [ 19 | RouterModule.forRoot(routes, { preloadingStrategy: PreloadAllModules }), 20 | ], 21 | exports: [RouterModule], 22 | }) 23 | export class AppRoutingModule {} 24 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/cooperation/coreSide/build/Dockerfile: -------------------------------------------------------------------------------- 1 | # Copyright 2019 Fujitsu Laboratories Ltd. 2 | # SPDX-License-Identifier: Apache-2.0 3 | FROM hyperledger/fabric-ccenv:x86_64-1.0.4 4 | #ENV http_proxy $HTTP_PROXY 5 | #ENV https_proxy $HTTP_PROXY 6 | #ENV HTTP_PROXY $HTTP_PROXY 7 | #ENV HTTPS_PROXY $HTTP_PROXY 8 | #ENV NO_PROXY "rest-server,ec1-connector,ec2-connector,geth1,geth2" 9 | RUN apt update 10 | RUN apt-get install -y screen 11 | RUN apt-get install -y npm 12 | #RUN npm -g config set proxy $HTTP_PROXY 13 | RUN npm -g install n 14 | RUN n --version 15 | RUN n 8.9.0 16 | RUN npm -g install express 17 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/api/utils/JwtToken.js: -------------------------------------------------------------------------------- 1 | const jwt = require('jsonwebtoken'); 2 | const config = require('../config/config'); 3 | 4 | class JwtToken { 5 | static get({ authorization }) { 6 | return authorization ? authorization.split(' ')[1] : ''; 7 | } 8 | 9 | static sign(publicData) { 10 | return jwt.sign(publicData, config.jwtSecret, { 11 | expiresIn: '168h', 12 | }); 13 | } 14 | 15 | static verify(token) { 16 | return new Promise(resolve => { 17 | jwt.verify(token, config.jwtSecret, (error, decoded) => resolve({ error, decoded })); 18 | }); 19 | } 20 | } 21 | 22 | module.exports = JwtToken; 23 | -------------------------------------------------------------------------------- /packages/ledger-plugin/fabric/validator/src/core/config/default.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2019-2020 Fujitsu Laboratories Ltd. 3 | * SPDX-License-Identifier: Apache-2.0 4 | * 5 | * default.js 6 | */ 7 | 8 | module.exports = { 9 | // Defined value for the destination independent part. I don't think I can use it only at www, so I think I can write directly there. 10 | // Destination dependent definition values should be in lib/PluginConfig.js. 11 | "sslParam" : { 12 | "port" : 5040, 13 | //"port" : 5041, 14 | "key" : './CA/connector.priv', 15 | "cert" : './CA/connector.crt' 16 | }, 17 | // Log level (trace/debug/info/warn/error/fatal) 18 | "logLevel" : "debug" 19 | }; 20 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/corda/LICENCE: -------------------------------------------------------------------------------- 1 | Copyright 2016, R3 Limited. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/api/scripts/register-actors.js: -------------------------------------------------------------------------------- 1 | const actorWrapper = require('../wrappers/actor.wrapper'); 2 | const { ACTORS } = require('../config/constants'); 3 | const logger = require('../utils/logger')('register'); 4 | 5 | async function registerActors() { 6 | logger.log('info', 'Registering actors... %j', ACTORS); 7 | await Promise.all(ACTORS.map(actor => actorWrapper.registerActor(actor))); 8 | } 9 | 10 | registerActors() 11 | .then(() => { 12 | logger.log('info', 'Done!'); 13 | process.exit(0); 14 | }) 15 | .catch(err => { 16 | logger.log('error', err.stack); 17 | process.exit(err.code || -1); 18 | }); 19 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/quorum/api/utils/JwtToken.js: -------------------------------------------------------------------------------- 1 | const jwt = require('jsonwebtoken'); 2 | const config = require('../config/config'); 3 | 4 | class JwtToken { 5 | static get({ authorization }) { 6 | return authorization ? authorization.split(' ')[1] : ''; 7 | } 8 | 9 | static sign(publicData) { 10 | return jwt.sign(publicData, config.jwtSecret, { 11 | expiresIn: '168h', 12 | }); 13 | } 14 | 15 | static verify(token) { 16 | return new Promise(resolve => { 17 | jwt.verify(token, config.jwtSecret, (error, decoded) => resolve({ error, decoded })); 18 | }); 19 | } 20 | } 21 | 22 | module.exports = JwtToken; 23 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/cooperation/coreSide/ec1_adapter/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "adapter", 3 | "version": "0.0.0", 4 | "private": true, 5 | "scripts": { 6 | "start": "node ./bin/www" 7 | }, 8 | "dependencies": { 9 | "body-parser": "~1.17.1", 10 | "config": "^1.26.1", 11 | "cookie-parser": "~1.4.3", 12 | "debug": "~4.1.1", 13 | "express": "~4.15.2", 14 | "https-proxy-agent": "^2.2.1", 15 | "log4js": "^3.0.6", 16 | "morgan": "~1.9.1", 17 | "request": "^2.81.0", 18 | "serve-favicon": "~2.4.2", 19 | "socket.io": "^2.0.4", 20 | "socket.io-client": "^2.0.4" 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/cooperation/coreSide/ec2_adapter/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "adapter", 3 | "version": "0.0.0", 4 | "private": true, 5 | "scripts": { 6 | "start": "node ./bin/www" 7 | }, 8 | "dependencies": { 9 | "body-parser": "~1.17.1", 10 | "config": "^1.26.1", 11 | "cookie-parser": "~1.4.3", 12 | "debug": "~4.1.1", 13 | "express": "~4.15.2", 14 | "https-proxy-agent": "^2.2.1", 15 | "log4js": "^3.0.6", 16 | "morgan": "~1.9.1", 17 | "request": "^2.81.0", 18 | "serve-favicon": "~2.4.2", 19 | "socket.io": "^2.0.4", 20 | "socket.io-client": "^2.0.4" 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /packages/cactus-plugin-ledger-connector-quorum/src/main/typescript/public-api.ts: -------------------------------------------------------------------------------- 1 | export { 2 | PluginLedgerConnectorQuorum, 3 | IPluginLedgerConnectorQuorumOptions, 4 | IQuorumDeployContractOptions, 5 | ITransactionOptions, 6 | } from "./plugin-ledger-connector-quorum"; 7 | export { PluginFactoryLedgerConnector } from "./plugin-factory-ledger-connector"; 8 | export { Contract as Web3EthContract } from "web3-eth-contract"; 9 | 10 | import { PluginFactoryLedgerConnector } from "./plugin-factory-ledger-connector"; 11 | export async function createPluginFactory( 12 | options?: any 13 | ): Promise { 14 | return new PluginFactoryLedgerConnector(); 15 | } 16 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/api/scripts/register-actors.js: -------------------------------------------------------------------------------- 1 | const actorWrapper = require('../wrappers/actor.wrapper'); 2 | const { ACTORS } = require('../config/constants'); 3 | const logger = require('../utils/logger')('register'); 4 | 5 | async function registerActors() { 6 | logger.log('info', 'Registering actors... %j', ACTORS); 7 | for (actor of ACTORS) { 8 | await actorWrapper.registerActor(actor); 9 | } 10 | } 11 | 12 | registerActors() 13 | .then(() => { 14 | logger.log('info', 'Done!'); 15 | process.exit(0); 16 | }) 17 | .catch(err => { 18 | logger.log('error', err.stack); 19 | process.exit(err.code || -1); 20 | }); 21 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/src/plugins/contracts/fabric/src/mycc/vendor/vendor.json: -------------------------------------------------------------------------------- 1 | { 2 | "comment": "", 3 | "ignore": "test", 4 | "package": [ 5 | { 6 | "checksumSHA1": "09V3eE1EhOkdfksyjsH+03c5fQg=", 7 | "path": "github.com/ethereum/go-ethereum/crypto/secp256k1", 8 | "revision": "257bfff316e4efb8952fbeb67c91f86af579cb0a", 9 | "revisionTime": "2019-01-17T16:25:27Z" 10 | }, 11 | { 12 | "checksumSHA1": "hUsBzxJ8KTL4v0vpPT/mqvdJ46s=", 13 | "path": "golang.org/x/crypto/sha3", 14 | "revision": "ff983b9c42bc9fbf91556e191cc8efb585c16908", 15 | "revisionTime": "2018-07-25T11:53:45Z" 16 | } 17 | ], 18 | "rootPath": "after-portal/env-fabric/contracts/src/mycc" 19 | } 20 | -------------------------------------------------------------------------------- /packages/cactus-cockpit/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compileOnSave": false, 3 | "compilerOptions": { 4 | "baseUrl": "./", 5 | "outDir": "./dist/out-tsc", 6 | "sourceMap": true, 7 | "declaration": false, 8 | "module": "esnext", 9 | "moduleResolution": "node", 10 | "emitDecoratorMetadata": true, 11 | "experimentalDecorators": true, 12 | "importHelpers": true, 13 | "target": "es2015", 14 | "typeRoots": [ 15 | "node_modules/@types" 16 | ], 17 | "lib": [ 18 | "es2018", 19 | "dom" 20 | ] 21 | }, 22 | "angularCompilerOptions": { 23 | "fullTemplateTypeCheck": true, 24 | "strictInjectionParameters": true 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /packages/cactus-plugin-ledger-connector-besu/src/test/solidity/hello-world-contract/HelloWorld.sol: -------------------------------------------------------------------------------- 1 | // ***************************************************************************** 2 | // IMPORTANT: If you update this code then make sure to recompile 3 | // it and update the .json file as well so that they 4 | // remain in sync for consistent test executions. 5 | // With that said, there shouldn't be any reason to recompile this, like ever... 6 | // ***************************************************************************** 7 | 8 | pragma solidity >0.5.0; 9 | 10 | contract HelloWorld { 11 | function sayHello () public pure returns (string memory) { 12 | return 'Hello World!'; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /packages/cactus-plugin-ledger-connector-quorum/src/test/solidity/hello-world-contract/HelloWorld.sol: -------------------------------------------------------------------------------- 1 | // ***************************************************************************** 2 | // IMPORTANT: If you update this code then make sure to recompile 3 | // it and update the .json file as well so that they 4 | // remain in sync for consistent test executions. 5 | // With that said, there shouldn't be any reason to recompile this, like ever... 6 | // ***************************************************************************** 7 | 8 | pragma solidity >0.5.0; 9 | 10 | contract HelloWorld { 11 | function sayHello () public pure returns (string memory) { 12 | return 'Hello World!'; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /tools/docker/besu-all-in-one/hooks/post_push: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | 4 | SHORTHASH="$(git rev-parse --short HEAD)" 5 | TODAYS_DATE="$(date +%F)" 6 | 7 | # 8 | # We tag every image with today's date and also the git short hash 9 | # Today's date helps humans quickly intuit which version is older/newer 10 | # And the short hash helps identify the exact git revision that the image was 11 | # built from in case you are chasing some exotic bug that requires this sort of 12 | # rabbithole diving where you are down to comparing the images at this level. 13 | # 14 | DOCKER_TAG="$TODAYS_DATE-$SHORTHASH" 15 | 16 | 17 | docker tag $IMAGE_NAME $DOCKER_REPO:$DOCKER_TAG 18 | docker push $DOCKER_REPO:$DOCKER_TAG 19 | -------------------------------------------------------------------------------- /tools/docker/quorum-all-in-one/hooks/post_push: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | 4 | SHORTHASH="$(git rev-parse --short HEAD)" 5 | TODAYS_DATE="$(date +%F)" 6 | 7 | # 8 | # We tag every image with today's date and also the git short hash 9 | # Today's date helps humans quickly intuit which version is older/newer 10 | # And the short hash helps identify the exact git revision that the image was 11 | # built from in case you are chasing some exotic bug that requires this sort of 12 | # rabbithole diving where you are down to comparing the images at this level. 13 | # 14 | DOCKER_TAG="$TODAYS_DATE-$SHORTHASH" 15 | 16 | 17 | docker tag $IMAGE_NAME $DOCKER_REPO:$DOCKER_TAG 18 | docker push $DOCKER_REPO:$DOCKER_TAG 19 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .config.json 2 | .nyc_output/ 3 | dist/ 4 | .DS_Store 5 | node_modules/ 6 | docs/main 7 | logs/ 8 | jspm_packages/ 9 | generated-sources/ 10 | 11 | # Optional npm cache directory 12 | .npm 13 | 14 | # Optional eslint cache 15 | .eslintcache 16 | 17 | # Optional REPL history 18 | .node_repl_history 19 | 20 | # Output of 'npm pack' 21 | *.tgz 22 | 23 | # Yarn Integrity file 24 | .yarn-integrity 25 | 26 | # next.js build output 27 | .next 28 | 29 | # vscode files 30 | .vscode/* 31 | !.vscode/template.launch.json 32 | 33 | # Introperability App specifics 34 | examples/simple-asset-transfer/fabric/**/hfc-key-store/ 35 | 36 | bin/ 37 | .tmp/ 38 | lerna-debug.log 39 | cactus-openapi-spec.json 40 | -------------------------------------------------------------------------------- /packages/cactus-test-plugin-ledger-connector-quorum/src/test/solidity/hello-world-contract/HelloWorld.sol: -------------------------------------------------------------------------------- 1 | // ***************************************************************************** 2 | // IMPORTANT: If you update this code then make sure to recompile 3 | // it and update the .json file as well so that they 4 | // remain in sync for consistent test executions. 5 | // With that said, there shouldn't be any reason to recompile this, like ever... 6 | // ***************************************************************************** 7 | 8 | pragma solidity >0.5.0; 9 | 10 | contract HelloWorld { 11 | function sayHello () public pure returns (string memory) { 12 | return 'Hello World!'; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/src/plugins/contracts/fabric/src/mycc/vendor/golang.org/x/crypto/sha3/shake_generic.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //+build gccgo appengine !s390x 6 | 7 | package sha3 8 | 9 | // newShake128Asm returns an assembly implementation of SHAKE-128 if available, 10 | // otherwise it returns nil. 11 | func newShake128Asm() ShakeHash { 12 | return nil 13 | } 14 | 15 | // newShake256Asm returns an assembly implementation of SHAKE-256 if available, 16 | // otherwise it returns nil. 17 | func newShake256Asm() ShakeHash { 18 | return nil 19 | } 20 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/appserver/serviceapi/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "serviceapi", 3 | "version": "0.0.0", 4 | "private": true, 5 | "scripts": { 6 | "start": "node ./bin/www" 7 | }, 8 | "dependencies": { 9 | "body-parser": "~1.17.1", 10 | "config": "^1.26.2", 11 | "cookie-parser": "~1.4.3", 12 | "debug": "~4.1.1", 13 | "express": "~4.15.2", 14 | "express-session": "^1.15.5", 15 | "jade": "~1.11.0", 16 | "mongodb": "^2.2.31", 17 | "morgan": "~1.9.1", 18 | "passport": "^0.4.0", 19 | "passport-local": "^1.0.0", 20 | "request": "^2.81.0", 21 | "serve-favicon": "~2.4.2" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/contracts/src/mycc/vendor/vendor.json: -------------------------------------------------------------------------------- 1 | { 2 | "comment": "", 3 | "ignore": "test", 4 | "package": [ 5 | { 6 | "checksumSHA1": "09V3eE1EhOkdfksyjsH+03c5fQg=", 7 | "path": "github.com/ethereum/go-ethereum/crypto/secp256k1", 8 | "revision": "257bfff316e4efb8952fbeb67c91f86af579cb0a", 9 | "revisionTime": "2019-01-17T16:25:27Z" 10 | }, 11 | { 12 | "checksumSHA1": "hUsBzxJ8KTL4v0vpPT/mqvdJ46s=", 13 | "path": "golang.org/x/crypto/sha3", 14 | "revision": "ff983b9c42bc9fbf91556e191cc8efb585c16908", 15 | "revisionTime": "2018-07-25T11:53:45Z" 16 | } 17 | ], 18 | "rootPath": "after-portal/env-fabric/contracts/src/mycc" 19 | } 20 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: '' 5 | labels: enhancement 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Is your feature request related to a problem? Please describe.** 11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 12 | 13 | **Describe the solution you'd like** 14 | A clear and concise description of what you want to happen. 15 | 16 | **Describe alternatives you've considered** 17 | A clear and concise description of any alternative solutions or features you've considered. 18 | 19 | **Additional context** 20 | Add any other context or screenshots about the feature request here. -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/cooperation/ecSide/ec1_connector/config/default.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2019 Fujitsu Laboratories Ltd. 3 | * SPDX-License-Identifier: Apache-2.0 4 | * 5 | * default.js 6 | */ 7 | 8 | module.exports = { 9 | // Defined value for the destination independent part. I don't think I can use it only at www, so I think I can write directly there. 10 | // Destination dependent definition values should be in lib/PluginConfig.js. 11 | "sslParam" : { 12 | "port" : 5040, 13 | "key" : './CA/connector.priv', 14 | "cert" : './CA/connector.crt' 15 | }, 16 | // Log level (trace/debug/info/warn/error/fatal) 17 | "logLevel" : "debug" 18 | }; 19 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/cooperation/ecSide/ec2_connector/config/default.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2019 Fujitsu Laboratories Ltd. 3 | * SPDX-License-Identifier: Apache-2.0 4 | * 5 | * default.js 6 | */ 7 | 8 | module.exports = { 9 | // Defined value for the destination independent part. I don't think I can use it only at www, so I think I can write directly there. 10 | // Destination dependent definition values should be in lib/PluginConfig.js. 11 | "sslParam" : { 12 | "port" : 6040, 13 | "key" : './CA/connector.priv', 14 | "cert" : './CA/connector.crt' 15 | }, 16 | // Log level (trace/debug/info/warn/error/fatal) 17 | "logLevel" : "debug" 18 | }; 19 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/cooperation/coreSide/ec1_adapter/CA/adapter.crt: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBdTCCARoCCQC/F+Mh551QzDAKBggqhkjOPQQDAjBCMQswCQYDVQQGEwJKUDEQ 3 | MA4GA1UECAwHZXNqbXMxMjEhMB8GA1UECgwYSW50ZXJuZXQgV2lkZ2l0cyBQdHkg 4 | THRkMB4XDTE4MDYyNzA3MjIzNVoXDTI4MDYyNDA3MjIzNVowQjELMAkGA1UEBhMC 5 | SlAxEDAOBgNVBAgMB2Vzam1zMTIxITAfBgNVBAoMGEludGVybmV0IFdpZGdpdHMg 6 | UHR5IEx0ZDBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABDPpSD2w0zrqJKraGD1b 7 | 5Jq2sDuacThSUqi7fvz8oyrWtuKDjZ15zIaSOtak6XRxFh9V9Gokdg5GNbW/pTZc 8 | TuowCgYIKoZIzj0EAwIDSQAwRgIhAKH6ERsyd5bpEMIkY4clPqguwDWoTLk2VKq6 9 | ONEhUqotAiEA4yJxGmZpFdRScG2gDUIF2VDeX+XfHdJI2J41hyW9/zI= 10 | -----END CERTIFICATE----- 11 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/cooperation/coreSide/ec1_adapter/config/default.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2019 Fujitsu Laboratories Ltd. 3 | * SPDX-License-Identifier: Apache-2.0 4 | * 5 | * default.js 6 | */ 7 | 8 | module.exports = { 9 | // definition value for a connector-independent part 10 | // Destination dependent definition values should be in lib/PluginConfig.js. 11 | "sslParam" : { 12 | "port" : 5030, 13 | "key" : './CA/adapter.priv', 14 | "cert" : './CA/adapter.crt' 15 | }, 16 | // URL of the connector server 17 | "connecter_url" : 'https://xx.xx.xx.xx:5040', 18 | // Log level (trace/debug/info/warn/error/fatal) 19 | "logLevel" : "debug" 20 | }; 21 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/cooperation/coreSide/ec2_adapter/CA/adapter.crt: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBdTCCARoCCQC/F+Mh551QzDAKBggqhkjOPQQDAjBCMQswCQYDVQQGEwJKUDEQ 3 | MA4GA1UECAwHZXNqbXMxMjEhMB8GA1UECgwYSW50ZXJuZXQgV2lkZ2l0cyBQdHkg 4 | THRkMB4XDTE4MDYyNzA3MjIzNVoXDTI4MDYyNDA3MjIzNVowQjELMAkGA1UEBhMC 5 | SlAxEDAOBgNVBAgMB2Vzam1zMTIxITAfBgNVBAoMGEludGVybmV0IFdpZGdpdHMg 6 | UHR5IEx0ZDBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABDPpSD2w0zrqJKraGD1b 7 | 5Jq2sDuacThSUqi7fvz8oyrWtuKDjZ15zIaSOtak6XRxFh9V9Gokdg5GNbW/pTZc 8 | TuowCgYIKoZIzj0EAwIDSQAwRgIhAKH6ERsyd5bpEMIkY4clPqguwDWoTLk2VKq6 9 | ONEhUqotAiEA4yJxGmZpFdRScG2gDUIF2VDeX+XfHdJI2J41hyW9/zI= 10 | -----END CERTIFICATE----- 11 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/cooperation/coreSide/ec2_adapter/config/default.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2019 Fujitsu Laboratories Ltd. 3 | * SPDX-License-Identifier: Apache-2.0 4 | * 5 | * default.js 6 | */ 7 | 8 | module.exports = { 9 | // definition value for a connector-independent part 10 | // Destination dependent definition values should be in lib/PluginConfig.js. 11 | "sslParam" : { 12 | "port" : 6030, 13 | "key" : './CA/adapter.priv', 14 | "cert" : './CA/adapter.crt' 15 | }, 16 | // URL of the connector server 17 | "connecter_url" : 'https://xx.xx.xx.xx:6040', 18 | // Log level (trace/debug/info/warn/error/fatal) 19 | "logLevel" : "debug" 20 | }; 21 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/cooperation/ecSide/ec1_connector/CA/connector.crt: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBdTCCARoCCQC/F+Mh551QzDAKBggqhkjOPQQDAjBCMQswCQYDVQQGEwJKUDEQ 3 | MA4GA1UECAwHZXNqbXMxMjEhMB8GA1UECgwYSW50ZXJuZXQgV2lkZ2l0cyBQdHkg 4 | THRkMB4XDTE4MDYyNzA3MjIzNVoXDTI4MDYyNDA3MjIzNVowQjELMAkGA1UEBhMC 5 | SlAxEDAOBgNVBAgMB2Vzam1zMTIxITAfBgNVBAoMGEludGVybmV0IFdpZGdpdHMg 6 | UHR5IEx0ZDBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABDPpSD2w0zrqJKraGD1b 7 | 5Jq2sDuacThSUqi7fvz8oyrWtuKDjZ15zIaSOtak6XRxFh9V9Gokdg5GNbW/pTZc 8 | TuowCgYIKoZIzj0EAwIDSQAwRgIhAKH6ERsyd5bpEMIkY4clPqguwDWoTLk2VKq6 9 | ONEhUqotAiEA4yJxGmZpFdRScG2gDUIF2VDeX+XfHdJI2J41hyW9/zI= 10 | -----END CERTIFICATE----- 11 | -------------------------------------------------------------------------------- /contribs/Fujitsu-ConnectionChain/connection-chain/environment/base/cc_env/servers/cooperation/ecSide/ec2_connector/CA/connector.crt: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIBdTCCARoCCQC/F+Mh551QzDAKBggqhkjOPQQDAjBCMQswCQYDVQQGEwJKUDEQ 3 | MA4GA1UECAwHZXNqbXMxMjEhMB8GA1UECgwYSW50ZXJuZXQgV2lkZ2l0cyBQdHkg 4 | THRkMB4XDTE4MDYyNzA3MjIzNVoXDTI4MDYyNDA3MjIzNVowQjELMAkGA1UEBhMC 5 | SlAxEDAOBgNVBAgMB2Vzam1zMTIxITAfBgNVBAoMGEludGVybmV0IFdpZGdpdHMg 6 | UHR5IEx0ZDBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABDPpSD2w0zrqJKraGD1b 7 | 5Jq2sDuacThSUqi7fvz8oyrWtuKDjZ15zIaSOtak6XRxFh9V9Gokdg5GNbW/pTZc 8 | TuowCgYIKoZIzj0EAwIDSQAwRgIhAKH6ERsyd5bpEMIkY4clPqguwDWoTLk2VKq6 9 | ONEhUqotAiEA4yJxGmZpFdRScG2gDUIF2VDeX+XfHdJI2J41hyW9/zI= 10 | -----END CERTIFICATE----- 11 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/fabric/contracts/src/mycc/vendor/golang.org/x/crypto/sha3/shake_generic.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //+build gccgo appengine !s390x 6 | 7 | package sha3 8 | 9 | // newShake128Asm returns an assembly implementation of SHAKE-128 if available, 10 | // otherwise it returns nil. 11 | func newShake128Asm() ShakeHash { 12 | return nil 13 | } 14 | 15 | // newShake256Asm returns an assembly implementation of SHAKE-256 if available, 16 | // otherwise it returns nil. 17 | func newShake256Asm() ShakeHash { 18 | return nil 19 | } 20 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/jsdoc.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "opts": { 3 | "recurse": true, 4 | "destination": "./docs/main", 5 | "template": "./node_modules/minami", 6 | "readme": "./README.md", 7 | "tutorials": "./docs/tutorials" 8 | }, 9 | "plugins": ["plugins/markdown"], 10 | "markdown": { 11 | "idInHeadings": true 12 | }, 13 | "recurseDepth": 10, 14 | "source": { 15 | "include": ["src/"], 16 | "exclude": ["node_modules/", "examples/"], 17 | "excludePattern": "node_modules" 18 | }, 19 | "sourceType": "module", 20 | "tags": { 21 | "allowUnknownTags": true, 22 | "dictionaries": ["jsdoc", "closure"] 23 | }, 24 | "templates": { 25 | "cleverLinks": false, 26 | "monospaceLinks": false 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /contribs/Accenture-BIF/core/examples/simple-asset-transfer/besu/api/.env: -------------------------------------------------------------------------------- 1 | APP_HOST_LINUX=0.0.0.0 2 | APP_HOST_DARWIN=localhost 3 | APP_HOST_WIN32=localhost 4 | APP_PORT=6050 5 | APP_MESSAGING_URL=http://localhost:5000/api/messages 6 | APP_SESSION_SECRET=ashdfjhasdlkjfhalksdjhflak 7 | 8 | WEB3_HOST_LINUX=0.0.0.0 9 | WEB3_HOST_DARWIN=localhost 10 | WEB3_HOST_WIN32=localhost 11 | WEB3_RPC_PORT=22000 12 | 13 | # PARTICIPANT 14 | WEB3_ETH_KEY=0xed9d02e382b34818e88B88a309c7fe71E65f419d 15 | WEB3_CONST_KEY=BULeR8JyUWhiuuCMU/HLA0Q5pzkYT+cHII3ZKBey3Bo= 16 | CLIENT_BUILD=../../client/build 17 | 18 | JWT_SECRET=0a6b944d-d2fb-46fc-a85e-0295c986cd9f 19 | 20 | USER_USERNAME=test 21 | USER_PASSWORD=A665A45920422F9D417E4867EFDC4FB8A04A1F3FFF1FA07E998E86F7F7A27AE3 --------------------------------------------------------------------------------