Set up guide
Installation
yarn add starknetkit npm install starknetkitImports
import { connect, disconnect } from 'starknetkit'Establishing a connection
const connection = await connect();const connectWallet = async() => {
const connection = await connect({webWalletUrl: "https://web.argent.xyz"});
if(connection && connection.isConnected) {
setConnection(connection)
setProvider(connection.account)
setAddress(connection.selectedAddress)
}
}Signing transactions

Last updated
Was this helpful?