laksadart 0.1.20-dev.2 copy "laksadart: ^0.1.20-dev.2" to clipboard
laksadart: ^0.1.20-dev.2 copied to clipboard

outdated

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
0
pub points
0%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

bip32, bip39, collection, convert, crypto, fixnum, http, json_serializable, meta, pointycastle, protobuf, test, tuple, uuid, validators

More

Packages that depend on laksadart