ton-kotlin icon indicating copy to clipboard operation
ton-kotlin copied to clipboard

Kotlin/Multiplatform SDK for The Open Network

Results 23 ton-kotlin issues
Sort by recently updated
recently updated
newest added

TESTNET get block 0:11959898 is block coroutine by `CellType.LIBRARY_REFERENCE -> TODO()` or this block seqno `liteClient.getBlock(TonNodeBlockId(0, Long.MIN_VALUE, 11996799))` lead to exception ` kotlin.NotImplementedError: An operation is not implemented. at org.ton.cell.CellBuilderImpl.build(CellBuilder.kt:266)...

If I use the officially recommended Kotlin, I haven't seen any examples of Java usage on Github. Can you provide relevant examples, such as how to implement wallet transfers in...

- add into `org.ton.contract.SmartContract#runGetMethod` optional lastBlock? = null argument for multiple same-type requests in context of same block - allow to override `code` of any SmartContract

!!! TESTNET !!! ```kotlin import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.runBlocking import org.junit.jupiter.api.Test import org.springframework.boot.test.context.SpringBootTest import org.springframework.test.context.ActiveProfiles import org.ton.api.liteclient.config.LiteClientConfigGlobal import org.ton.api.liteserver.LiteServerDesc import org.ton.api.pub.PublicKeyEd25519 import org.ton.api.tonnode.TonNodeBlockId import org.ton.api.validator.config.ValidatorConfigGlobal import org.ton.crypto.base64 import org.ton.lite.client.LiteClient class Test...

WalletV4R2Contract Method getSeqno() failed with Exception if wallet is not AccountActive ``` public suspend fun transfer(...): Unit = coroutineScope { val seqno = getSeqno() val walletId = getSubWalletId() val message...

Sample: ``` import org.junit.jupiter.api.Test import org.ton.bitstring.BitString import org.ton.block.* import org.ton.cell.Cell import org.ton.cell.CellBuilder import org.ton.contract.wallet.WalletTransfer import org.ton.hashmap.HashMapE import org.ton.tlb.CellRef import org.ton.tlb.constructor.AnyTlbConstructor import org.ton.tlb.constructor.tlbCodec import org.ton.tlb.storeTlb import org.ton.tlb.storeRef class HashMapTest { fun...

To use the library in Android projects, 'android()' platform support must be enabled. To do so, it need to apply Android Gradle Plugin for the configuration phase, apply android library...