2.0.0 • Published 9 months ago

@hyperledger/cactus-plugin-htlc-eth-besu v2.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
9 months ago

@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 CONTIRBUTING.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.

2.0.0

9 months ago

2.0.0-rc.7

10 months ago

2.0.0-rc.2

1 year ago

2.0.0-rc.1

1 year ago

2.0.0-main.339

1 year ago

2.0.0-main.214

1 year ago

2.0.0-dev.196

1 year ago

2.0.0-dev.197

1 year ago

2.0.0-dev.195

1 year ago

2.0.0-main.159

2 years ago

2.0.0-dev.94

2 years ago

2.0.0-dev.93

2 years ago

2.0.0-alpha.1

2 years ago

2.0.0-alpha.2

2 years ago

2.0.0-main.91

2 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.0.0

3 years ago

1.0.0-rc.3

4 years ago

1.0.0-rc.2

4 years ago

1.0.0-rc.1

4 years ago

0.10.0

4 years ago

0.9.0

4 years ago

0.8.0

4 years ago

0.7.0

4 years ago

0.6.0

4 years ago