jmcdo29 / jmcdo29/testing-nestjs
Test against Solidity smart contracts
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 375
- PR merge metrics
- No merged PRs in 30d
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Feature Test To Be Requested
I would like an example to test against smart contracts.
On my application, I have a smart contract that needs to be called to check some data in the contract. I need this data to reach my back-end application somehow.
Thing is, I could test the contract against a testnet, but it would take too long to respond. And it would depend on the testnet being live.
The best way to do it would be using something like what `hardhat` does, but I have no idea how it implements a "local" blockchain for testing and how I can replicate it on nestjs testing environment. If anyone have an idea, please suggest me. I might implement it. Because for my use case it is really necessary.
Contributor guide
Assessment
This issue has not been assessed yet.