Skip to content

Commit cb49a56

Browse files
authored
Merge pull request #76 from caxtonacollins/stellar-account-creation
feat: Implement Stellar Account Creation & Trustlines (#67) #1
2 parents 7590b35 + 58768f9 commit cb49a56

File tree

7 files changed

+340
-44
lines changed

7 files changed

+340
-44
lines changed

fluxapay_backend/.env.example

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ RESEND_API_KEY="re_your_resend_api_key_here"
2323
# Webhook
2424
WEBHOOK_SECRET="your-webhook-secret-here"
2525

26+
# Stellar
27+
STELLAR_HORIZON_URL="https://horizon-testnet.stellar.org"
28+
STELLAR_NETWORK_PASSPHRASE="Test SDF Network ; September 2015"
29+
FUNDER_SECRET_KEY="your-funder-secret-key-here"
30+
USDC_ISSUER_PUBLIC_KEY="GBBD47IF6LWK7P7MDEVSCWT73IQIGCEZHR7OMXMBZQ3ZONN2T4U6W23Y" # Example Testnet Asset Issuer for testing
31+
2632
# Soroban Smart Contracts
2733
SOROBAN_RPC_URL="https://soroban-testnet.stellar.org"
2834
SOROBAN_NETWORK_PASSPHRASE="Test SDF Network ; September 2015"

fluxapay_backend/package-lock.json

Lines changed: 1 addition & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

fluxapay_backend/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@
3939
"resend": "^6.8.0",
4040
"swagger-jsdoc": "^6.2.8",
4141
"swagger-ui-express": "^5.0.1",
42-
"zod": "^4.3.5"
42+
"zod": "^4.3.5",
43+
"@stellar/stellar-sdk": "^14.4.3"
4344
},
4445
"devDependencies": {
4546
"@eslint/js": "^9.39.2",
46-
"@stellar/stellar-sdk": "^14.4.3",
4747
"@types/cors": "^2.8.19",
4848
"@types/express": "^5.0.6",
4949
"@types/jest": "^30.0.0",

fluxapay_backend/src/generated/client/client.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ export { Prisma }
3939

4040

4141
// file annotations for bundling tools to include these files
42+
path.join(__dirname, "libquery_engine-debian-openssl-3.0.x.so.node")
43+
path.join(process.cwd(), "src/generated/client/libquery_engine-debian-openssl-3.0.x.so.node")
4244
path.join(__dirname, "libquery_engine-darwin-arm64.dylib.node")
4345
path.join(process.cwd(), "src/generated/client/libquery_engine-darwin-arm64.dylib.node")
4446

fluxapay_backend/src/generated/client/internal/class.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ const config: runtime.GetPrismaClientConfig = {
2323
"value": "prisma-client"
2424
},
2525
"output": {
26+
"value": "/home/caxton/Desktop/drips/fluxapay/fluxapay_backend/src/generated/client",
2627
"value": "/Users/iamtechhunter/Documents/workspace/fluxapay/fluxapay_backend/src/generated/client",
2728
"fromEnvVar": null
2829
},
@@ -32,11 +33,13 @@ const config: runtime.GetPrismaClientConfig = {
3233
"binaryTargets": [
3334
{
3435
"fromEnvVar": null,
36+
"value": "debian-openssl-3.0.x",
3537
"value": "darwin-arm64",
3638
"native": true
3739
}
3840
],
3941
"previewFeatures": [],
42+
"sourceFilePath": "/home/caxton/Desktop/drips/fluxapay/fluxapay_backend/prisma/schema.prisma",
4043
"sourceFilePath": "/Users/iamtechhunter/Documents/workspace/fluxapay/fluxapay_backend/prisma/schema.prisma",
4144
"isCustomOutput": true
4245
},

0 commit comments

Comments
 (0)