From 19d5c664c96e82499c2133e63a8e67a87d8fa9ce Mon Sep 17 00:00:00 2001 From: Jun Jiang Date: Mon, 1 Jul 2024 03:03:19 +0800 Subject: [PATCH] move wallet to extensions --- README.md | 5 +++++ {wallet => extensions/wallet}/Cargo.lock | 0 {wallet => extensions/wallet}/Cargo.toml | 2 +- {wallet => extensions/wallet}/README.md | 2 +- {wallet => extensions/wallet}/clients/js/.gitignore | 0 {wallet => extensions/wallet}/clients/js/.prettierrc.json | 0 {wallet => extensions/wallet}/clients/js/env-shim.ts | 0 {wallet => extensions/wallet}/clients/js/package.json | 2 +- {wallet => extensions/wallet}/clients/js/pnpm-lock.yaml | 0 .../wallet}/clients/js/src/generated/accounts/index.ts | 0 .../wallet}/clients/js/src/generated/accounts/wallet.ts | 0 .../wallet}/clients/js/src/generated/errors/dephyIdWallet.ts | 0 .../wallet}/clients/js/src/generated/errors/index.ts | 0 .../wallet}/clients/js/src/generated/global.d.ts | 0 .../wallet}/clients/js/src/generated/index.ts | 0 .../wallet}/clients/js/src/generated/instructions/create.ts | 0 .../wallet}/clients/js/src/generated/instructions/index.ts | 0 .../clients/js/src/generated/instructions/proxyCall.ts | 0 .../wallet}/clients/js/src/generated/pdas/index.ts | 0 .../wallet}/clients/js/src/generated/pdas/vault.ts | 0 .../wallet}/clients/js/src/generated/pdas/wallet.ts | 0 .../clients/js/src/generated/programs/dephyIdWallet.ts | 0 .../wallet}/clients/js/src/generated/programs/index.ts | 0 .../wallet}/clients/js/src/generated/shared/index.ts | 0 .../wallet}/clients/js/src/generated/types/index.ts | 0 .../wallet}/clients/js/src/generated/types/key.ts | 0 {wallet => extensions/wallet}/clients/js/src/index.ts | 0 {wallet => extensions/wallet}/clients/js/src/utils.d.ts | 0 {wallet => extensions/wallet}/clients/js/src/utils.js | 0 {wallet => extensions/wallet}/clients/js/test/_setup.ts | 0 .../wallet}/clients/js/test/proxy_call.test.ts | 0 {wallet => extensions/wallet}/clients/js/test/wallet.test.ts | 0 .../wallet}/clients/js/tsconfig.declarations.json | 0 {wallet => extensions/wallet}/clients/js/tsconfig.json | 0 {wallet => extensions/wallet}/clients/js/tsup.config.ts | 0 {wallet => extensions/wallet}/package.json | 2 +- {wallet => extensions/wallet}/program/Cargo.toml | 2 +- {wallet => extensions/wallet}/program/idl.json | 0 {wallet => extensions/wallet}/program/keypair.json | 0 {wallet => extensions/wallet}/program/src/assertions.rs | 0 {wallet => extensions/wallet}/program/src/entrypoint.rs | 0 {wallet => extensions/wallet}/program/src/error.rs | 0 {wallet => extensions/wallet}/program/src/instruction.rs | 0 {wallet => extensions/wallet}/program/src/lib.rs | 0 {wallet => extensions/wallet}/program/src/processor.rs | 0 {wallet => extensions/wallet}/program/src/state.rs | 0 {wallet => extensions/wallet}/program/src/utils.rs | 0 {wallet => extensions/wallet}/rustfmt.toml | 0 {wallet => extensions/wallet}/scripts/client/lint-js.mjs | 0 {wallet => extensions/wallet}/scripts/client/lint-rust.mjs | 0 {wallet => extensions/wallet}/scripts/client/test-js.mjs | 0 {wallet => extensions/wallet}/scripts/client/test-rust.mjs | 0 {wallet => extensions/wallet}/scripts/generate-clients.mjs | 0 {wallet => extensions/wallet}/scripts/generate-idls.mjs | 0 {wallet => extensions/wallet}/scripts/program/build.mjs | 0 {wallet => extensions/wallet}/scripts/program/clean.mjs | 0 {wallet => extensions/wallet}/scripts/program/dump.mjs | 0 {wallet => extensions/wallet}/scripts/program/format.mjs | 0 {wallet => extensions/wallet}/scripts/program/lint.mjs | 0 {wallet => extensions/wallet}/scripts/program/test.mjs | 0 {wallet => extensions/wallet}/scripts/start-validator.mjs | 0 {wallet => extensions/wallet}/scripts/stop-validator.mjs | 0 {wallet => extensions/wallet}/scripts/utils.mjs | 0 63 files changed, 10 insertions(+), 5 deletions(-) rename {wallet => extensions/wallet}/Cargo.lock (100%) rename {wallet => extensions/wallet}/Cargo.toml (61%) rename {wallet => extensions/wallet}/README.md (74%) rename {wallet => extensions/wallet}/clients/js/.gitignore (100%) rename {wallet => extensions/wallet}/clients/js/.prettierrc.json (100%) rename {wallet => extensions/wallet}/clients/js/env-shim.ts (100%) rename {wallet => extensions/wallet}/clients/js/package.json (91%) rename {wallet => extensions/wallet}/clients/js/pnpm-lock.yaml (100%) rename {wallet => extensions/wallet}/clients/js/src/generated/accounts/index.ts (100%) rename {wallet => extensions/wallet}/clients/js/src/generated/accounts/wallet.ts (100%) rename {wallet => extensions/wallet}/clients/js/src/generated/errors/dephyIdWallet.ts (100%) rename {wallet => extensions/wallet}/clients/js/src/generated/errors/index.ts (100%) rename {wallet => extensions/wallet}/clients/js/src/generated/global.d.ts (100%) rename {wallet => extensions/wallet}/clients/js/src/generated/index.ts (100%) rename {wallet => extensions/wallet}/clients/js/src/generated/instructions/create.ts (100%) rename {wallet => extensions/wallet}/clients/js/src/generated/instructions/index.ts (100%) rename {wallet => extensions/wallet}/clients/js/src/generated/instructions/proxyCall.ts (100%) rename {wallet => extensions/wallet}/clients/js/src/generated/pdas/index.ts (100%) rename {wallet => extensions/wallet}/clients/js/src/generated/pdas/vault.ts (100%) rename {wallet => extensions/wallet}/clients/js/src/generated/pdas/wallet.ts (100%) rename {wallet => extensions/wallet}/clients/js/src/generated/programs/dephyIdWallet.ts (100%) rename {wallet => extensions/wallet}/clients/js/src/generated/programs/index.ts (100%) rename {wallet => extensions/wallet}/clients/js/src/generated/shared/index.ts (100%) rename {wallet => extensions/wallet}/clients/js/src/generated/types/index.ts (100%) rename {wallet => extensions/wallet}/clients/js/src/generated/types/key.ts (100%) rename {wallet => extensions/wallet}/clients/js/src/index.ts (100%) rename {wallet => extensions/wallet}/clients/js/src/utils.d.ts (100%) rename {wallet => extensions/wallet}/clients/js/src/utils.js (100%) rename {wallet => extensions/wallet}/clients/js/test/_setup.ts (100%) rename {wallet => extensions/wallet}/clients/js/test/proxy_call.test.ts (100%) rename {wallet => extensions/wallet}/clients/js/test/wallet.test.ts (100%) rename {wallet => extensions/wallet}/clients/js/tsconfig.declarations.json (100%) rename {wallet => extensions/wallet}/clients/js/tsconfig.json (100%) rename {wallet => extensions/wallet}/clients/js/tsup.config.ts (100%) rename {wallet => extensions/wallet}/package.json (94%) rename {wallet => extensions/wallet}/program/Cargo.toml (92%) rename {wallet => extensions/wallet}/program/idl.json (100%) rename {wallet => extensions/wallet}/program/keypair.json (100%) rename {wallet => extensions/wallet}/program/src/assertions.rs (100%) rename {wallet => extensions/wallet}/program/src/entrypoint.rs (100%) rename {wallet => extensions/wallet}/program/src/error.rs (100%) rename {wallet => extensions/wallet}/program/src/instruction.rs (100%) rename {wallet => extensions/wallet}/program/src/lib.rs (100%) rename {wallet => extensions/wallet}/program/src/processor.rs (100%) rename {wallet => extensions/wallet}/program/src/state.rs (100%) rename {wallet => extensions/wallet}/program/src/utils.rs (100%) rename {wallet => extensions/wallet}/rustfmt.toml (100%) rename {wallet => extensions/wallet}/scripts/client/lint-js.mjs (100%) rename {wallet => extensions/wallet}/scripts/client/lint-rust.mjs (100%) rename {wallet => extensions/wallet}/scripts/client/test-js.mjs (100%) rename {wallet => extensions/wallet}/scripts/client/test-rust.mjs (100%) rename {wallet => extensions/wallet}/scripts/generate-clients.mjs (100%) rename {wallet => extensions/wallet}/scripts/generate-idls.mjs (100%) rename {wallet => extensions/wallet}/scripts/program/build.mjs (100%) rename {wallet => extensions/wallet}/scripts/program/clean.mjs (100%) rename {wallet => extensions/wallet}/scripts/program/dump.mjs (100%) rename {wallet => extensions/wallet}/scripts/program/format.mjs (100%) rename {wallet => extensions/wallet}/scripts/program/lint.mjs (100%) rename {wallet => extensions/wallet}/scripts/program/test.mjs (100%) rename {wallet => extensions/wallet}/scripts/start-validator.mjs (100%) rename {wallet => extensions/wallet}/scripts/stop-validator.mjs (100%) rename {wallet => extensions/wallet}/scripts/utils.mjs (100%) diff --git a/README.md b/README.md index ef0e607..95429a7 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,11 @@ The DePHY ID Solana program mono repo - [Rust client](./clients/rust): DePHY ID program client for Rust, generated by [Kinobi](https://github.com/metaplex-foundation/kinobi) which is useful for creating tools. +- [DePHY Wallet](extensions/wallet): + DePHY Wallet is a program that allowing to create a manage wallet for DePHY ID devices. +- [Product program template](templates/product-program): + You can fork this to deploy your own program managed DePHY product. + You can use this program to mint a device directly, and you can customize the minting logic. - [Example: Simple data subscription (with Kwil)](./examples/kwil): A demo to show how to connect DePIN devices with Kwil decentralized DB, Devices can publish their data to the Kwil DB, people can subscribe them, and read. diff --git a/wallet/Cargo.lock b/extensions/wallet/Cargo.lock similarity index 100% rename from wallet/Cargo.lock rename to extensions/wallet/Cargo.lock diff --git a/wallet/Cargo.toml b/extensions/wallet/Cargo.toml similarity index 61% rename from wallet/Cargo.toml rename to extensions/wallet/Cargo.toml index ed9f7f0..964f736 100644 --- a/wallet/Cargo.toml +++ b/extensions/wallet/Cargo.toml @@ -3,4 +3,4 @@ resolver = "2" members = ["program"] [workspace.metadata.solana] -external-programs-output = "../target/deploy" +external-programs-output = "../../target/deploy" diff --git a/wallet/README.md b/extensions/wallet/README.md similarity index 74% rename from wallet/README.md rename to extensions/wallet/README.md index 2dba813..36f9a8b 100644 --- a/wallet/README.md +++ b/extensions/wallet/README.md @@ -3,7 +3,7 @@ ## Test ```sh -# if `../target/deploy/dephy_id_program.so` not exist, build it in parent first +# if `../../target/deploy/dephy_id_program.so` not exist, build it in parent first cd .. cargo build-sbf diff --git a/wallet/clients/js/.gitignore b/extensions/wallet/clients/js/.gitignore similarity index 100% rename from wallet/clients/js/.gitignore rename to extensions/wallet/clients/js/.gitignore diff --git a/wallet/clients/js/.prettierrc.json b/extensions/wallet/clients/js/.prettierrc.json similarity index 100% rename from wallet/clients/js/.prettierrc.json rename to extensions/wallet/clients/js/.prettierrc.json diff --git a/wallet/clients/js/env-shim.ts b/extensions/wallet/clients/js/env-shim.ts similarity index 100% rename from wallet/clients/js/env-shim.ts rename to extensions/wallet/clients/js/env-shim.ts diff --git a/wallet/clients/js/package.json b/extensions/wallet/clients/js/package.json similarity index 91% rename from wallet/clients/js/package.json rename to extensions/wallet/clients/js/package.json index 7e28a17..3a89b56 100644 --- a/wallet/clients/js/package.json +++ b/extensions/wallet/clients/js/package.json @@ -6,7 +6,7 @@ }, "dependencies": { "@solana/web3.js": "2.0.0-preview.3", - "@dephy-io/dephy-id-program-client": "file:../../../clients/js" + "@dephy-io/dephy-id-program-client": "file:../../../../clients/js" }, "devDependencies": { "@ava/typescript": "^5.0.0", diff --git a/wallet/clients/js/pnpm-lock.yaml b/extensions/wallet/clients/js/pnpm-lock.yaml similarity index 100% rename from wallet/clients/js/pnpm-lock.yaml rename to extensions/wallet/clients/js/pnpm-lock.yaml diff --git a/wallet/clients/js/src/generated/accounts/index.ts b/extensions/wallet/clients/js/src/generated/accounts/index.ts similarity index 100% rename from wallet/clients/js/src/generated/accounts/index.ts rename to extensions/wallet/clients/js/src/generated/accounts/index.ts diff --git a/wallet/clients/js/src/generated/accounts/wallet.ts b/extensions/wallet/clients/js/src/generated/accounts/wallet.ts similarity index 100% rename from wallet/clients/js/src/generated/accounts/wallet.ts rename to extensions/wallet/clients/js/src/generated/accounts/wallet.ts diff --git a/wallet/clients/js/src/generated/errors/dephyIdWallet.ts b/extensions/wallet/clients/js/src/generated/errors/dephyIdWallet.ts similarity index 100% rename from wallet/clients/js/src/generated/errors/dephyIdWallet.ts rename to extensions/wallet/clients/js/src/generated/errors/dephyIdWallet.ts diff --git a/wallet/clients/js/src/generated/errors/index.ts b/extensions/wallet/clients/js/src/generated/errors/index.ts similarity index 100% rename from wallet/clients/js/src/generated/errors/index.ts rename to extensions/wallet/clients/js/src/generated/errors/index.ts diff --git a/wallet/clients/js/src/generated/global.d.ts b/extensions/wallet/clients/js/src/generated/global.d.ts similarity index 100% rename from wallet/clients/js/src/generated/global.d.ts rename to extensions/wallet/clients/js/src/generated/global.d.ts diff --git a/wallet/clients/js/src/generated/index.ts b/extensions/wallet/clients/js/src/generated/index.ts similarity index 100% rename from wallet/clients/js/src/generated/index.ts rename to extensions/wallet/clients/js/src/generated/index.ts diff --git a/wallet/clients/js/src/generated/instructions/create.ts b/extensions/wallet/clients/js/src/generated/instructions/create.ts similarity index 100% rename from wallet/clients/js/src/generated/instructions/create.ts rename to extensions/wallet/clients/js/src/generated/instructions/create.ts diff --git a/wallet/clients/js/src/generated/instructions/index.ts b/extensions/wallet/clients/js/src/generated/instructions/index.ts similarity index 100% rename from wallet/clients/js/src/generated/instructions/index.ts rename to extensions/wallet/clients/js/src/generated/instructions/index.ts diff --git a/wallet/clients/js/src/generated/instructions/proxyCall.ts b/extensions/wallet/clients/js/src/generated/instructions/proxyCall.ts similarity index 100% rename from wallet/clients/js/src/generated/instructions/proxyCall.ts rename to extensions/wallet/clients/js/src/generated/instructions/proxyCall.ts diff --git a/wallet/clients/js/src/generated/pdas/index.ts b/extensions/wallet/clients/js/src/generated/pdas/index.ts similarity index 100% rename from wallet/clients/js/src/generated/pdas/index.ts rename to extensions/wallet/clients/js/src/generated/pdas/index.ts diff --git a/wallet/clients/js/src/generated/pdas/vault.ts b/extensions/wallet/clients/js/src/generated/pdas/vault.ts similarity index 100% rename from wallet/clients/js/src/generated/pdas/vault.ts rename to extensions/wallet/clients/js/src/generated/pdas/vault.ts diff --git a/wallet/clients/js/src/generated/pdas/wallet.ts b/extensions/wallet/clients/js/src/generated/pdas/wallet.ts similarity index 100% rename from wallet/clients/js/src/generated/pdas/wallet.ts rename to extensions/wallet/clients/js/src/generated/pdas/wallet.ts diff --git a/wallet/clients/js/src/generated/programs/dephyIdWallet.ts b/extensions/wallet/clients/js/src/generated/programs/dephyIdWallet.ts similarity index 100% rename from wallet/clients/js/src/generated/programs/dephyIdWallet.ts rename to extensions/wallet/clients/js/src/generated/programs/dephyIdWallet.ts diff --git a/wallet/clients/js/src/generated/programs/index.ts b/extensions/wallet/clients/js/src/generated/programs/index.ts similarity index 100% rename from wallet/clients/js/src/generated/programs/index.ts rename to extensions/wallet/clients/js/src/generated/programs/index.ts diff --git a/wallet/clients/js/src/generated/shared/index.ts b/extensions/wallet/clients/js/src/generated/shared/index.ts similarity index 100% rename from wallet/clients/js/src/generated/shared/index.ts rename to extensions/wallet/clients/js/src/generated/shared/index.ts diff --git a/wallet/clients/js/src/generated/types/index.ts b/extensions/wallet/clients/js/src/generated/types/index.ts similarity index 100% rename from wallet/clients/js/src/generated/types/index.ts rename to extensions/wallet/clients/js/src/generated/types/index.ts diff --git a/wallet/clients/js/src/generated/types/key.ts b/extensions/wallet/clients/js/src/generated/types/key.ts similarity index 100% rename from wallet/clients/js/src/generated/types/key.ts rename to extensions/wallet/clients/js/src/generated/types/key.ts diff --git a/wallet/clients/js/src/index.ts b/extensions/wallet/clients/js/src/index.ts similarity index 100% rename from wallet/clients/js/src/index.ts rename to extensions/wallet/clients/js/src/index.ts diff --git a/wallet/clients/js/src/utils.d.ts b/extensions/wallet/clients/js/src/utils.d.ts similarity index 100% rename from wallet/clients/js/src/utils.d.ts rename to extensions/wallet/clients/js/src/utils.d.ts diff --git a/wallet/clients/js/src/utils.js b/extensions/wallet/clients/js/src/utils.js similarity index 100% rename from wallet/clients/js/src/utils.js rename to extensions/wallet/clients/js/src/utils.js diff --git a/wallet/clients/js/test/_setup.ts b/extensions/wallet/clients/js/test/_setup.ts similarity index 100% rename from wallet/clients/js/test/_setup.ts rename to extensions/wallet/clients/js/test/_setup.ts diff --git a/wallet/clients/js/test/proxy_call.test.ts b/extensions/wallet/clients/js/test/proxy_call.test.ts similarity index 100% rename from wallet/clients/js/test/proxy_call.test.ts rename to extensions/wallet/clients/js/test/proxy_call.test.ts diff --git a/wallet/clients/js/test/wallet.test.ts b/extensions/wallet/clients/js/test/wallet.test.ts similarity index 100% rename from wallet/clients/js/test/wallet.test.ts rename to extensions/wallet/clients/js/test/wallet.test.ts diff --git a/wallet/clients/js/tsconfig.declarations.json b/extensions/wallet/clients/js/tsconfig.declarations.json similarity index 100% rename from wallet/clients/js/tsconfig.declarations.json rename to extensions/wallet/clients/js/tsconfig.declarations.json diff --git a/wallet/clients/js/tsconfig.json b/extensions/wallet/clients/js/tsconfig.json similarity index 100% rename from wallet/clients/js/tsconfig.json rename to extensions/wallet/clients/js/tsconfig.json diff --git a/wallet/clients/js/tsup.config.ts b/extensions/wallet/clients/js/tsup.config.ts similarity index 100% rename from wallet/clients/js/tsup.config.ts rename to extensions/wallet/clients/js/tsup.config.ts diff --git a/wallet/package.json b/extensions/wallet/package.json similarity index 94% rename from wallet/package.json rename to extensions/wallet/package.json index 44df3c1..c003b0b 100644 --- a/wallet/package.json +++ b/extensions/wallet/package.json @@ -25,7 +25,7 @@ "kinobi": "^0.20.4", "typescript": "^5.5.2", "zx": "^7.2.3", - "@dephy-io/dephy-id-program-client": "file:../clients/js" + "@dephy-io/dephy-id-program-client": "file:../../clients/js" }, "packageManager": "pnpm@9.4.0" } diff --git a/wallet/program/Cargo.toml b/extensions/wallet/program/Cargo.toml similarity index 92% rename from wallet/program/Cargo.toml rename to extensions/wallet/program/Cargo.toml index 382110a..b8bc679 100644 --- a/wallet/program/Cargo.toml +++ b/extensions/wallet/program/Cargo.toml @@ -23,7 +23,7 @@ num-derive = "0.4.2" num-traits = "^0.2" solana-program = "~2.0" thiserror = "^1.0" -dephy-id-program-client = { path = "../../clients/rust" } +dephy-id-program-client = { path = "../../../clients/rust" } spl-token-2022 = { version = "4.0.0", features = ["no-entrypoint"] } spl-associated-token-account = { version = "4.0.0", features = ["no-entrypoint"] } spl-token-metadata-interface = "0.4.0" diff --git a/wallet/program/idl.json b/extensions/wallet/program/idl.json similarity index 100% rename from wallet/program/idl.json rename to extensions/wallet/program/idl.json diff --git a/wallet/program/keypair.json b/extensions/wallet/program/keypair.json similarity index 100% rename from wallet/program/keypair.json rename to extensions/wallet/program/keypair.json diff --git a/wallet/program/src/assertions.rs b/extensions/wallet/program/src/assertions.rs similarity index 100% rename from wallet/program/src/assertions.rs rename to extensions/wallet/program/src/assertions.rs diff --git a/wallet/program/src/entrypoint.rs b/extensions/wallet/program/src/entrypoint.rs similarity index 100% rename from wallet/program/src/entrypoint.rs rename to extensions/wallet/program/src/entrypoint.rs diff --git a/wallet/program/src/error.rs b/extensions/wallet/program/src/error.rs similarity index 100% rename from wallet/program/src/error.rs rename to extensions/wallet/program/src/error.rs diff --git a/wallet/program/src/instruction.rs b/extensions/wallet/program/src/instruction.rs similarity index 100% rename from wallet/program/src/instruction.rs rename to extensions/wallet/program/src/instruction.rs diff --git a/wallet/program/src/lib.rs b/extensions/wallet/program/src/lib.rs similarity index 100% rename from wallet/program/src/lib.rs rename to extensions/wallet/program/src/lib.rs diff --git a/wallet/program/src/processor.rs b/extensions/wallet/program/src/processor.rs similarity index 100% rename from wallet/program/src/processor.rs rename to extensions/wallet/program/src/processor.rs diff --git a/wallet/program/src/state.rs b/extensions/wallet/program/src/state.rs similarity index 100% rename from wallet/program/src/state.rs rename to extensions/wallet/program/src/state.rs diff --git a/wallet/program/src/utils.rs b/extensions/wallet/program/src/utils.rs similarity index 100% rename from wallet/program/src/utils.rs rename to extensions/wallet/program/src/utils.rs diff --git a/wallet/rustfmt.toml b/extensions/wallet/rustfmt.toml similarity index 100% rename from wallet/rustfmt.toml rename to extensions/wallet/rustfmt.toml diff --git a/wallet/scripts/client/lint-js.mjs b/extensions/wallet/scripts/client/lint-js.mjs similarity index 100% rename from wallet/scripts/client/lint-js.mjs rename to extensions/wallet/scripts/client/lint-js.mjs diff --git a/wallet/scripts/client/lint-rust.mjs b/extensions/wallet/scripts/client/lint-rust.mjs similarity index 100% rename from wallet/scripts/client/lint-rust.mjs rename to extensions/wallet/scripts/client/lint-rust.mjs diff --git a/wallet/scripts/client/test-js.mjs b/extensions/wallet/scripts/client/test-js.mjs similarity index 100% rename from wallet/scripts/client/test-js.mjs rename to extensions/wallet/scripts/client/test-js.mjs diff --git a/wallet/scripts/client/test-rust.mjs b/extensions/wallet/scripts/client/test-rust.mjs similarity index 100% rename from wallet/scripts/client/test-rust.mjs rename to extensions/wallet/scripts/client/test-rust.mjs diff --git a/wallet/scripts/generate-clients.mjs b/extensions/wallet/scripts/generate-clients.mjs similarity index 100% rename from wallet/scripts/generate-clients.mjs rename to extensions/wallet/scripts/generate-clients.mjs diff --git a/wallet/scripts/generate-idls.mjs b/extensions/wallet/scripts/generate-idls.mjs similarity index 100% rename from wallet/scripts/generate-idls.mjs rename to extensions/wallet/scripts/generate-idls.mjs diff --git a/wallet/scripts/program/build.mjs b/extensions/wallet/scripts/program/build.mjs similarity index 100% rename from wallet/scripts/program/build.mjs rename to extensions/wallet/scripts/program/build.mjs diff --git a/wallet/scripts/program/clean.mjs b/extensions/wallet/scripts/program/clean.mjs similarity index 100% rename from wallet/scripts/program/clean.mjs rename to extensions/wallet/scripts/program/clean.mjs diff --git a/wallet/scripts/program/dump.mjs b/extensions/wallet/scripts/program/dump.mjs similarity index 100% rename from wallet/scripts/program/dump.mjs rename to extensions/wallet/scripts/program/dump.mjs diff --git a/wallet/scripts/program/format.mjs b/extensions/wallet/scripts/program/format.mjs similarity index 100% rename from wallet/scripts/program/format.mjs rename to extensions/wallet/scripts/program/format.mjs diff --git a/wallet/scripts/program/lint.mjs b/extensions/wallet/scripts/program/lint.mjs similarity index 100% rename from wallet/scripts/program/lint.mjs rename to extensions/wallet/scripts/program/lint.mjs diff --git a/wallet/scripts/program/test.mjs b/extensions/wallet/scripts/program/test.mjs similarity index 100% rename from wallet/scripts/program/test.mjs rename to extensions/wallet/scripts/program/test.mjs diff --git a/wallet/scripts/start-validator.mjs b/extensions/wallet/scripts/start-validator.mjs similarity index 100% rename from wallet/scripts/start-validator.mjs rename to extensions/wallet/scripts/start-validator.mjs diff --git a/wallet/scripts/stop-validator.mjs b/extensions/wallet/scripts/stop-validator.mjs similarity index 100% rename from wallet/scripts/stop-validator.mjs rename to extensions/wallet/scripts/stop-validator.mjs diff --git a/wallet/scripts/utils.mjs b/extensions/wallet/scripts/utils.mjs similarity index 100% rename from wallet/scripts/utils.mjs rename to extensions/wallet/scripts/utils.mjs