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

Support Friendbot in Stellar RPC #348

Open
janewang opened this issue Jan 16, 2025 · 1 comment
Open

Support Friendbot in Stellar RPC #348

janewang opened this issue Jan 16, 2025 · 1 comment

Comments

@janewang
Copy link
Collaborator

What problem does your feature solve?

Reduce dependency on Horizon when developers only need to use the Friendbot faucet.

Currently, Friendbot is integrated into Horizon. By making it part of the RPC, developers could access Friendbot without needing to set up Horizon. This would allow contract developers to use Friendbot in local environments more easily. Additionally, it would enable us to ship Quickstart configurations with Horizon, RPC, or both, depending on the use case.

What would you like to see?

A Friendbot endpoint available via RPC.

@leighmcculloch
Copy link
Member

I suggest we keep friendbot independent of RPC, and instead consider what friendbot should be dependent on if not Horizon. The two options I see are RPC, or directly on stellar-core.

Why not build friendbot into RPC? Once upon a time friendbot was in Horizon, and it got split out into its own service, so at the least past us had reasons. Friendbot owns a series of accounts, but today RPC does not. It would be a new responsibility for RPC to manage accounts and not a new feature within existing responsibilities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To Do
Development

No branches or pull requests

2 participants