secretk

A Kotlin Multiplatform (JVM, Android, iOS, tvOS, watchOS, macOS, linux, JS) client for interacting with the Secret Network

MIT License

Stars
11
Committers
2

Bot releases are hidden (Show)

secretk - v0.8.0

Published by luca992 about 2 years ago

New

  • Added a 1DirectSigningWallet1 constructor w/ no params that creates a random wallet

Improvements

  • make some parameters of MsgExecuteContract + MsgInstantiateContract vars
    • This can be useful for dev, because for example, this allows you to create instances MsgInstantiateContract before storing the code and injecting the params after.
    • Also now throw errors for null or blank codeHash or codeIds. Instead of logging warnings to prevent user error

Bugfixes

  • populateCodeHash bug fix for blank codeHash string
secretk - v0.7.0

Published by luca992 about 2 years ago

Fix

  • update SigningCosmWasmClient.init functions to take chainId param
secretk - v0.6.0

Published by luca992 about 2 years ago

Improvements

  • Add ability to pass in chainId instead of making a rest call to get it
    • log a warning if chainId isn't passed in (as it makes execution slower)
secretk - v0.5.0

Published by luca992 about 2 years ago

Changes

  • Expose getBalance + getAccount functions in the client. Each making one api call each.
    • vs. the old getAccount function, which used to make two api calls and combine the results of getBalance + getAccount
  • Optin for ExperimentalUnsignedTypes on SigningCosmWasmClient.init to prevent warnings for ExperimentalUnsignedTypes
secretk - v0.4.0

Published by luca992 about 2 years ago

Bug Fixes

  • handle decoding protobufs with null Msg data

Improvements

  • return all available data in the result of execute
secretk - v0.3.3

Published by luca992 about 2 years ago

  • Expose getCodeInfoByCodeId, getCodeHashByContractAddr, and nodeInfo
  • implement todo: get codehash from msg codeId if needed for MsgInstantiateContract
secretk - v0.3.2

Published by luca992 about 2 years ago

New!

  • Simulate Contract Execution To Estimate Gas
  • Contract Code Upload (execute with: MsgStoreCode)
  • Contract Instantiate (execute with: MsgInstantiateContract)
  • A sample xcode project using the swift package
  • A sample Compose UI (running on jvm, android, native macOS, iOS, browser (using either Keplr or Metamask browser wallets)
secretk - 0.2.1

Published by luca992 about 2 years ago

  • Update query endpoint for secret network v1.4.0 Shockwave Delta
  • Implement decoding query errors
  • Add sample projects for all supported targets using compose ui, plus a swift sample project
    JS:
  • Add support for browser wallets!
    • OfflineSignerOnlyAminoWalletWrapper wraps OfflineSignerOnlyAminoWallet
    • MetaMaskWalletWrapper wraps an ethereum provider

Bug fixes:

  • handle failed account and balances rest calls when executing a transaction
secretk - 0.1.1

Published by luca992 over 2 years ago

Fixes local dependency issue

secretk - 0.1.0

Published by luca992 over 2 years ago

Initial Release 🎉
Support for executing and querying contracts