laksadart 0.2.1+1 copy "laksadart: ^0.2.1+1" to clipboard
laksadart: ^0.2.1+1 copied to clipboard

Dart library for Zilliqa's Blockchain, including Schnorr, wallet/account/keys manager, RPCMethod, Transactions and Contracts deploy/call.

Laksa, Dart Version #

Waiting for Usage example and docs

Porting from Laksa and ZilliqaJS #

  • Account

    • ✅ create
    • ✅ toFile
    • ✅ fromFile
    • ✅ signTransaction
  • Wallet

    • ✅ add
    • ✅ remove
    • ✅ getAccount
    • ✅ encryptAccount
    • ✅ decryptAccount
    • ✅ setDefaultAccount
    • ✅ getDefaultAccount
  • crypto

    • ✅ getDerivedKey ((keystore))
    • ✅ encrypt(keystore)
    • ✅ decrypt(keystore)
    • ✅ sign(Schnorr function)
    • ✅ verify(Schnorr function)
    • ✅ SchnorrSign(Schnorr function with protobuf encodation)
    • ✅ generatePrivateKey
    • ✅ getPublicKeyFromPrivateKey
    • ✅ getPublicKeyFromPrivateKey
    • ✅ getAddressFromPublicKey
    • ✅ getAddressFromPrivateKey
    • ✅ hmac-drbg(HMAC update digest)
    • ✅ getDRBG(inner function)
    • ✅ generateNewPrivateKey(inner function)
    • ✅ privateKeyToPublic(inner function)
    • ✅ getPublic(inner function)
  • Messenger

    • ✅ send
    • ✅ sendServer(Scilla runner)
    • ✅ setNodeProvider
    • ✅ setScillaProvider
    • ✅ setMiddleware
    • ✅ useMiddleware
  • Blockchain(RPC methods)

    • ✅ getBalance
    • ✅ getBlockchainInfo
    • ✅ getDSBlock
    • ✅ getTxBlock
    • ✅ getLatestDSBlock
    • ✅ getNumDSBlocks
    • ✅ getDSBlockRate
    • ✅ getDSBlockListing
    • ✅ getLatestTxBlock
    • ✅ getNumTxBlocks
    • ✅ getTxBlockRate
    • ✅ getTxBlockListing
    • ✅ getNumTransactions
    • ✅ getTransactionRate
    • ✅ getCurrentMiniEpoch
    • ✅ getCurrentDSEpoch
    • ✅ getPrevDifficulty
    • ✅ getPrevDSDifficulty
    • ✅ getRecentTransactions
    • ✅ getNumTxnsTxEpoch
    • ✅ getNumTxnsDSEpoch
    • ✅ getMinimumGasPrice
    • ✅ createTransaction
    • ✅ checkCode(Scilla runner)
    • ✅ testCall(Scilla runner)
  • Provider

    • BaseProvider
    • HttpProvider
      • ✅ buildPayload
      • ✅ buildEndpointPayload
      • ✅ performRPC
      • ✅ send
      • ✅ sendServer(Scilla runner)
    • RPCMiddleware
      • ✅ RPCResponseBody
      • ✅ SuccessMiddleware
      • ✅ ErrorMiddleware
    • RPCMehod
    • Endpoint
  • Transaction

    • ✅ Factory
    • ✅ sendTransaction
    • ✅ trackTx
    • ✅ confirm
    • ✅ getVersion(calculate version number)
  • Contract

    • ✅ Factory
    • ✅ deploy
    • ✅ call
    • ✅ confirmTx
    • ✅ sendContract
    • ✅ signTxn
    • ✅ getState
    • ✅ setInitParamsValues
    • ✅ setDeployPayload
    • ✅ setCallPayload
  • utils

    • ✅ numbers.strip0x
    • ✅ numbers.toHex
    • ✅ numbers.bytesToHex
    • ✅ numbers.numberToBytes
    • ✅ numbers.hexToBytes
    • ✅ numbers.intToBytes
    • ✅ numbers.hexToInt
    • ✅ validators.isUrl
    • ✅ validators.isByteString
    • ✅ validators.isAddres
    • ✅ validators.isPublicKey
    • ✅ validators.isPrivateKey
    • ✅ validators.isSignature
    • ✅ unit.fromQa
    • ✅ unit.toQa
    • ✅ encodeTransactionProto

Thanks to #

  • Zilliqa, who make the js lib originally.
  • PointyCastle, who make the dart crypto packages.
  • Web3Dart, who make the web3 dart version.
1
likes
70
points
64
downloads

Publisher

unverified uploader

Weekly Downloads

Dart library for Zilliqa's Blockchain, including Schnorr, wallet/account/keys manager, RPCMethod, Transactions and Contracts deploy/call.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

bech32, bip32, bip39, collection, convert, crypto, fixnum, freezed_annotation, http, meta, pointycastle, protobuf, source_helper, tuple, uuid, validators

More

Packages that depend on laksadart