VeChain Docs
  • Welcome to VeChain
  • Blockchain Basics
    • Introduction to blockchain
    • Introduction to digital property
    • The evolution of the internet
  • Introduction to VeChain
    • About the VeChain blockchain
      • Consensus Deep Dive
      • Governance
    • Dual-Token Economic Model
      • VeChain (VET)
      • VeThor (VTHO)
    • Acquire VeChain Assets
    • Sustainability
  • Core Concepts
    • Networks
      • Thor Solo Node
      • Testnet
      • Mainnet
    • Nodes
      • Node Rewards Programme
    • Blocks
      • Block Model
    • Transactions
      • Transaction Model
      • Transaction Fees
      • Transaction Calculation
      • Meta Transaction Features
        • Transaction Uniqueness
        • Controllable Transaction Lifecycle
        • Clauses (Multi-Task Transaction)
        • Fee Delegation
          • Multi-Party Payment (MPP)
          • Designated Gas Payer (VIP-191)
        • Transaction Dependency
    • Block Explorers
    • Wallets
      • VeWorld
        • User Guide
          • Setup
          • Wallet
          • Signing
          • Activities
          • Settings
        • FAQ
      • Sync2
        • User Guide
          • Setup
          • Wallet
          • Signing
          • Activities
          • Settings
        • FAQ
      • Sync
        • User Guide
          • Wallet
          • Ledger Device
          • Browser dApps and web
          • Interact with dApps
          • Activities
          • Settings
          • Report an Issue
          • Contributing
        • FAQ
    • EVM Compatibility
      • VeChain Modifications
      • Methodology
      • Test Coverage
        • Gas model
        • Raw transaction
        • hardhat specific
          • Ganache failures
          • evm_increaseTime
        • Failures in constructor
        • eth_sign
        • Contract address prediction
        • BadBeacon proxy address at 0x1
      • How to Recreate
      • Additional Information
        • Using Governance Contracts
        • ERC1820/ERC777 Testnet
        • Delegate Options
    • Account Abstraction
      • UserOperation
      • Bundler
      • EntryPoint Contract
      • Account Factory Contract
      • Paymaster Contract
    • Token Bound Accounts
  • How to run a node
    • Nodes
    • How to run a Thor Solo Node
    • Custom Network
    • Connect Sync2 to a Thor Solo Node
  • Developer Resources
    • Getting Started
    • How to build on VeChain
      • Connect to the Network
      • Read Data
        • Read Blocks
        • Read Transactions
        • Read Accounts
        • States & Views
        • Events & Logs
        • VET Transfers
      • Write Data
        • Transactions
        • Fee Delegation
      • Listen to Changes
        • Events
        • VET Transfers
        • Transactions
        • Blocks
        • Beats
      • Build with Hardhat
      • Utilities
        • BigInt and Unit-Handling
        • Name Service Lookups
    • Example dApps
      • Buy me a Coffee
      • Token Bound Accounts
      • PWA with Privy and Account Abstraction
    • EVM Compatibility for Developers
      • Key Architectural Differences and Optimizations
      • Practical Implications for Developers: Key Considerations
      • RPC Methods (Detailed Breakdown)
      • Frequently Asked Questions (FAQs)
      • VeChain Blockchain Specifications
      • Key Differences Between VeChain and Ethereum (Summary)
      • Best Practices for Developing on VeChainThor
    • How to verify Address-Ownership
      • Next.js Session Verification
    • Debug Reverted Transactions
    • Account Abstraction
    • VIP-191: Designated Gas Payer
      • How to Integrate VIP-191 (I)
      • How to Integrate VIP-191 (II)
      • How to Integrate VIP-191 (III)
    • Index with Graph Node
      • Setup with Docker
      • Index with OpenZeppelin
        • Create Subgraph Project
        • Configure Contracts
        • Deploy Subgraph and start Indexing
        • Track Subgraph Indexing
        • Access Subgraph
        • Update Subgraph
    • SDKs & Providers
      • SDK
        • Architecture
        • Accounts
        • Bloom Filter
        • Certificates
        • Contracts
        • Cryptography
        • Debug
        • Encoding
        • Polls
        • Subscriptions
        • Thor Client
        • Transactions
      • Thor DevKit
        • Installation
        • Usage
          • Cryptography
          • Accounts
          • Encoding
          • Transactions
          • Certificates
          • Bloom Filter
      • DApp Kit
        • v2
          • Installation
          • React
            • Installation
            • Usage
          • Vanilla JS
            • Installation
            • Usage
          • Core
            • Installation
            • Usage
          • Theme Variables
          • i18n
        • v1
          • Installation
          • React
            • Installation
            • Usage
          • Vanilla JS
            • Installation
            • Usage
          • Core
            • Installation
            • Usage
          • Theme Variables
          • i18n
          • Node Polyfills
          • V0 to V1
        • v0
          • Installation
          • Usage
          • React
            • Installation
            • Usage
          • Vanilla (UI)
            • Installation
            • Usage
          • Styles (UI)
          • i18n
      • DevPal
      • Web3-Providers-Connex
        • Installation
        • Usage
      • Connex
        • Installation
        • API Specification
    • Frameworks & IDEs
      • Hardhat
      • Remix
    • Built-in Contracts
    • VORJ
    • Useful Links
  • How to contribute
Powered by GitBook
On this page
  • Languages
  • Key Features
  • Offline Functionality
  • License

Was this helpful?

  1. Developer Resources
  2. SDKs & Providers

Thor DevKit

PreviousTransactionsNextInstallation

Last updated 11 months ago

Was this helpful?

is a library specifically designed to aid in decentralized application (dApp) development on the VeChainThor blockchain. This documentation provides a comprehensive guide to using the Thor DevKit library, including installation, usage instructions, and details about its key features and methods.

An alternative is currently available as a beta release. The VeChain SDK offers enhanced features, improved performance, and better compatibility with the latest developments on the VeChainThor blockchain.

Languages

The Thor DevKit library is available in the following languages:

  • TypeScript

  • Java

  • C#

  • Python

Key Features

The Thor DevKit library offers a wide range of functionalities related to the VeChainThor blockchain and dApp development. Some of the key features include:

  1. Hash Functions and Public Key Cryptography: Thor DevKit provides essential hash functions and public key cryptography methods that are essential for secure blockchain operations. (blake2b256, keccak256, and secp256k)

  2. Accounts Handling: The library offers tools to manage accounts and perform operations related to account management, including private key generation, mnemonic handling, and keystore encryption / decryption. (mnemonics and keystore)

  3. Transactions: Thor DevKit enables users to build, sign, and manipulate transactions to interact with the VeChainThor blockchain. Users can construct transactions with various clauses and gas settings. (transactions and ABI)

  4. Recursive Length Prefix (RLP): The library includes RLP encoding and decoding capabilities, which are essential for efficient data serialisation and deserialisation on the VeChainThor blockchain.

  5. Certificates: Thor DevKit supports the creation and verification of client-side self-signed certificates, enabling secure identification and validation processes.

  6. Bloom filter: The Bloom filter is a highly efficient and space-efficient probabilistic data structure employed to enhance the speed and efficiency of element lookup within a given set. It operates by providing a mechanism to test whether an element is a member of the set, thus offering a valuable tool in numerous applications, including database management, network routing, and caching systems.

Offline Functionality

Thor DevKit serves as an "offline" library, primarily used for dApp development and blockchain-related operations that can be performed offline. For example, users can use Thor DevKit to create and sign transactions offline. However, to broadcast transactions and interact with the blockchain, users will require Connex, which facilitates online blockchain interaction.

License

The GNU Lesser General Public License v3.0 is an open-source license that grants users the freedom to use, modify, and distribute the software under certain conditions. It ensures that users have access to the source code, can make improvements, and distribute their modifications while also preserving the rights of the original authors.

Thor DevKit is licensed under the GNU Lesser General Public License v3.0 (LGPL-3.0). The full text of the license can be found in the LICENSE file included in the .

For more details about the GNU Lesser General Public License v3.0, please visit the .

Thor DevKit
SDK
repository
GNU website