Skip to content

Commit 27cba3c

Browse files
committed
Make README finance-focused; consolidate finance programs into finance/
Reorder the Financial Software section to lead with Escrow (the recommended first finance program), then Order Book based Exchange, then AMM based Exchange, followed by Token Fundraiser and Vault Strategy. Rewrite descriptions to be approachable to readers learning Solana and finance at the same time. Move all finance programs into a new finance/ directory: - finance/escrow (from tokens/) - finance/order-book (from defi/) - finance/token-swap (from tokens/) - finance/token-fundraiser (from tokens/) - finance/vault-strategy (from defi/) defi/ is removed. Pyth is an oracle-reading single-concept example rather than a finance program, so move oracles/pyth to basics/pyth and list it under the renamed 'Single concept examples' section (formerly 'Basics'); oracles/ is removed. Update workspace members in Cargo.toml, ignored paths in .github/.ghaignore, and order-book internal path references. https://claude.ai/code/session_01CfCCGCXne6eViGamZwy7ot
1 parent b192861 commit 27cba3c

179 files changed

Lines changed: 32 additions & 33 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.

.github/.ghaignore

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ tokens/transfer-tokens/native
1212
tokens/token-minter/native
1313
tokens/create-token/native
1414

15-
tokens/token-swap/anchor
15+
finance/token-swap/anchor
1616

1717
# not building
18-
oracles/pyth/anchor
18+
basics/pyth/anchor
1919

2020
# not building
2121
compression/cutils/anchor
@@ -25,7 +25,7 @@ compression/cnft-burn/anchor
2525

2626
# test failing
2727
# https://github.com/solana-developers/helpers/issues/40
28-
tokens/escrow/anchor
28+
finance/escrow/anchor
2929

3030
# not live
3131
tokens/token-extensions/group/anchor
@@ -65,9 +65,9 @@ basics/realloc/steel
6565
basics/rent/steel
6666
basics/transfer-sol/steel
6767

68-
tokens/escrow/steel
68+
finance/escrow/steel
6969

7070
tokens/pda-mint-authority/steel
7171
tokens/token-minter/steel
72-
tokens/token-swap/steel
72+
finance/token-swap/steel
7373
tokens/transfer-tokens/steel

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ members = [
4848
"basics/transfer-sol/anchor/programs/*",
4949
"basics/transfer-sol/asm",
5050

51-
# defi
52-
"defi/vault-strategy/anchor/programs/vault-strategy",
53-
"defi/vault-strategy/anchor/programs/mock-swap-router",
51+
# finance
52+
"finance/vault-strategy/anchor/programs/vault-strategy",
53+
"finance/vault-strategy/anchor/programs/mock-swap-router",
5454

5555
# tokens
5656
"tokens/token-extensions/mint-close-authority/native/program",

README.md

Lines changed: 20 additions & 20 deletions
File renamed without changes.

defi/vault-strategy/anchor/programs/mock-swap-router/Xargo.toml renamed to basics/pyth/anchor/programs/pythexample/Xargo.toml

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)