Welcome to Nebulas Weekly Report #27, delivering updates and developments on the Nebulas project. This report is maintained by the Nebulas team. Please send feedback to contact@nebulas.io, or tweet us @nebulasio.

LAST WEEK’S News and Reports

The Nebulas Incentive Program Is About to Kick Off

The Nebulas mainnet launched on March 30, 2018. To foster a sustainable and healthy ecosystem, the Nebulas team is committed to encouraging more developers to continue to build more and higher quality decentralized applications (DApps) on the Nebulas mainnet. In the spirit of giving everyone the chance to benefit from the fairness of decentralized collaboration, the Nebulas team is inviting global developers and people who share our values to join the incentive program.

Nebulas Incentive Program is scheduled to start on 0:00, May 7, to 0:00, July 2, 2018, Beijing time. The total prize pool of this event is 460,000 NAS (about 4.6 million USD, according to April 30 prices). Developers who want to participate in blockchain development need only to submit a DApp that runs, has an interface, and does not infringe on the intellectual property rights of others. By satisfying this simple criteria, developers can get a 100% reward.

In addition, every time a developer is referred and successfully builds an application on Nebulas, the referrer will get a reward.

Learn more details here: Implementation Details of Nebulas Incentive Program Season 1

LAST WEEK’S Top Commits

Last week, we completed the development of the major functions of Mainnet 1.0.2 and entered the testing phase. In this version, we have added three new features to smart contracts.

Built-in Function — Date Function

By default, the JavaScript Date function uses the browser system’s time. If you use it directly in a smart contract, it will result in inconsistent results when smart contracts are executed at different times. In previous versions, we blocked Date Function. Now, we provide a stable Date function that will use the block’s Timestamp as the current time for smart contracts.

Built-in Function — Random Function

In the blockchain, the method for developing a fair and verifiable random number is a very difficult problem. A random number generator with sufficient strength is very important for certain scenarios, such as betting, games and other applications. In previous blockchains, only “unpredictable” numbers could be generated by the hash algorithm, lacking verifiable randomness.

Nebulas team obtained inspiration from the VRF (Verifiable Random Function) proposed by the Turing Award winner Silvio Micali, and innovatively used VRF to achieve “verifiable randomness” from “unpredictability”, thereby ensuring fair randomness and laying the foundation for more application scenarios and use cases developable within the Nebulas blockchain.

Default Function — Accept Function

In addition to the initialization function init, we provide another default function Accept for smart contracts. The Accept function will be called when the user initiates a binary transfer to the smart contract account. It can be used as a shortcut for users to execute the smart contract methods.

Learn more about Nebulas:

Official website: Nebulas.io
Github: github.com/nebulasio/go-nebulas
Slack: nebulasio.herokuapp.com
Telegram(EN): t.me/nebulasio
Twitter: @nebulasio