Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connect a specific version of node to farcaster.dev for tests #287

Closed
2 tasks
h4sh3d opened this issue Dec 3, 2021 · 5 comments
Closed
2 tasks

Connect a specific version of node to farcaster.dev for tests #287

h4sh3d opened this issue Dec 3, 2021 · 5 comments
Assignees

Comments

@h4sh3d
Copy link
Member

h4sh3d commented Dec 3, 2021

Website farcaster.dev can take a list of public offers, a special version of the node should be able to push offers there (the "maker" version) and the standard version should have a command to list them in cli.

  • List available offers in cli
  • Push new list of available offers in farcaster.dev from special node version
@h4sh3d
Copy link
Member Author

h4sh3d commented Dec 4, 2021

As @zkao mentioned, if we are able to list offers from the cli there is no need to have a special node version, we can just script to list and update every x time.

I though about what the cli could look like and came up with this idea:

swap-cli ls <TYPE>

where TYPE is by defaults swaps with ls swaps being the current ls behavior and ls offers being the list of offers like:

---
- "Offer:Cke4ftrP5A71LQM2fvVdFMNR4gumFhEqm11111uMFq7cEPSbSQpvEiF11111TB9zym113GTvtvqfD1111114A4TULEXhypzp8nJ4WAGAZUdDkYai3i9KTgUHkGLs5zX3N1tA11111111111111111111111111111111111111111AfZ113XRBuJApN3x"

@zkao
Copy link
Member

zkao commented Dec 4, 2021 via email

@h4sh3d
Copy link
Member Author

h4sh3d commented Dec 4, 2021

I though ls was for list

@zkao
Copy link
Member

zkao commented Dec 4, 2021

maybe we should call it ListSwaps, and the abbreviation is ls, and the other ListOffers ?

@Lederstrumpf
Copy link
Member

created https://github.com/farcaster-project/offer-refiller to address this. It's pushing public offers to the web frontend whenever the list of swaps offered is updated.

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

No branches or pull requests

3 participants