Example Kotlin Tests to Demo sCrypt Integration
This project contains example code in the form of Unit Tests that demonstrates how one would integrate sCrypt smart contracts using the Bitcoin4J library.
To run the tests:
./gradlew test
├── scrypt
│ ├── pushTxCounter.scrypt
│ ├── pushTxTest.scrypt
│ └── sometest.scrypt
└── src
├── main
│ ├── java
│ ├── kotlin
│ │ └── org
│ │ └── twostack
│ │ └── scrypt
│ │ └── dto
│ │ └── ScryptContractDto.kt
│ └── resources
└── test
├── kotlin
│ └── org
│ └── twostack
│ └── scrypt
│ └── ScryptContractTest.kt
└── resources
└── contracts
├── pushTxCounter_release_desc.json
├── pushTxTest_release_desc.json
└── sometest_release_desc.json