Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,18 @@ docs/
└── contributing.md # This file
```

### Stellar library modules

The stable Stellar API is exported from `src/lib/stellar.ts`, which forwards to
the domain barrel at `src/lib/stellar/index.ts`. Existing imports from
`src/lib/stellar` remain supported. New internal code may import a focused
module such as `src/lib/stellar/networks.ts`, `horizon.ts`, `addresses.ts`,
`soroban.ts`, `pricing.ts`, `claimableBalances.ts`, or `reserves.ts` when it
needs only that domain. Prefer `getServer`; the `ee` alias is deprecated and
retained temporarily for compatibility. Custom-network auth headers continue
to be stored in session storage (not local storage); do not put wallet secrets
or signing keys in network configuration.

---

## Coding Conventions
Expand Down
1 change: 1 addition & 0 deletions eslint-rules/no-direct-submit.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ const noDirectSubmit = {
'src/lib/contractInvoker',
'src/lib/horizonRetry',
'src/lib/bulkOperations', // batch layer, calls signAndSubmitTransaction internally
'src/lib/stellar/soroban',
];

const filename = context.getFilename().replace(/\\/g, '/');
Expand Down
Loading