You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added benefit here is that we ensure the user has the key that they are intending to send to on Eclipse. Account address is derived from provide key.json.
The text was updated successfully, but these errors were encountered:
0xObsidian
added a commit
to 0xObsidian/eclipse-deposit
that referenced
this issue
Dec 17, 2024
Description
-----------
- introduced --solana-key flag
- added support for reading Solana keypair files
and deriving public keys
- implemented validation to prevent using both
--solana-key and --destination
- added test suite for the introduced feat
- improved error handling for invalid key files
Usage
-----
Clone this PR branch and install dependencies and make sure you
followed the readme to derive eth key `private-key.txt`
and solana key `key.json` and then run
```
node bin/cli.js -k private-key.txt --solana-key key.json -a 0.002 --sepolia
```
Testing the introduced feat
---------------------------
From the root direcoty, run:
```
yarn test
```
This PR closes ticket Eclipse-Laboratories-Inc#36
Added benefit here is that we ensure the user has the key that they are intending to send to on Eclipse. Account address is derived from provide key.json.
The text was updated successfully, but these errors were encountered: