Skip to content

Commit

Permalink
move wallet to extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
jasl committed Jun 30, 2024
1 parent 3b29527 commit 19d5c66
Show file tree
Hide file tree
Showing 63 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion wallet/Cargo.toml → extensions/wallet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ resolver = "2"
members = ["program"]

[workspace.metadata.solana]
external-programs-output = "../target/deploy"
external-programs-output = "../../target/deploy"
2 changes: 1 addition & 1 deletion wallet/README.md → extensions/wallet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion wallet/package.json → extensions/wallet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "[email protected]"
}
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 19d5c66

Please sign in to comment.