Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@darlington02/tokenbound-connectkit

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@darlington02/tokenbound-connectkit

Install tokenbound connectorkit with `npm`, `pnmp` or `yarn`

unpublished
latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
0
Created
Source

🕹️ Tokenbound Account Connectkit

Install tokenbound connectorkit with npm, pnmp or yarn

$ npm install tokenbound-connectkit

# or with yarn:
$ yarn add tokenbound-connectkit

Imports

After installation, we get access to different methods, such as connect, disconnect, etc which we should import for use in our application:

import { connect, disconnect } from "tokenbound-connectkit"

Establishing a connection

To establish a wallet connection, we need to call the connect method which was imported earlier like this:

const wallet = await connect()
const connectTBA = async () => {
   try {
     const { wallet } = await connect({
       tokenboundOptions: {
         chainId: constants.NetworkName.SN_SEPOLIA,
       }
     });
   } catch (e) {
     console.error(e)
     alert((e as any).message)
   }
 }


Disconnect a wallet

await disconnect()

## 📕 Guides

Guides can be found [here]()

## 📜 License

Copyright (c) 2024

Licensed under the [MIT license](./LICENSE.md).

Keywords

starknet

FAQs

Package last updated on 19 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts