Introduction
In go-nebulas v1.0.2 release, we bring several exciting features for smart contract and perfect our RPC interfaces.
Change details
New features
- Added support for
Date
object, returns timestamp of current block in milliseconds. - Added support for
Math.random
, used to generate verifiable pseudorandom number. - Added
accept
function, make it possible to send a binary transfer to contract address.
RPC improvement
- Added a new API for querying transaction by contract address.
- Contract execution result will be included in transaction response now.
- All
Blockchain.transfer
events will be recorded now. - Refined several interfaces' result.
Others
- Stability and security enhancement.