Skip to main content

65 docs tagged with "Ts SDK"

TypeScript Software Development Kit

View all tags

@iota/create-dapp

@iota/create-dapp is a CLI tool that helps you create dApp projects.

BCS

The @iota/iota-sdk/bcs package extends @iota/bcs with IOTA specific scheme definitions.

Building Offline

To build a transaction offline (with no client required), you need to fully define all of your

Claiming Foundry Outputs

A guide to claiming Foundry Outputs by extracting the CoinManagerTreasuryCap from an AliasOutput in the Move-based IOTA ledger.

ConnectButton

The ConnectButton shows the user a button to connect and disconnect a wallet. It automatically

ConnectModal

The ConnectModal component opens a modal that guides the user through connecting their wallet to

End-to-End Examples

These examples demonstrate some possible use cases for the IOTA Owned Object Pool library.

Examples

The following dApp-focused examples demonstrate how to use the SDK to interact with Kiosk.

Hello IOTA

This basic example introduces you to the IOTA TypeScript SDK. The Node.js example mints IOTA on an IOTA

How to use

After following the introduction steps on how to initialize a transfer policy transaction you can

IOTA dApp Kit

The IOTA dApp Kit is a set of React components, hooks, and utilities to help you build a dApp for the

IOTA Faucet

Devnet, Testnet, and local networks include faucets that mint IOTA. You can use the IOTA TypeScript

IotaClientProvider

The IotaClientProvider manages the active IotaClient that hooks and components use in the dApp

IotaGraphQLClient

IotaGraphQLClient is still in development and may change rapidly as it is being developed.

Key pairs

The IOTA TypeScript SDK provides Keypair classes that handle logic for signing and verification

Keys and Addresses

IOTA adheres to widely accepted wallet specifications in the cryptocurrency industry, including BIP-32 (and its variation, SLIP-0010) and its variation SLIP-0010, BIP-44, and BIP-39, to facilitate key management for users. At present, IOTA supports pure Ed25519, ECDSA Secp256k1, ECDSA Secp256r1, and multisig for signed transactions.

Kiosk Client

Kiosk Client is the base for all Kiosk SDK functionality.

Kiosk SDK

Kiosk SDK is a tool to interact with IOTA Kiosk. You can use it to query kiosk related data,

KioskTransaction

KioskTransaction is the client to build transactions that involve Kiosk. It's used similar to

Purchasing from a kiosk

One of the base functionalities of the SDK is a seamless purchasing flow, allowing for ease of rules

Querying

You can use the kioskClient to query kiosk data. It helps you get owned kiosks for an address, as

Rpc Hooks

IOTA dApp Kit ships with hooks for each of the RPC methods defined in the

Themes

You can provide a theme to the WalletProvider component to customize the components in dApp Kit.

Transaction Executors

The Typescript SDK ships 2 Transaction executor classes that simplify the processes of efficiently

Transaction Intents

Transaction Intents enable 3rd party SDKs and Transaction Plugins to more easily add

Transaction Plugins

The Transaction plugin API is experimental and may change rapidly as it is being developed.

Transfer to Object

On IOTA, you can transfer objects to objects in the same way you can transfer objects to addresses.

useAccounts

The useAccounts hook retrieves a list of connected accounts the dApp authorizes.

useAutoConnectWallet

The useAutoConnectWallet hook retrieves the status for the initial wallet auto-connection process.

useConnectWallet

The useConnectWallet hook is a mutation hook for establishing a connection to a specific wallet.

useCurrentAccount

The useCurrentAccount hook retrieves the wallet account that is currently selected, if one exists.

useCurrentWallet

The useCurrentWallet hook retrieves the wallet that is currently connected to the dApp, if one

useDisconnectWallet

The useConnectWallet hook is a mutation hook for disconnecting from an active wallet connection,

useSignPersonalMessage

Use the useSignPersonalMessage hook to prompt the user to sign a message with their wallet.

useSignTransaction

Use the useSignTransaction hook to prompt the user to sign a transaction with their wallet.

useSwitchAccount

The useSwitchAccount hook is a mutation hook for establishing a connection to a specific wallet.

useWallets

The useWallets hook returns an array of wallets that are available to the user. The wallets are

WalletProvider

Use WalletProvider to set up the necessary context for your React app. Use it at the root of your