New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@tonkeeper/tonconnect-ui-react

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tonkeeper/tonconnect-ui-react - npm Package Compare versions

Comparing version 2.0.11-beta.9 to 2.0.12

4

package.json
{
"name": "@tonkeeper/tonconnect-ui-react",
"version": "2.0.11-beta.9",
"version": "2.0.12",
"scripts": {

@@ -55,3 +55,3 @@ "dev": "vite",

"dependencies": {
"@tonkeeper/tonconnect-ui": "2.0.11-beta.6"
"@tonkeeper/tonconnect-ui": "2.0.12"
},

@@ -58,0 +58,0 @@ "peerDependencies": {

@@ -1,9 +0,24 @@

# TON Connect UI React
# TON Connect UI React by Tonkeeper
TonConnect UI React is a React UI kit for TonConnect SDK. Use it to connect your app to TON wallets via TonConnect protocol in React apps.
> This is a Tonkeeper-maintained fork of the official [TonConnect UI React](https://github.com/ton-connect/sdk/tree/main/packages/ui-react) with additional features and improvements. While maintaining compatibility with the core TonConnect protocol.
If you don't use React for your app, take a look at [TonConnect UI](https://github.com/ton-connect/sdk/tree/main/packages/ui).
## Key Differences from Official TonConnect UI React
If you want to use TonConnect on the server side, you should use the [TonConnect SDK](https://github.com/ton-connect/sdk/tree/main/packages/sdk).
- Ability to set primary wallet
- Tonkeeper is installed by default
## Installation
```bash
npm i @tonkeeper/tonconnect-ui-react
```
## Official TonConnect Resources
- [Original TonConnect UI React](https://github.com/ton-connect/sdk/tree/main/packages/ui-react)
- [Protocol Documentation](https://docs.ton.org/develop/dapps/ton-connect/overview)
If you don't use React for your dapp, take a look at [TonConnect UI](https://github.com/tonkeeper/tonconnect-sdk/tree/main/packages/ui).
If you want to use TonConnect on the server side, you should use the [TonConnect SDK](https://github.com/tonkeeper/tonconnect-sdk/tree/main/packages/sdk).
You can find more details and the protocol specification in the [docs](https://docs.ton.org/develop/dapps/ton-connect/overview).

@@ -13,11 +28,7 @@

# Getting started
[Latest API documentation](https://tonkeeper.github.io/tonconnect-sdk/modules/_tonconnect_ui_react.html)
[Demo dApp](https://github.com/tonkeeper/demo-dapp-with-wallet)
[Latest API documentation](https://ton-connect.github.io/sdk/modules/_tonconnect_ui-react.html)
# Getting started
## Installation with npm
`npm i @tonconnect/ui-react`
# Usage

@@ -27,3 +38,3 @@

Add TonConnectUIProvider to the root of the app. You can specify UI options using props.
[See all available options](https://ton-connect.github.io/sdk/types/_tonconnect_ui_react.TonConnectUIProviderProps.html)
[See all available options](https://tonkeeper.github.io/tonconnect-sdk/types/_tonconnect_ui_react.TonConnectUIProviderProps.html)

@@ -92,4 +103,4 @@ All TonConnect UI hooks calls and `<TonConnectButton />` component must be placed inside `<TonConnectUIProvider>`.

[Wallet interface](https://ton-connect.github.io/sdk/interfaces/_tonconnect_sdk.Wallet.html)
[WalletInfo interface](https://ton-connect.github.io/sdk/types/_tonconnect_sdk.WalletInfo.html)
[Wallet interface](https://tonkeeper.github.io/tonconnect-sdk/interfaces/_tonconnect_sdk.Wallet.html)
[WalletInfo interface](https://tonkeeper.github.io/tonconnect-sdk/types/_tonconnect_sdk.WalletInfo.html)

@@ -96,0 +107,0 @@ ```tsx

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc