Skip to content

Commit dce8762

Browse files
committed
fix : resolved conflict
2 parents 0d38905 + 05bce47 commit dce8762

269 files changed

Lines changed: 24133 additions & 5448 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.example

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Stellar Portfolio Rebalancer — Environment Configuration
2+
3+
# Network
4+
NETWORK_PASSPHRASE="Test SDF Network ; September 2015"
5+
RPC_URL=https://soroban-testnet.stellar.org
6+
NETWORK=testnet
7+
8+
# Contract
9+
CONTRACT_ID=
10+
USER_PRIVATE_KEY=
11+
12+
# Server
13+
PORT=3002
14+
NODE_ENV=development
15+
16+
# Database
17+
DATABASE_URL=sqlite:./data/portfolio.db
18+
19+
# Optional
20+
REDIS_URL=
21+
RATE_LIMIT_MAX=100
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Bug Report
2+
description: Report a bug or unexpected behavior
3+
title: "[BUG] "
4+
labels: ["bug"]
5+
body:
6+
- type: textarea
7+
id: description
8+
attributes:
9+
label: Description
10+
description: Clear and concise description of the bug
11+
validations:
12+
required: true
13+
- type: textarea
14+
id: steps
15+
attributes:
16+
label: Steps to Reproduce
17+
placeholder: "1. Go to... 2. Click... 3. See error..."
18+
validations:
19+
required: true
20+
- type: textarea
21+
id: expected
22+
attributes:
23+
label: Expected Behavior
24+
validations:
25+
required: true
26+
- type: textarea
27+
id: environment
28+
attributes:
29+
label: Environment
30+
placeholder: "OS, browser, wallet version, network (testnet/mainnet)"
31+
validations:
32+
required: true
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
name: "Bug Report — Wallet Connection"
2+
description: Report a wallet connection or signature issue
3+
title: "[BUG] "
4+
labels: ["bug"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to report a wallet issue!
10+
- type: input
11+
id: wallet
12+
attributes:
13+
label: Wallet Type
14+
description: Which wallet are you using?
15+
placeholder: "Freighter / Lobstr / Other"
16+
validations:
17+
required: true
18+
- type: input
19+
id: wallet_version
20+
attributes:
21+
label: Wallet Version
22+
description: Extension version (e.g., 5.2.0)
23+
placeholder: "5.2.0"
24+
validations:
25+
required: true
26+
- type: input
27+
id: browser
28+
attributes:
29+
label: Browser
30+
description: Browser name and version
31+
placeholder: "Chrome 124"
32+
validations:
33+
required: true
34+
- type: dropdown
35+
id: network
36+
attributes:
37+
label: Network
38+
options:
39+
- Testnet
40+
- Mainnet
41+
- Custom
42+
validations:
43+
required: true
44+
- type: textarea
45+
id: steps
46+
attributes:
47+
label: Steps to Reproduce
48+
description: Exact steps to trigger the issue
49+
placeholder: "1. Go to... 2. Click... 3. See error..."
50+
validations:
51+
required: true
52+
- type: textarea
53+
id: expected
54+
attributes:
55+
label: Expected Behavior
56+
description: What did you expect to happen?
57+
validations:
58+
required: true
59+
- type: textarea
60+
id: actual
61+
attributes:
62+
label: Actual Behavior
63+
description: What actually happened? Include error messages.
64+
validations:
65+
required: true
66+
- type: textarea
67+
id: logs
68+
attributes:
69+
label: Console Logs
70+
description: Any relevant browser console output
71+
render: text
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Documentation
2+
description: Report missing, incorrect, or outdated documentation
3+
title: "[DOCS] "
4+
labels: ["docs"]
5+
body:
6+
- type: input
7+
id: page
8+
attributes:
9+
label: Page/Document
10+
description: Which document or page needs attention?
11+
validations:
12+
required: true
13+
- type: textarea
14+
id: issue
15+
attributes:
16+
label: Issue
17+
description: What is wrong or missing?
18+
validations:
19+
required: true
20+
- type: textarea
21+
id: suggestion
22+
attributes:
23+
label: Suggested Change
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Feature Request
2+
description: Suggest an idea or improvement
3+
title: "[FEATURE] "
4+
labels: ["enhancement"]
5+
body:
6+
- type: textarea
7+
id: problem
8+
attributes:
9+
label: Problem Statement
10+
description: What problem would this feature solve?
11+
validations:
12+
required: true
13+
- type: textarea
14+
id: solution
15+
attributes:
16+
label: Proposed Solution
17+
description: How would you like this to work?
18+
validations:
19+
required: true
20+
- type: textarea
21+
id: alternatives
22+
attributes:
23+
label: Alternatives Considered
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: "Feature Request — Rebalancing Strategy"
2+
description: Suggest a new rebalancing strategy or improvement
3+
title: "[FEATURE] "
4+
labels: ["enhancement"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for suggesting a new rebalancing strategy!
10+
- type: textarea
11+
id: problem
12+
attributes:
13+
label: Problem Statement
14+
description: What problem does this strategy solve?
15+
placeholder: "Currently, the rebalancer only supports equal-weight allocation..."
16+
validations:
17+
required: true
18+
- type: textarea
19+
id: solution
20+
attributes:
21+
label: Proposed Strategy
22+
description: Describe how the new strategy would work
23+
placeholder: "A market-cap weighted rebalancer that..."
24+
validations:
25+
required: true
26+
- type: textarea
27+
id: alternatives
28+
attributes:
29+
label: Alternatives Considered
30+
description: Any alternative approaches you considered
31+
- type: dropdown
32+
id: priority
33+
attributes:
34+
label: Priority
35+
options:
36+
- Low
37+
- Medium
38+
- High
39+
validations:
40+
required: true

.github/ISSUE_TEMPLATE/ops.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Operations
2+
description: Report operational or infrastructure issues
3+
title: "[OPS] "
4+
labels: ["devops"]
5+
body:
6+
- type: textarea
7+
id: description
8+
attributes:
9+
label: Description
10+
description: What operational issue occurred?
11+
validations:
12+
required: true
13+
- type: textarea
14+
id: impact
15+
attributes:
16+
label: Impact
17+
description: What was affected?
18+
validations:
19+
required: true
20+
- type: textarea
21+
id: steps
22+
attributes:
23+
label: Steps Taken
24+
description: What troubleshooting has been done?
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Security Report
2+
description: Report a security vulnerability (please read SECURITY.md first)
3+
title: "[SECURITY] "
4+
labels: ["security"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
⚠️ Please follow [SECURITY.md](../SECURITY.md) for responsible disclosure.
10+
Use this template only for public discussion of already-patched issues.
11+
- type: textarea
12+
id: description
13+
attributes:
14+
label: Description
15+
validations:
16+
required: true
17+
- type: textarea
18+
id: impact
19+
attributes:
20+
label: Impact
21+
validations:
22+
required: true
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
name: Wallet Bug
3+
about: Report wallet connection/signing issues
4+
title: "[WALLET] "
5+
---
6+
**Wallet type (Freighter/Albedo):**
7+
**Network (testnet/public):**
8+
**Transaction type:**
9+
**Error message:**

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Fixes # (issue)
1515
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
1616
- [ ] DevOps / CI / Documentation update
1717

18-
# 📖 API Changes & Breaking Changes Checklist
18+
# 📖 API Changes & Breaking Changes Checklist
1919

2020
If your changes affect any HTTP route, request/response schema, database schema, or CLI/contract signature:
2121

0 commit comments

Comments
 (0)