@hyperledger/cactus-plugin-htlc-eth-besu
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

@hyperledger/cactus-plugin-htlc-eth-besu

Allows Cacti to interact with HTLC contract manager.

Summary

Getting Started

The smart contracts and rationalle ane explained in detail in this Medium article .

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Installing

Install Foundry: https://book.getfoundry.sh/getting-started/installation

Steps to compile the project: forge build.

Running the tests

The tests can be found in @hyperledger/cactus-test-htlc-eth-besu. To run this, in the root project execute:

npm run test:plugin-htlc-besu

To run the solidity tests (within the root directory of this package): forge test --match-contract PrivateHashTimeLockTest

To run a specific function: forge test --match-contract PrivateHashTimeLockTest --match-test testDeployment

Run ALL the solidity tests: forge test -vvvv

Contributing

We welcome contributions to Hyperledger Cactus in many forms, and there’s always plenty to do!

Please review CONTRIBUTING.md to get started.

Nohoist configuration

Foundry uses forge-stdand ds-testmodules for testing purposes. Given that Foundry cannot access files outside of the project, we use nohoist to force lerna to download the packages within the Forge project directory:

"nohoist": [ "**/iroha-helpers", "**/forge-std", "**/forge-std/**" ] },

If in the future Forge supports importing Solidity files from outside the project, the imports/re-mappings can be updated and the nohoist configuration removed.

License

This distribution is published under the Apache License Version 2.0 found in the LICENSE file.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.7.1-fix-1226.7df02452.102fix-1226
0.9.1-web-socket-identity-provider.845e2a3e.231web-socket-identity-provider
0.9.1-ci-942.cbb849c6.351ci-942
0.8.1-vaultTransitKeychain.5ad9cac4.171vaultTransitKeychain
0.8.1-pr-brioux-1333.92b26c3a.361pr-brioux-1333
0.5.1-feat-1122.01a4d64d.1301feat-1122
2.0.0-main.3390main
2.0.0-lfx-connector.2080lfx-connector
2.0.0-dev.1970dev
2.0.0-build-deps-upgrade-to-lerna-lite-v3-1-0-config-fix.1260build-deps-upgrade-to-lerna-lite-v3-1-0-config-fix
2.0.0-2945-supply-chain-app-build-failed.24102945-supply-chain-app-build-failed
1.0.1-jwt-supply-chain.9df3fe79.160jwt-supply-chain
0.9.1-docs-1312.bcfd3c31.60docs-1312
0.9.1-add-bluebird-dependency.a8944f63.330add-bluebird-dependency
0.10.1-fix-quorum-no-keychain-endpoints.bf5e0403.10fix-quorum-no-keychain-endpoints
2.0.01latest
0.10.1-fix-quorum-api-server.0677a0e6.41fix-quorum-api-server

Version History

VersionDownloads (Last 7 Days)Published
2.0.01
2.0.0-rc.70
2.0.0-rc.20
2.0.0-rc.10
2.0.0-main.3390
2.0.0-2945-supply-chain-app-build-failed.2410
2.0.0-main.2140
2.0.0-lfx-connector.2080
2.0.0-dev.1970
2.0.0-dev.1960
2.0.0-dev.1950
2.0.0-lfx-connector.1640
2.0.0-lfx-connector.1631
2.0.0-main.1590
2.0.0-build-deps-upgrade-to-lerna-lite-v3-1-0-config-fix.1260
2.0.0-main.910
2.0.0-dev.940
2.0.0-dev.930
2.0.0-alpha.20
2.0.0-alpha.10
1.1.30
1.1.01
1.1.10
1.1.20
1.0.1-jwt-supply-chain.9df3fe79.160
1.0.00
1.0.0-jwt-supply-chain.62c7e930.01
1.0.0-main.334593a7.461
1.0.0-rc.30
1.0.0-rc.20
1.0.0-rc.10
0.8.1-pr-brioux-1333.92b26c3a.361
0.10.1-fix-quorum-api-server.0677a0e6.41
0.10.1-fix-quorum-no-keychain-endpoints.bf5e0403.10
0.10.00
0.9.1-ci-942.cbb849c6.351
0.9.1-fix-quorum-no-keychain-endpoints.e1eba3a4.330
0.9.1-add-bluebird-dependency.a8944f63.330
0.9.1-web-socket-identity-provider.845e2a3e.231
0.9.1-docs-1312.bcfd3c31.60
0.9.1-docs-1312.94850924.60
0.9.01
0.8.1-vaultTransitKeychain.5ad9cac4.171
0.8.00
0.7.1-fix-1226.7df02452.102
0.7.1-main.57afe153.90
0.7.00
0.6.01
0.5.1-feat-1122.01a4d64d.1301
0.5.1-main.6d1de274.1290

Package Sidebar

Install

npm i @hyperledger/cactus-plugin-htlc-eth-besu

Weekly Downloads

15

Version

2.0.0

License

Apache-2.0

Unpacked Size

29.2 MB

Total Files

46

Last publish

Collaborators

  • hyperledger-ghci
  • hyperledger-lf