forked from MystenLabs/sui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[wallet-adapter] merge wallet adapter (MystenLabs#3361)
* [wallet-adapter] initial merge
- Loading branch information
Showing
60 changed files
with
40,685 additions
and
0 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,23 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
/coverage | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
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,17 @@ | ||
# Sui Wallet Adapter | ||
|
||
This project is an adapter for wallets on the Sui blockchain. | ||
|
||
### Modules | ||
|
||
#### packages/adapters/base-adapter | ||
Defines the base interface in which the wallet adapters will implement. | ||
|
||
#### packages/adapters/integrations | ||
Contains the integrations for each wallet. If you are importing multiple wallets, it may be beneficial to instead import the `all-wallets` module, which exports all integrated wallet adapter interfaces. | ||
|
||
#### packages/ui | ||
Contains basic UI elements such as the Connect/Manage Wallet and corresponding modals for each wallet. Check out ./src for an example of how to integrate this to your project. | ||
|
||
#### packages/react-providers | ||
Contains the react providers that inject the endpoint defined in `packages/adapters/base-adapter` into your project. Check out ./src for an example of how to integrate this to your project. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.