-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for AIP-62 compatible SDK wallets (#279)
* implement sdk standard wallets * upgrade t wallet package version * use production t wallet * update changeset * safer typing * address feedback
- Loading branch information
Showing
5 changed files
with
730 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@aptos-labs/wallet-adapter-core": minor | ||
--- | ||
|
||
Support T Wallet as a SDK wallet in the adapter core |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
packages/wallet-adapter-core/src/AIP62StandardWallets/sdkWallets.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { TWallet } from "@atomrigslab/aptos-wallet-adapter"; | ||
import { AptosStandardWallet } from "./WalletStandard"; | ||
|
||
const sdkWallets: AptosStandardWallet[] = []; | ||
|
||
sdkWallets.push(new TWallet()); | ||
|
||
export default sdkWallets; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.