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

chore: use requestAirdrop to fund e2e accounts #1125

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

chadoh
Copy link
Contributor

@chadoh chadoh commented Dec 17, 2024

@willemneal pointed out that it's a bit of a bummer to create accounts with a pure-SDK interface just to revert to fetch and a hard-coded Friendbot URL in order to fund that account.

This uses rpc.Server#requestAirdrop to do the funding.

I find the name of this method a bit unexpected! I wonder if the language here has evolved since the method was first added.

Copy link
Contributor

@Shaptic Shaptic left a comment

Choose a reason for hiding this comment

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

Nice! And yeah I totally agree that the naming sucks, maybe we can rename it in P23 breaking changes

@chadoh chadoh force-pushed the chore/fund-with-requestAirdrop branch 2 times, most recently from 719f595 to cbe5d7a Compare December 20, 2024 21:05
@willemneal [pointed out](stellar/stellar-docs#1101 (review))
that it's a bit of a bummer to create accounts with a pure-SDK interface
just to revert to `fetch` and a hard-coded Friendbot URL in order to
fund that account.

This uses `rpc.Server#requestAirdrop` to do the funding.

I find the name of this method a bit unexpected! I wonder if the
language here has evolved since the method was first added.
@chadoh chadoh force-pushed the chore/fund-with-requestAirdrop branch from cbe5d7a to 95bbfc7 Compare December 20, 2024 21:11
@janewang janewang merged commit 38115a1 into stellar:master Dec 20, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants