@@ -22,7 +22,7 @@ See the [Token Setup Guide](../token#setup) to install the client utilities.
2222Token-2022 shares the same CLI and NPM packages for maximal compatibility.
2323
2424All 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
15301530The 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 ) ,
15321532along with a sample minimal program implementation. You can find detailed
15331533instructions on how to implement this interface for an on-chain program or
15341534interact 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
15371537The ` spl-transfer-hook-interface ` library provides offchain and onchain helpers
15381538for 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 )
15401540for 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 )
15421542for fetching the additional required account metas with any async off-chain client
15431543like ` BanksClient ` or ` RpcClient ` .
15441544
15451545A 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 ) .
15471547Token-2022 uses this example program in tests to ensure that it properly uses
15481548the transfer hook interface.
15491549
15501550The 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 )
15521552library, 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
16621662A 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 ) .
16641664A mint manager can fork the tool for their own program.
16651665
16661666It 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
17201720their token's metadata directly in the mint account.
17211721
17221722Token-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
17251725The metadata extension should work directly with the metadata-pointer extension.
17261726During 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
19661966and the group's maximum size, can be stored directly in the mint itself.
19671967
19681968Token-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
19711971The group extension works directly with the group-pointer extension.
19721972To initialize group configurations within a mint, you must add the group-pointer
0 commit comments