https://github.com/lit-protocol/synctest
https://github.com/lit-protocol/synctest
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/lit-protocol/synctest
- Owner: LIT-Protocol
- Created: 2024-06-01T02:16:39.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-02T20:33:56.000Z (almost 2 years ago)
- Last Synced: 2025-03-29T11:17:59.731Z (over 1 year ago)
- Language: JavaScript
- Size: 74.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Running
Make sure you have a private key with funds in the `LIT_PKP_PARALLEL_KEYGEN_PRIVATE_KEY` env var.
Run `npm i` to install the dependencies.
There are two scripts:
- Simple: This script uses a lot of ethers built in methods to sign and send the transaction. Use `npm run simple` to run this script. Note this script has a flag to use manual polling or ethers txn.wait() to wait for the transaction to be confirmed. You can use `npm run simple -- --txnconf polling` to use polling. The default is to use txn.wait().
- Advanced: This script uses some ethers built in methods but uses axios to send and poll for the transaction receipt. Use `npm run start` to run this script.