Skip to content

Conversation

@longfeiWan9
Copy link
Contributor

Ran xchainClient following the instruction in readme, I ran into some small problems. I have fixed the readme based on me experience.

  1. need to source .env whenever run xchainclient in another terminal
  2. need test token in freshly created wallet
  3. need to remind builders to update config.json before running xchainClient
  4. --chain and config flag need to be in the right spot in the commend to run.

@longfeiWan9 longfeiWan9 requested a review from snissn February 13, 2025 08:54
@longfeiWan9 longfeiWan9 self-assigned this Feb 13, 2025
```sh
./xchainClient --config ./config/config.json daemon --buffer-service --aggregation-service
./xchainClient daemon --config ./config/config.json --chain avalanche --buffer-service --aggregation-service
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks yup! This was an annoying gotcha this is the right format for the readme!


```sh
./xchainclient client offer-file <file_path> <payment-addr> <payment-amount> --chain ethereum --config ./config/config.json
./xchainclient client offer-file --chain avalanche --config ./config/config.json <file_path> <payment-addr> <payment-amount>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@snissn snissn merged commit 73c66b8 into main Feb 13, 2025
1 check passed
@longfeiWan9 longfeiWan9 deleted the updateReadme branch February 19, 2025 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants