Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit ad6f6d9

Browse files
committed
docs: Point everything at the new repos
1 parent b631d42 commit ad6f6d9

File tree

10 files changed

+55
-55
lines changed

10 files changed

+55
-55
lines changed

docs/src/associated-token-account.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ document are available at:
3838
## Source
3939

4040
The Associated Token Account Program's source is available on
41-
[GitHub](https://github.com/solana-labs/solana-program-library).
42-
41+
[GitHub](https://github.com/solana-program/associated-token-account).
4342

4443
## Interface
44+
4545
The Associated Token Account Program is written in Rust and available on
4646
[crates.io](https://crates.io/crates/spl-associated-token-account) and
4747
[docs.rs](https://docs.rs/spl-associated-token-account).

docs/src/feature-proposal.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ when appropriate.
3535

3636
## Source
3737
The Feature Proposal Program's source is available on
38-
[GitHub](https://github.com/solana-labs/solana-program-library)
38+
[GitHub](https://github.com/solana-program/feature-proposal).
3939

4040
## Interface
4141
The Feature Proposal Program is written in Rust and available on [crates.io](https://crates.io/crates/spl-feature-proposal) and [docs.rs](https://docs.rs/spl-feature-proposal).
@@ -58,7 +58,7 @@ This section describes the life cycle of a feature proposal.
5858

5959
### Implement the Feature
6060
The first step is to conceive of the new feature and realize it in the
61-
Solana code base, working with the core Solana developers at https://github.com/solana-labs/solana.
61+
Solana code base, working with the core Solana developers at https://github.com/anza-xyz/agave
6262

6363
During the implementation, a *feature id* will be required to identify the new
6464
feature in the code base to avoid the new functionality until its activation.

docs/src/single-pool.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,21 @@ The program is a stripped-down adaptation of the existing multi-validator stake
2424
## Source
2525

2626
The Single Pool Program's source is available on
27-
[GitHub](https://github.com/solana-labs/solana-program-library/tree/master/single-pool/program).
27+
[GitHub](https://github.com/solana-program/single-pool).
2828

2929
## Security Audits
3030

3131
The Single Pool Program has received three audits to ensure total safety of funds:
3232

3333
* Zellic (2024-01-02)
3434
- Review commit hash [`ef44df9`](https://github.com/solana-labs/solana-program-library/commit/ef44df985e76a697ee9a8aabb3a223610e4cf1dc)
35-
- Final report https://github.com/solana-labs/security-audits/blob/master/spl/ZellicSinglePoolAudit-2024-01-02.pdf
35+
- Final report https://github.com/anza-xyz/security-audits/blob/master/spl/ZellicSinglePoolAudit-2024-01-02.pdf
3636
* Neodyme (2023-08-08)
3737
- Review commit hash [`735d729`](https://github.com/solana-labs/solana-program-library/commit/735d7292e35d35101750a4452d2647bdbf848e8b)
38-
- Final report https://github.com/solana-labs/security-audits/blob/master/spl/NeodymeSinglePoolAudit-2023-08-08.pdf
38+
- Final report https://github.com/anza-xyz/security-audits/blob/master/spl/NeodymeSinglePoolAudit-2023-08-08.pdf
3939
* Zellic (2023-06-21)
4040
- Review commit hash [`9dbdc3b`](https://github.com/solana-labs/solana-program-library/commit/9dbdc3bdae31dda1dcb35346aab2d879deecf194)
41-
- Final report https://github.com/solana-labs/security-audits/blob/master/spl/ZellicSinglePoolAudit-2023-06-21.pdf
41+
- Final report https://github.com/anza-xyz/security-audits/blob/master/spl/ZellicSinglePoolAudit-2023-06-21.pdf
4242

4343
## Interface
4444

docs/src/stake-pool.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ To get started with stake pools:
2727
## Source
2828

2929
The Stake Pool Program's source is available on
30-
[GitHub](https://github.com/solana-labs/solana-program-library/tree/master/stake-pool).
30+
[GitHub](https://github.com/solana-program/stake-pool).
3131

3232
For information about the types and instructions, the Stake Pool Rust docs are
3333
available at [docs.rs](https://docs.rs/spl-stake-pool/latest/spl_stake_pool/index.html).
@@ -41,28 +41,28 @@ chronological order, and the commit hash that each was reviewed at:
4141
* Quantstamp
4242
- Initial review commit hash [`99914c9`](https://github.com/solana-labs/solana-program-library/tree/99914c9fc7246b22ef04416586ab1722c89576de)
4343
- Re-review commit hash [`3b48fa0`](https://github.com/solana-labs/solana-program-library/tree/3b48fa09d38d1b66ffb4fef186b606f1bc4fdb31)
44-
- Final report https://github.com/solana-labs/security-audits/blob/master/spl/QuantstampStakePoolAudit-2021-10-22.pdf
44+
- Final report https://github.com/anza-xyz/security-audits/blob/master/spl/QuantstampStakePoolAudit-2021-10-22.pdf
4545
* Neodyme
4646
- Review commit hash [`0a85a9a`](https://github.com/solana-labs/solana-program-library/tree/0a85a9a533795b6338ea144e433893c6c0056210)
47-
- Report https://github.com/solana-labs/security-audits/blob/master/spl/NeodymeStakePoolAudit-2021-10-16.pdf
47+
- Report https://github.com/anza-xyz/security-audits/blob/master/spl/NeodymeStakePoolAudit-2021-10-16.pdf
4848
* Kudelski
4949
- Review commit hash [`3dd6767`](https://github.com/solana-labs/solana-program-library/tree/3dd67672974f92d3b648bb50ee74f4747a5f8973)
50-
- Report https://github.com/solana-labs/security-audits/blob/master/spl/KudelskiStakePoolAudit-2021-07-07.pdf
50+
- Report https://github.com/anza-xyz/security-audits/blob/master/spl/KudelskiStakePoolAudit-2021-07-07.pdf
5151
* Neodyme Second Audit
5252
- Review commit hash [`fd92ccf`](https://github.com/solana-labs/solana-program-library/tree/fd92ccf9e9308508b719d6e5f36474f57023b0b2)
53-
- Report https://github.com/solana-labs/security-audits/blob/master/spl/NeodymeStakePoolAudit-2022-12-10.pdf
53+
- Report https://github.com/anza-xyz/security-audits/blob/master/spl/NeodymeStakePoolAudit-2022-12-10.pdf
5454
* OtterSec
5555
- Review commit hash [`eba709b`](https://github.com/solana-labs/solana-program-library/tree/eba709b9317f8c7b8b197045161cb744241f0bff)
56-
- Report https://github.com/solana-labs/security-audits/blob/master/spl/OtterSecStakePoolAudit-2023-01-20.pdf
56+
- Report https://github.com/anza-xyz/security-audits/blob/master/spl/OtterSecStakePoolAudit-2023-01-20.pdf
5757
* Neodyme Third Audit
5858
- Review commit hash [`b341022`](https://github.com/solana-labs/solana-program-library/tree/b34102211f2a5ea6b83f3ee22f045fb115d87813)
59-
- Report https://github.com/solana-labs/security-audits/blob/master/spl/NeodymeStakePoolAudit-2023-01-31.pdf
59+
- Report https://github.com/anza-xyz/security-audits/blob/master/spl/NeodymeStakePoolAudit-2023-01-31.pdf
6060
* Halborn
6161
- Review commit hash [`eba709b`](https://github.com/solana-labs/solana-program-library/tree/eba709b9317f8c7b8b197045161cb744241f0bff)
62-
- Report https://github.com/solana-labs/security-audits/blob/master/spl/HalbornStakePoolAudit-2023-01-25.pdf
62+
- Report https://github.com/anza-xyz/security-audits/blob/master/spl/HalbornStakePoolAudit-2023-01-25.pdf
6363
* Neodyme Fourth Audit
6464
- Review commit hash [`6ed7254`](https://github.com/solana-labs/solana-program-library/tree/6ed7254d1a578ffbc2b091d28cb92b25e7cc511d)
65-
- Report https://github.com/solana-labs/security-audits/blob/master/spl/NeodymeStakePoolAudit-2023-11-14.pdf
65+
- Report https://github.com/anza-xyz/security-audits/blob/master/spl/NeodymeStakePoolAudit-2023-11-14.pdf
6666
* Halborn Second Audit
6767
- Review commit hash [`a17fffe`](https://github.com/solana-labs/solana-program-library/tree/a17fffe70d6cc13742abfbc4a4a375b087580bc1)
68-
- Report https://github.com/solana-labs/security-audits/blob/master/spl/HalbornStakePoolAudit-2023-12-31.pdf
68+
- Report https://github.com/anza-xyz/security-audits/blob/master/spl/HalbornStakePoolAudit-2023-12-31.pdf

docs/src/token-2022.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ is written after the end of the `Account` in Token, which is the byte at index
8282
`165`. This means it is always possible to differentiate mints and accounts.
8383

8484
You can read more about how this is done at the
85-
[source code](https://github.com/solana-labs/solana-program-library/blob/master/token/program-2022/src/extension/mod.rs).
85+
[source code](https://github.com/solana-program/token-2022/blob/main/program/src/extension/mod.rs).
8686

8787
Mint extensions currently include:
8888

@@ -128,7 +128,7 @@ The Token functionality will always apply to Token-2022.
128128
## Source
129129

130130
The Token-2022 Program's source is available on
131-
[GitHub](https://github.com/solana-labs/solana-program-library/tree/master/token/program-2022).
131+
[GitHub](https://github.com/solana-program/token-2022).
132132

133133
For information about the types and instructions, the Rust docs are available at
134134
[docs.rs](https://docs.rs/spl-token-2022/latest/spl_token_2022/).
@@ -142,19 +142,19 @@ Here are the completed audits as of 13 December 2023:
142142

143143
* Halborn
144144
- Review commit hash [`c3137a`](https://github.com/solana-labs/solana-program-library/tree/c3137af9dfa2cc0873cc84c4418dea88ac542965/token/program-2022)
145-
- Final report https://github.com/solana-labs/security-audits/blob/master/spl/HalbornToken2022Audit-2022-07-27.pdf
145+
- Final report https://github.com/anza-xyz/security-audits/blob/master/spl/HalbornToken2022Audit-2022-07-27.pdf
146146
* Zellic
147147
- Review commit hash [`54695b`](https://github.com/solana-labs/solana-program-library/tree/54695b233484722458b18c0e26ebb8334f98422c/token/program-2022)
148-
- Final report https://github.com/solana-labs/security-audits/blob/master/spl/ZellicToken2022Audit-2022-12-05.pdf
148+
- Final report https://github.com/anza-xyz/security-audits/blob/master/spl/ZellicToken2022Audit-2022-12-05.pdf
149149
* Trail of Bits
150150
- Review commit hash [`50abad`](https://github.com/solana-labs/solana-program-library/tree/50abadd819df2e406567d6eca31c213264c1c7cd/token/program-2022)
151-
- Final report https://github.com/solana-labs/security-audits/blob/master/spl/TrailOfBitsToken2022Audit-2023-02-10.pdf
151+
- Final report https://github.com/anza-xyz/security-audits/blob/master/spl/TrailOfBitsToken2022Audit-2023-02-10.pdf
152152
* NCC Group
153153
- Review commit hash [`4e43aa`](https://github.com/solana-labs/solana/tree/4e43aa6c18e6bb4d98559f80eb004de18bc6b418/zk-token-sdk)
154-
- Final report https://github.com/solana-labs/security-audits/blob/master/spl/NCCToken2022Audit-2023-04-05.pdf
154+
- Final report https://github.com/anza-xyz/security-audits/blob/master/spl/NCCToken2022Audit-2023-04-05.pdf
155155
* OtterSec
156156
- Review commit hash [`e92413`](https://github.com/solana-labs/solana-program-library/tree/e924132d65ba0896249fb4983f6f97caff15721a)
157-
- Final report https://github.com/solana-labs/security-audits/blob/master/spl/OtterSecToken2022Audit-2023-11-03.pdf
157+
- Final report https://github.com/anza-xyz/security-audits/blob/master/spl/OtterSecToken2022Audit-2023-11-03.pdf
158158
* OtterSec (ZK Token SDK)
159159
- Review commit hash [`9e703f8`](https://github.com/solana-labs/solana/tree/9e703f8/zk-token-sdk)
160-
- Final report https://github.com/solana-labs/security-audits/blob/master/spl/OtterSecZkTokenSdkAudit-2023-11-04.pdf
160+
- Final report https://github.com/anza-xyz/security-audits/blob/master/spl/OtterSecZkTokenSdkAudit-2023-11-04.pdf

docs/src/token-2022/extensions.mdx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ See the [Token Setup Guide](../token#setup) to install the client utilities.
2222
Token-2022 shares the same CLI and NPM packages for maximal compatibility.
2323

2424
All JS examples are adapted from the tests, and available in full at the
25-
[Token JS examples](https://github.com/solana-labs/solana-program-library/tree/master/token/js/examples).
25+
[Token JS examples](https://github.com/solana-program/token-2022/tree/main/clients/js-legacy/examples).
2626

2727
## Extensions
2828

@@ -1528,29 +1528,29 @@ explained in detail in many of the linked `README` files below under
15281528
#### Resources
15291529

15301530
The interface description and structs exist at
1531-
[spl-transfer-hook-interface](https://github.com/solana-labs/solana-program-library/tree/master/token/transfer-hook/interface),
1531+
[spl-transfer-hook-interface](https://github.com/solana-program/transfer-hook/tree/main/interface),
15321532
along with a sample minimal program implementation. You can find detailed
15331533
instructions on how to implement this interface for an on-chain program or
15341534
interact with a program that implements transfer-hook in the repository's
1535-
[README](https://github.com/solana-labs/solana-program-library/tree/master/token/transfer-hook/interface/README.md).
1535+
[README](https://github.com/solana-program/transfer-hook/tree/main/interface/README.md).
15361536

15371537
The `spl-transfer-hook-interface` library provides offchain and onchain helpers
15381538
for resolving the additional accounts required. See
1539-
[onchain.rs](https://github.com/solana-labs/solana-program-library/blob/master/token/transfer-hook/interface/src/onchain.rs)
1539+
[onchain.rs](https://github.com/solana-program/transfer-hook/blob/main/interface/src/onchain.rs)
15401540
for usage on-chain, and
1541-
[offchain.rs](https://github.com/solana-labs/solana-program-library/tree/master/token/transfer-hook/interface/src/offchain.rs)
1541+
[offchain.rs](https://github.com/solana-program/transfer-hook/blob/main/interface/src/offchain.rs)
15421542
for fetching the additional required account metas with any async off-chain client
15431543
like `BanksClient` or `RpcClient`.
15441544

15451545
A usable example program exists at
1546-
[spl-transfer-hook-example](https://github.com/solana-labs/solana-program-library/tree/master/token/transfer-hook/example).
1546+
[spl-transfer-hook-example](https://github.com/solana-program/transfer-hook/tree/main/program).
15471547
Token-2022 uses this example program in tests to ensure that it properly uses
15481548
the transfer hook interface.
15491549

15501550
The example program and the interface are powered by the
1551-
[spl-tlv-account-resolution](https://github.com/solana-labs/solana-program-library/tree/master/libraries/tlv-account-resolution)
1551+
[spl-tlv-account-resolution](https://github.com/solana-program/libraries/tree/main/tlv-account-resolution)
15521552
library, which is explained in detail in the repository's
1553-
[README](https://github.com/solana-labs/solana-program-library/tree/master/libraries/tlv-account-resolution/README.md)
1553+
[README](https://github.com/solana-program/libraries/tree/main/tlv-account-resolution/README.md)
15541554

15551555
#### Example: Create a mint with a transfer hook
15561556

@@ -1660,7 +1660,7 @@ await updateTransferHook(
16601660
#### Example: Manage a transfer-hook program
16611661

16621662
A sample CLI for managing a transfer-hook program exists at
1663-
[spl-transfer-hook-cli](https://github.com/solana-labs/solana-program-library/tree/master/token/transfer-hook/cli).
1663+
[spl-transfer-hook-cli](https://github.com/solana-program/transfer-hook/tree/main/clients/cli).
16641664
A mint manager can fork the tool for their own program.
16651665

16661666
It only contains a command to create the required transfer-hook account for the
@@ -1720,7 +1720,7 @@ To facilitate token-metadata usage, Token-2022 allows a mint creator to include
17201720
their token's metadata directly in the mint account.
17211721

17221722
Token-2022 implements all of the instructions from the
1723-
[spl-token-metadata-interface](https://github.com/solana-labs/solana-program-library/tree/master/token-metadata/interface).
1723+
[spl-token-metadata-interface](https://github.com/solana-program/token-metadata/tree/main/interface).
17241724

17251725
The metadata extension should work directly with the metadata-pointer extension.
17261726
During mint creation, you should also add the metadata-pointer extension, pointed
@@ -1966,7 +1966,7 @@ configurations for a group, which describe things like the update authority
19661966
and the group's maximum size, can be stored directly in the mint itself.
19671967

19681968
Token-2022 implements all of the instructions from the
1969-
[spl-token-group-interface](https://github.com/solana-labs/solana-program-library/tree/master/token-group/interface).
1969+
[spl-token-group-interface](https://github.com/solana-program/token-group/tree/main/interface).
19701970

19711971
The group extension works directly with the group-pointer extension.
19721972
To initialize group configurations within a mint, you must add the group-pointer

docs/src/token.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@ document are available at:
2222
## Source
2323

2424
The Token Program's source is available on
25-
[GitHub](https://github.com/solana-labs/solana-program-library)
25+
[GitHub](https://github.com/solana-program/token).
2626

2727
## Interface
2828

2929
The Token Program is written in Rust and available on [crates.io](https://crates.io/crates/spl-token) and [docs.rs](https://docs.rs/spl-token).
3030

3131
Auto-generated C bindings are also available
32-
[here](https://github.com/solana-labs/solana-program-library/blob/master/token/program/inc/token.h)
32+
[here](https://github.com/solana-program/token/blob/main/program/inc/token.h)
3333

3434
[JavaScript
35-
bindings](https://github.com/solana-labs/solana-program-library/tree/master/token/js)
35+
bindings](https://github.com/solana-program/token-2022/tree/main/clients/js-legacy)
3636
are available that support loading the Token Program on to a chain and issue
3737
instructions.
3838

docs/src/transfer-hook-interface.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ During transfers, Token-2022 calls a mint's configured transfer hook program
99
using this interface, as described in the
1010
[Transfer Hook Extension Guide](../../token-2022/extensions#transfer-hook).
1111
Additionally, a
12-
[reference implementation](https://github.com/solana-labs/solana-program-library/tree/master/token/transfer-hook/example)
12+
[reference implementation](https://github.com/solana-program/transfer-hook/tree/main/program)
1313
can be found in the SPL GitHub repository, detailing
1414
how one might implement this interface in their own program.
1515

docs/src/transfer-hook-interface/configuring-extra-accounts.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ of entries.
4343

4444
This custom slice structure is called a `PodSlice` and is part of the Solana
4545
Program Library's
46-
[Pod](https://github.com/solana-labs/solana-program-library/tree/master/libraries/pod)
46+
[Pod](https://github.com/solana-program/libraries/tree/main/pod)
4747
library. The Pod library provides a handful of fixed-length types that
4848
implement the `bytemuck`
4949
[`Pod`](https://docs.rs/bytemuck/latest/bytemuck/trait.Pod.html) trait, as well
5050
as the `PodSlice`.
5151

5252
Another SPL library
5353
useful for Type-Length-Value encoded data is
54-
[Type-Length-Value](https://github.com/solana-labs/solana-program-library/tree/master/libraries/type-length-value)
54+
[Type-Length-Value](https://github.com/solana-program/libraries/tree/main/type-length-value)
5555
which is used extensively to manage TLV-encoded data structures.
5656

5757
### Dynamic Account Resolution
@@ -62,7 +62,7 @@ required accounts you've specified in the validation account.
6262

6363
These additional accounts must be _resolved_, and another library used to pull off
6464
the resolution of additional accounts for transfer hooks is
65-
[TLV Account Resolution](https://github.com/solana-labs/solana-program-library/tree/master/libraries/tlv-account-resolution).
65+
[TLV Account Resolution](https://github.com/solana-program/libraries/tree/main/tlv-account-resolution).
6666

6767
Using the TLV Account Resolution library, transfer hook programs can empower
6868
**dynamic account resolution** of additional required accounts. This means that
@@ -72,9 +72,9 @@ validation account's data.
7272

7373
In fact, the Transfer Hook interface offers helpers that perform this account
7474
resolution in the
75-
[onchain](https://github.com/solana-labs/solana-program-library/blob/master/token/transfer-hook/interface/src/onchain.rs)
75+
[onchain](https://github.com/solana-program/transfer-hook/blob/main/interface/src/onchain.rs)
7676
and
77-
[offchain](https://github.com/solana-labs/solana-program-library/blob/master/token/transfer-hook/interface/src/offchain.rs)
77+
[offchain](https://github.com/solana-program/transfer-hook/blob/main/interface/src/offchain.rs)
7878
modules of the Transfer Hook interface crate.
7979

8080
The account resolution is powered by the way configurations for additional
@@ -84,7 +84,7 @@ and roles (signer, writeable, etc.) for accounts.
8484
### The `ExtraAccountMeta` Struct
8585

8686
A member of the TLV Account Resolution library, the
87-
[`ExtraAccountMeta`](https://github.com/solana-labs/solana-program-library/blob/65a92e6e0a4346920582d9b3893cacafd85bb017/libraries/tlv-account-resolution/src/account.rs#L75)
87+
[`ExtraAccountMeta`](https://github.com/solana-program/libraries/blob/c5cc979f188ddc136de2ff556173a6f655322915/tlv-account-resolution/src/account.rs#L123)
8888
struct allows account configurations to be serialized into a fixed-length data
8989
format of length 35 bytes.
9090

@@ -130,7 +130,7 @@ Well, you don't. Instead, you tell the account resolution functionality _where_
130130
to find the seeds you need.
131131

132132
To do this, the transfer hook program can use the
133-
[`Seed`](https://github.com/solana-labs/solana-program-library/blob/65a92e6e0a4346920582d9b3893cacafd85bb017/libraries/tlv-account-resolution/src/seeds.rs#L38)
133+
[`Seed`](https://github.com/solana-program/libraries/blob/c5cc979f188ddc136de2ff556173a6f655322915/tlv-account-resolution/src/seeds.rs#L38)
134134
enum to describe their seeds and where to find them. With the exception of
135135
literals, these seed configurations comprise only a small handful of bytes.
136136

0 commit comments

Comments
 (0)