Author Topic: [cli_wallet] update_asset - how to use?  (Read 2033 times)

0 Members and 1 Guest are viewing this topic.

Offline monsterer

For anyone struggling with how to use this command, here is a working example:

Code: [Select]
update_asset METAFEES null {"max_supply":"12000000000","market_fee_percent":30,"max_market_fee":"1000000000000000","issuer_permissions":79,"flags":128,"core_exchange_rate":{"base":{"amount":1,"asset_id":"1.3.0"},"quote":{"amount":160,"asset_id":"1.3.472"}}} true
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline roadscape

The wallet pays fees in BTS by default, but the GUI pays for fees using the BitAsset that's being transferred (currently there is no option to pay with BTS from GUI, but it will be implemented).

The thinking is that most future users will not care about core tokens.. they have a wallet with just USD/CNY/EUR in it and pay all fees with that.
http://cryptofresh.com  |  witness: roadscape

Offline monsterer

It's for any asset .. It essentially defines how many asset tokens you have to pay into the fee pool to have the feel pool pay for your transaction in BTS ..

I don't really understand how the feel pool works - why can't the user just pay in BTS?
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
I believe core_exchange_rate is the fee pool exchange rate, and it's used to calculate fees when they are paid in bitassets as opposed to BTS.

Isn't that only for MPAs?

It's for any asset .. It essentially defines how many asset tokens you have to pay into the fee pool to have the feel pool pay for your transaction in BTS ..

Offline monsterer

I believe core_exchange_rate is the fee pool exchange rate, and it's used to calculate fees when they are paid in bitassets as opposed to BTS.

Isn't that only for MPAs?
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline roadscape

I believe core_exchange_rate is the fee pool exchange rate, and it's used to calculate fees when they are paid in bitassets as opposed to BTS.
http://cryptofresh.com  |  witness: roadscape

Offline monsterer

I have an example in the whitelisting part of docs.bitshares.eu/integration ..

Great, thanks :)

Any idea what core_exchange_rate represents?
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
I have an example in the whitelisting part of docs.bitshares.eu/integration ..

Offline monsterer

I'd like to set the market_fee_percent option for a UIA, but looking at the docs, it's unclear how I can do this via the command line (cli_wallet) - is there an example of how to specify the options via command line?
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads