Navigation

    Vite Forum
    • Register
    • Login
    • Search
    • Unsolved
    • Solved
    • Recent
    • Tags
    • Popular
    • Groups
    • Github
    1. Home
    2. Allen
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Allen

    @Allen

    76
    Reputation
    77
    Posts
    405
    Profile views
    9
    Followers
    0
    Following
    Joined Last Online

    Allen Follow

    Best posts made by Allen

    • [Important] Smart Contract Now Enabled on Vite TestNet

      We are excited to announce just at 04:02:15 (UTC+8), Jan 18, 2019, a scheduled hard fork, named "Smart Fork", was successfully completed on Vite TestNet. This is a major milestone. In this fork, Vite TestNet enables the capability of deploying and calling smart contracts. Please kindly remember to upgrade your gvite version to v1.2.2 or above.

      Smart contract is the essential technology of public blockchain. It is so important that most public chain projects would rather wait until the launch of MainNet to enable smart contracts. Vite's mission has always been to create a public blockchain that can be used in real cases. In order to make the TestNet more productive and prepare for launching a more robust MainNet, we believe that turning on smart contract in Vite TestNet both fulfills Vite's original commitment and provides benefits to users. As the first DAG based public chain that successfully implements smart contracts in the world, dApp developers will be able to experience a faster, more secure and easy-to-use decentralized application platform with Vite than ever before.

      What is Smart Contract?

      The term “Smart Contract” dates back at least to 1995 and was proposed by American computer scientist and cross-disciplinary legal scholar Nick Szabo. He described a smart contract as "a set of promises, specified in digital form, including protocols within which the parties perform on these promises". Another useful working definition given by Investopedia is "Smart contracts are self-executing contracts with the terms of the agreement between buyer and seller being directly written into lines of code". From the perspective of Vite, smart contracts are more reliable constraints in public chain ecosystem than real-world contracts.

      What is Asynchronous Smart Contract?

      Cross-contract calls in Ethereum are represented as function calls, or internal transactions. This set of calls are either completed at the same time or all fail. Obviously, this sort of atomic ACID semantic could become a performance bottleneck in system. For example, the speed of contract execution dramatically affects the time of block generation and the contract execution concurrency that blockchain can support with limited fault tolerance. To tackle the issue, Vite adopts an asynchronous, message-driven architecture on the basis of known solution of centralized Internet technology. Smart contracts in Vite won't share states but communicate with each other via messaging. This is unique to Vite's smart contract mechanism.

      Asynchronous Scheme

      The life cycle of a transaction includes: transaction initiation, transaction writing and transaction confirmation. In order to improve system performance, all the three steps need to be designed in asynchronous mode. This is because the number of user-initiated transactions is different at various times, while the speed at which the system processes transaction writes or confirmations is relatively fixed. Asynchronous mode helps to smooth peaks and valleys, thereby increasing the overall throughput of the system.

      The asynchronous model of Bitcoin and Ethereum is relatively simple. They put all user-initiated transactions into an unconfirmed transaction pool. Whenever the miner packs them into a block, the transactions are simultaneously written and confirmed. As the blockchain continues to grow, transactions eventually reach a preset confirmation confidence. Obviously, there are two problems with this asynchronous model.

      • Unconfirmed transactions are not persisted to ledger. They haven't participated in consensus process and therefore are unstable. There is no way to prevent transactions from being sent repeatedly.

      • The two processes of writing transactions and confirming transactions are performed in sequence, and therefore inefficient. Transaction is only written to ledger when it is confirmed. Writing speed is subject to confirmation speed.

      Vite establishes a more complete asynchronous model in protocol. First, a transaction is split into a transaction pair based on the "request-response" model. Whether it is transfer or contract call, once the request transaction is written to ledger, the transaction is regarded as initiated successfully. In addition, transaction writing and transaction confirmation is also asynchronous. A transaction can be written to Vite's DAG ledger and will not be blocked by confirmation process, which is done through snapshot chain asynchronously. This is a typical "producer-consumer" model - regardless of the production rate of transactions, consumer can always digest at a constant rate, making full use of platform resources and improving throughput of the system.

      The biggest characteristic of asynchronous smart contract is that the inter-contract calls are asynchronous. Synchronous smart contracts will block until results are returned during inter-contract communication, while asynchronous calls return directly without waiting for the result of cross-contract execution. Apparently, the waiting time in synchronous contract call can be utilized for other arrangement in asynchronous execution, making asynchronous contract faster.

      Cost of Smart Contract

      • Cost
        In Vite TestNet, creating a smart contract consumes 10 VITE, which will be destroyed.
      • Quota
        The quota for contract creation request transaction is supplied by contract creator while the quota for contract creation response transaction comes from the destruction of VITE. In the TestNet, destroying 10 VITE to create a smart contract will receive a quota of up to 1000000, specifically for contract creation purpose. Similar to contract creation, contract execution consumes quota as well. The contract request transaction and the contract response transaction consume the quota of transaction initiator and contract account respectively.
      • Quota Acquisition
        In the TestNet, contract account can only obtain quota by staking. If a contract account does not have sufficient quota, the delegated consensus group will not package any transaction for this contract, so the contract provider should always stake adequate Vite tokens for it.

      Smart Contract Language

      Ethereum provides Solidity, a Turing-complete programming language for developing smart contracts. To support asynchronous semantics, Vite extends Solidity and defines a set of syntax for message communication. The extended Solidity in Vite is called Solidity++.

      Solidity++ supports most of Solidity's syntax, but will no longer support synchronous function calls between contracts. Developers can define messages through "message" keyword and define message handlers via "onMessage" keyword to enable cross-contract communication. Messages in Solidity++ are compiled into CALL instructions. As a result, a request transaction is generated and appended to Vite's ledger, which plays a key role as message middleware for asynchronous communication between contracts, ensuring reliable storage of messages and preventing duplication.

      See https://vite.wiki/tutorial/contract/contract.html for detailed technical documentation to learn Vite smart contract.

      We sincerely invite world-wide dApp developers/programmers to build smart contracts on Vite. Let's create a rich library of contracts and build a strong Vite ecosystem together.

      posted in Announcements
      Allen
      Allen
    • Vite Android Wallet Release Announcement

      We are excited to announce that Vite Android Wallet is finally released! Go ahead to download the wallet at app.vite.net and start using it with your Android smartphone from today!

      Landing tab

      Vite Android Wallet currently supports the following features:

      1. Account registration and login in.

      2. Token assets sending and receiving.

      3. Mnemonic and addresses management. Being capable of generating multiple wallet addresses from the mnemonic.

      4. Historical transaction list.

      5. Quota acquisition.

      6. Links to Vite Rewards Enquiry and Vite official forum, etc.

      User tab

      Voting for supernodes is temporarily unavailable in this version. Please visit our web wallet(https://wallet.vite.net/) if you have such demand.

      We will select 100 volunteers to participate in Android wallet test rewards program. Any accepted feedback will get at least 5000VCP!

      posted in Announcements
      Allen
      Allen
    • Vite Pre-Mainnet 3rd Hard Fork Notice

      A new pre-planned Vite Pre-Mainnet hardfork, “STEM”, has been scheduled at height 8403110(approximately 14:00 August 30 Beijing time) to take place.

      The following features are added in the hardfork.

      1. Capability of placing/cancelling orders via delegation.
      2. Super VIP membership. Stake and then enjoy zero trading fee! (Additional operator fee cannot be exempted)

      All SBPs and full nodes are required to install gvite software version 2.5 and finish upgrade before 14:00 August 30 (Beijing time).

      Gvite v2.5.1 download link: https://github.com/vitelabs/go-vite/releases/tag/v2.5.1

      posted in Announcements
      Allen
      Allen
    • RE: Full Node Incentive Program Launches December 13th!

      For those who want to earn rewards from a home Windows PC: https://snapsecure.network/run-a-full-node-today-and-earn-vite-rewards-daily
      A good article from @plasmo

      posted in Announcements
      Allen
      Allen
    • RE: Does Vite support Crosschain? How?

      As described in the white paper, the cross-chain function in Vite will support asset transfer through cross-chain gateway. For every target chain, there is a gateway for this purpose. The gateway will listen to the transactions on both chains. If this is a Bitcoin gateway and someone wants to transfer 1 BTC to Vite, he should send the BTC to Bitcoin gateway first, once the gateway discovers the transaction it would wait a certain time for confirmation and then send 1 BTC to the person's Vite address, and vice versa.
      Cross-chain smart contract call is not supported at this time.

      posted in Questions
      Allen
      Allen
    • IMPORTANT NOTICE

      Vite airdrop and referral program has been temporarily closed for maintenance at 9 AM PST today (June 7) due to malicious attacks.

      The team is currently working on the issue and an update will be provided in a further announcement.

      Vite Labs thanks you for your understanding and apologizes for the inconvenience!

      posted in Announcements
      Allen
      Allen
    • RE: [SBP Proposal] SwissVite.org — 19-12-2018 —  SwissVite contributions summary

      I like the content. Looks very detailed. Please continue this great effort!

      posted in SBP Proposals
      Allen
      Allen
    • RE: UPNP support for vite node

      Normally, this wouldn't be a big problem as long as your node has connected to a bunch of peers - it could be worse if peers are few. Is there a firewall? If so you should configure to expose the ports.
      You can configure the NAT manually on your VM.

      posted in Support
      Allen
      Allen
    • RE: How the snapshot blockchain can be much more lightweight than Bitcoin?

      Well, a transaction usually contains more information than sender, receiver and amount. If you send a transaction, you have to sign it with your private key, so there is a signature. Also, if this is Bitcoin, you still have to attach a script with your public key so others can verify the transaction. In addition, some other information such as miner fee has to be put into the transaction as well. Furthermore, in Bitcoin, a transaction may include multiple UTXOs other than a single account address, requiring more space to store.

      Vite's snapshot block only contains "updated" states, making it lightweight apparently.

      For the empty block you mentioned, Bitcoin will have the same situation if there is no transaction to package when a miner builds a block.

      posted in Questions
      Allen
      Allen
    • RE: Vite Android Wallet Release Announcement

      @felicity Can you write down your phone's model/type and the OS version if your installation failed?

      posted in Announcements
      Allen
      Allen

    Latest posts made by Allen

    • RE: Syncing stuck, failed to read cache xxxxxx

      Looks like your local ledger went into an illegal fork. Stop the node first. Try to delete some blocks (around 100-200) by running gvite recover --del=[TARGET_HEIGHT], then restart the node.

      posted in Support
      Allen
      Allen
    • RE: Vite Developer Committee

      DECLARATION OF CANDIDACY

      Name: Allen Liu

      Discord username: Allen

      Telegram username: @allenvit

      How long you've been with Vite community: Since July 2018

      Why you are interested in becoming a member of the Vite Developer Committee: As the engineering head in Vite Labs, I cannot be missing such a great event. lol

      What contribution you will be able to bring to this committee: Technical orientations. Help to align the development efforts with the business needs of the Vite ecosystem.

      Other information about you : I am open minded to great ideas. Shoot them in the committee meetings and let us discuss.

      posted in Tech
      Allen
      Allen
    • How to vote for SBP and earn voting rewards

      Open Vite app > press on VITE >>Vote>>>choose the SBP and press vote (close run POW message, which should appear on upper blue window successfully voted)

      vote.png

      Which SBP gives daily rewards?
      Remember only those SBP gives rewards, it may change any time.
      List of SBP that gives rewards: N4Q, v666fun, vite.NO1, BeautyVite, N4Y, SwissVite.org, vite.bi23, Elegance Vite

      These are some of the examples done by Oleg Vite CM Lead
      you can follow Oleg on twitter for daily updates

      https://twitter.com/olegenthusiast/status/1264307960794267648?s=21, rewards for 1000 VITE.
      The more VITE you have in your wallet the higher rewards you get.
      The number of total votes effect. The higher number of total votes the smaller rewards you will get, total rewards shared to all voters.

      Now vote and earn!

      posted in General
      Allen
      Allen
    • Updated List of SBP Who Pay Vite Voters

      sbplist.jpg
      At Vite, voting for SBP is one of the most important methods to earn VITE. Unlike the other means, voting does not lock your assets and is easy to operate. By September 8, 2020, there are a total of 114,172,380 VITE coins voted for the 37 SBPs in the Vite MainNet, taking more than 10% of the total supply, approximately 20% of the circulating supply.

      However, not all the SBPs pay voting rewards to their supporters, and not every SBP pays the same. Since the list will be updated from time to time, it’s necessary to watch the latest list of SBP with rewards to achieve the best ROI for your investment.

      As of September 29, the following SBPs pay voting rewards (in alphabetical order). Please be kindly noted we don’t provide ROI details. You should reach out to the SBP (they usually have representatives in our Telegram groups) or ask the group admin to get the latest payback rate.

      • Elegance.Vite

      • N4Q.org

      • N4Y

      • SwissVite.org

      • vite.bi23

      • vite.NO1

      • V666.fun

      Thanks to the above SBPs and all Vite voters. You do contribute to the notable decentralization of Vite!

      posted in SBP List
      Allen
      Allen
    • RE: To Solve the Problem of GRIN Withdrawal to Vite/ViteX wallet

      Vite Android multi-chain wallet will support GRIN (native) soon. Please stay tuned. At this moment, if you just want to store your GRIN coins in a mobile wallet (not for trade), you can choose Vite iOS wallet.

      posted in Vite Wallet
      Allen
      Allen
    • RE: Can't get HTTP address for GRIN

      @rickhartmanii If you canceled the deposit, your coins will stay at Kucoin. Ask the exchange to refresh their Grin wallat status to have the coins reflected in your Kucoin account. In nature, Grin doesn't have a auto-check function if you cancelled some tx in the middle. You must do manual check in the wallet, no matter it is Vite wallet or any other Grin wallet.

      posted in Questions
      Allen
      Allen
    • RE: Can't get HTTP address for GRIN

      Just to clarify: Vite iOS wallet DOES support GRIN HTTP transfers. If you cannot see the address in your Vite iOS wallet, please refresh the wallet (very likely to be a connection issue)

      posted in Questions
      Allen
      Allen
    • RE: GRIN not getting confirmed

      @parishollow said in GRIN not getting confirmed:

      Poloniex

      Poloniex's customer service made a mistake. Vite Android wallet doesn't support GRIN yet but Vite iOS wallet does. If you can see your HTTP address, your wallet is ready to receive GRIN. For the recent issues of transferring GRIN from Poloniex to Vite wallet, we've found the txs were received but not confirmed. (Usually you need have 10 confirmations but in these cases we see 0). The issue may result from post failure of tx receipt at the exchange.

      posted in Questions
      Allen
      Allen
    • Vite Pre-Mainnet 3rd Hard Fork Notice

      A new pre-planned Vite Pre-Mainnet hardfork, “STEM”, has been scheduled at height 8403110(approximately 14:00 August 30 Beijing time) to take place.

      The following features are added in the hardfork.

      1. Capability of placing/cancelling orders via delegation.
      2. Super VIP membership. Stake and then enjoy zero trading fee! (Additional operator fee cannot be exempted)

      All SBPs and full nodes are required to install gvite software version 2.5 and finish upgrade before 14:00 August 30 (Beijing time).

      Gvite v2.5.1 download link: https://github.com/vitelabs/go-vite/releases/tag/v2.5.1

      posted in Announcements
      Allen
      Allen
    • RE: password

      You don't need to recover your password - no one can. Just re-import your 12 phrases and generate a new account. You will have the same Vite address.

      posted in Support
      Allen
      Allen