vite.js

Vite JavaScript SDK

Downloads
3.3K
Stars
53
Committers
13

Bot releases are visible (Hide)

vite.js -

Published by lovelycs over 5 years ago

  1. Add smart tips
  2. Add exchange-func
vite.js -

Published by lovelycs over 5 years ago

2.1.1

Pre-Mainnet

  1. New address type: constract(Affect hdAddr, privToAddr)
  2. Delete all of the snapshotHash and timestamp
  3. The function createContract add params

constant

  1. Quota_Addr = > Pledge_Addr
  2. contractAddrs.Quota => contractAddrs.Pledge
  3. Mint_CancelPledge => CancelMintPledge
  4. Add blockType(SendRefund,GenesisReceive)
  5. Add builtinTxType(SendRefund,GenesisReceive)

addrAccount

  1. Add sendAccountBlock
  2. Add calloffChainContract
  3. Delete getFittestSnapshotHash
  4. Add getTokenInByowner
  5. Add getBlock

client

  1. buildinTxBlock => builtinTxBlock
  2. Add pow
  3. Add testapi
  4. Add callOffChainContract
  5. Add sendTx(the same as old-sendRawTx)
  6. Add sendAutoPowTx
  7. Add sendRawTx (change to send signed accountblock)

HdAccount

  1. constructor addrTotalNum => maxAddrNum
  2. activateAccount add params
  3. Add getAccount

ed25519

  1. keyPair's return value change to { publicKey, privateKey }