The asset system has been released in it's prealpha testnet version. The code is available in the assets branch:https://github.com/arionum/node/tree/assets
The use cases i've previously described are all valid under the current implementation.
During the testnet, only the cli wallet has been updated with the asset functionality. The reference can be seen here https://github.com/arionum/lightWalletCLI
Basic functionality: An asset is created by transforming it's wallet into the asset wallet. It has the following settings which are immutable:
max supply [>0] - If the max supply is set from the start , it should be written here. It cannot be changed if it's set from the start. Leaving it 0 will make it an inflatable asset, which would allow the generation of units at a later date [up to 1 billion].
tradable [yes/no] - If this asset should be sellable / buyable on the blockchain market. The blockchain market is a DEX which allows the exchange of asset for aro.
price [>0] - If a price is set, the original asset wallet can only sell it at a specific price. Everyone else can sell at any price. The price is especially meant as a protection for the people who acquire the asset. For example, a shared masternode asset should not be able to sell its units cheaper and devalue the original buyers.
dividend-only [yes/no] - This option ensures the asset wallet can only distribute its aro as dividends to all asset holders. It cannot send the coins directly.
autodividend [yes/no] - Every 10000 blocks, the wallet balance is distributed automatically to all asset holders
allow-bid [yes/no] - Allow this asset wallet to buy other assets on the market. This might be needed with the dividend-only option, to remove a loophole.
For the start, we'll be using the big and long ID for the asset, but in the future the wallets will also show the alias which will probably be simpler for the users to use.
For sure there are bugs and some things will change by the time we exit the testnet, please test and report to me any bugs you've found.
The documentation is scarce, but we'll work on improving it in the next weeks.
We have also launched the public testnet. You're welcome to join with your own testnet nodes if you wish. You will need to peer manually with: php util.php peer http://testnet.arionum.com/
The public testnet can be accessed at http://testnet.arionum.com/
The latest CLI wallet can be set in testnet mode by creating a .testnet file in the same folder.
Currently the testnet should only be used with the original php poc miner https://github.com/arionum/miner
There's a miner running and blocks are generated every 1 minute on the testnet.
There is also a faucet available to allow you to get testnet coins: http://testnet.arionum.com/faucet.php
We use a recent snapshot as a basis for the testnet, but please do not use it with real wallets. Always generate a burnable wallet just for testnet.
For any questions, please write in the #asset-system channel on Discord: https://discordapp.com/invite/ZkrFqt4
2 posts • Page 1 of 1