0.0.14 • Published 3 months ago

@delab-team/ton-network-react v0.0.14

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

Install

yarn add @delab-team/ton-network-provider

Usage

import { ProviderTonConnect } from '@delab-team/ton-network-react'
import { TonConnectUI } from 'delab-tonconnect-ui'

const isTestnet = true
const provider = new ProviderTonConnect(TonConnectUI, isTestnet)

await provider.sunc() // required for loading endpoint TonClient4

const contractOpened = this._provider.open(contract)

await contractOpened.deploy(provider.sender(), '1000000')

An example of use can be seen here - https://github.com/delab-team/de-donate/blob/main/src/logic/smart.ts

0.0.12

3 months ago

0.0.13

3 months ago

0.0.14

3 months ago

0.0.11

6 months ago

0.0.10

6 months ago

0.0.9

6 months ago

0.0.8

7 months ago

0.0.7

7 months ago

0.0.6

7 months ago

0.0.5

7 months ago

0.0.4

7 months ago

0.0.3

7 months ago

0.0.2

7 months ago

0.0.1

7 months ago