medjs
stable

User Documentation

  • Getting Started
  • Tutorial

API Reference

  • medjs
  • medjs.client
  • medjs.cryptography
  • medjs.local.Account
  • medjs.local.transaction
  • medjs.healthData
  • medjs.identification
  • medjs.utils
medjs
  • Docs »
  • medjs - MediBloc JavaScript API
  • Edit on GitHub

Note

This documentation is for a work currently in progress and medjs 1.0 is not yet released.

medjs - MediBloc JavaScript APIΒΆ

medjs is a client-side JavaScript library for medibloc blockchain.

User Documentation

  • Getting Started
    • Adding medjs
  • Tutorial
    • send data upload transaction

API Reference

  • medjs
    • Parameters
  • medjs.client
    • getAccountState
    • getBlock
    • getMedState
    • getTransaction
    • sendTransaction
  • medjs.cryptography
    • encryptData
    • decryptData
    • encryptKey
    • decryptKey
    • getKeyPair
    • getKeyPairFromPassphrase
    • getPubKey
    • getSharedSecretKey
    • recoverPubKeyFromSignature
    • sign
    • verifySignature
  • medjs.local.Account
    • new Account
    • createCertificate
    • getDecryptedPrivateKey
    • signTx
    • signDataPayload
  • medjs.local.transaction
    • Transaction types
    • valueTransferTx
    • dataUploadTx
    • vestTx
    • withdrawVestingTx
    • becomeCandidateTx
    • quitCandidacyTx
    • voteTx
    • createDataPayload
  • medjs.healthData
    • MediBloc Health Data(MHD) Format
    • decodeData
    • decodeDataFromFile
    • encodeData
    • encodeDataFromFile
    • hashData
    • hashDataFromFile
  • medjs.identification
    • createCertificate
    • verifyCertificate
  • medjs.utils
    • genHexBuf
    • isAddress
    • isHexadecimal
    • padLeftWithZero
    • randomHex
    • sha3
    • sha3Stream
Next

© Copyright 2018, MediBloc. Revision ac7f0d2f.

Built with Sphinx using a theme provided by Read the Docs.