Skip to content

vitelabs/vuilder-docs

Repository files navigation

title description footer aside
Vite Documentation
Zero-Fee Blockchain for the World's Decentralized Economy
newsletter
true

Project Vuilder Documentation

Vite Basics

Ledger Model

  • DAG
  • Account Chain
  • Send / Receive Transaction
  • Snapshot Chain

Consensus

  • SBP / Vote
  • Snapshot (Confirming)
  • Epoch

Cryptography

  • Hash Algorithm
  • Signing
  • Address Derivation

Token Model

  • Token Id
  • Transfer
  • Mint / Burn
  • Reissue

Smart Contract

  • Consensus Group
  • Response Latency
  • Random Degree
  • Library Linking

Quota and Fee

  • Stake for Quota
  • Contract Suspend
  • Contract Creation Fee
  • Dynamic Quota / Global Quota Penalty (Automatic Throttle / Downgrade)

Network and Node

  • Local Network / Testnet / Mainnet
  • Directory Structure (of a local node)
  • Node Configurations
  • Genesis Configurations
  • Debug Logs
  • RPC / IPC
  • Explorer

Solidity++

Solidity++ Fundamentals

  • Request / Response Model
  • Types (address, tti)
  • Sync / Async Functions
  • Callbacks
  • Promise and Await
  • Function Call Options
  • Async Error Propagation (revert / try-catch / panic / refund)
  • Transactional Semantics (non ACID semantics)
  • ABI
  • Global Variables and Members
  • Randomness
  • Inline Assembly

Compiler

  • solppc
  • solppc-js
  • Legacy Compiler (0.4.3)

Vuilder Kit

  • Compilation
  • Deployment
  • Testing
  • Debugging

IDE

  • Installation
  • Coding
  • Debugging
  • Deployment

Know-How

  • ViteVM Instructions
  • How ViteVM Works
  • How solppc Works
  • Invoking and Returning Functions
  • Implementing Await
  • Contract Creation
  • Delegate Calls
  • Quota / Retry / Suspend

SDK

Vite.js

  • Introduction to vite.js
  • Modules: ViteAPI / Wallet / accountBlock / Account
  • Vite Provider
  • Build / Sign / Send / Receive Transactions
  • Deploy Contract
  • Call Contract
  • Query Contract
  • Events
  • Subscription

ViteConnect

  • Introduction to ViteConnect
  • ???
  • ???

Common Patterns

  • A Well-Structured Vite Smart Contract
  • Using Solidity Codes
  • How to Transfer Tokens
  • How to Call Another Contract
  • Using Libraries(OpenZeppelin)

Best Practices

  • Pitfalls
  • Protect Your Contracts From Reentrancy Attacks
  • Error Handling
  • Quota Allocation
  • Random Numbers

A Real-World dApp

  • Project Overview
  • Contracts
  • Testing
  • Deployment
  • Frontend

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •