Main Menu

'wallet_asset_create' help

Started by tonyk, August 15, 2014, 01:25:10 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

xeroc

from the help
Quote
wallet_asset_create <symbol> <asset_name> <issuer_name> [description] [data] [maximum_share_supply] [precision] [is_market_issued]

so you need to do like this
Quote
wallet_asset_create "ABC" "alphabet" "myaccount" "description" "{}"  2000000 100000 true

think the 'data' field has to be valid json ... so try "{}"  or without quotes .. just {}

tonyk

Non tech person here. Tried many variants of the command 'wallet_asset_create' .

wallet_asset_create "ABC","ABCShares",acc1,"Real value!","null",2000000,100000,true;

wallet_asset_create 'ABC','ABCShares',acc1,'Real value!',null,2000000,100000,true

wallet_asset_create 'ABC' 'ABCShares' acc1 'Real value!' null 2000000 100000 true


etc.


None seem to work. All lead to the following error:
13 class boost::exception_detail::clone_impl<struct boost::exception_detail::error_info_injector<class boost::bad_lexical_cast> >: bad lexical cast: source type value could not be interpreted as target
bad lexical cast: source type value could not be interpreted as target:  => double
    {"i":"","what":"bad lexical cast: source type value could not be interpreted as target"}
    bitshares  string.cpp:104 fc::to_double

    {"command":"wallet_asset_create"}
    bitshares  cli.cpp:471 bts::cli::detail::cli_impl::execute_command



Can somebody provide example...formatting mainly.

Lack of arbitrage is the problem, isn't it. And this 'should' solves it.