Author Topic: MPA creation questions  (Read 2891 times)

0 Members and 1 Guest are viewing this topic.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Ok, once an MPA is created (And allowed witnesses to provide feeds), how do you interact with the witnesses/committee for a price feed?
I wouldn't recommend to let committee provide a feed for something that is highly volatile because it is a multisig group and 50%+1 need to approve any new feed!
To contact witnesses, there is a telegram group and a channel on the slack. Most of them run a price feed script anyway and could add your asset aswell ..
you need to make crystal clear how the price is derived/obtain though

Offline bitsharesbrazil

  • Sr. Member
  • ****
  • Posts: 243
    • View Profile
I learnd something at this topic. thanks :D
bitcointalk ANN https://bitcointalk.org/index.php?topic=1084460.0
chat, post, promote it!!!!!!!! Stan help to improve OP!

Offline cryptillionaire

  • Full Member
  • ***
  • Posts: 153
    • View Profile
Quote
How do price feeds work for newly created market pegged assets? Do I need to approach the committee's or witnesses to get them to publish feeds or request support in price feed scripts (on github)?
You have three choices:
* let the witnesses,
* the committee-members, or
* a custom list of users
produce the price feed.
Ok, once an MPA is created (And allowed witnesses to provide feeds), how do you interact with the witnesses/committee for a price feed?

Thanks :)

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
./chain/include/graphene/chain/config.hpp   
Code: [Select]
GRAPHENE_MAX_SHARE_SUPPLY int64_t(1000000000000000ll)

If you reduce 8 digits for the precision, you can only use the rest for the other digits ..

Offline cryptillionaire

  • Full Member
  • ***
  • Posts: 153
    • View Profile
Thanks for responding, xeroc.

What is the max supply for an MPA? I seem to be limited to 10 million with a decimal precision of 8

I've only been able to find this in the documentation:

Quote
share_type max_supply
The maximum supply of this asset which may exist at any given time. This can be as large as GRAPHENE_MAX_SHARE_SUPPLY

I've been unable to find the value of GRAPHENE_MAX_SHARE_SUPPLY

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Is there a naming convention that I should follow for market pegged assets? Say I want to create a new MPA for an alt, would you call it 'altcoin' 'bitaltcoin' etc?
This is a free blockchain, you can use almost any name you want. There
are some "restrictions", namely:
- short names/symbols are more expensive
- symbol names cannot start with "bit"
- a dot "." defines a "child"-asset.
- I think you can only use latin characters for symbol names

Quote
Think just calling it 'altcoin' would create confusion for users when requesting payment? Specifying bit<altcoin> emphasises that it's a different token from the actual altcoin.
The "bit" is actually added by the GUI, it's not called that way on the
blockchain. You can setup a new wallet and have it presented in your
preferred way.

Quote
How do price feeds work for newly created market pegged assets? Do I need to approach the committee's or witnesses to get them to publish feeds or request support in price feed scripts (on github)?
You have three choices:
* let the witnesses,
* the committee-members, or
* a custom list of users
produce the price feed.

All of these options can be changed on the fly:
http://docs.bitshares.eu/bitshares/tutorials/mpa-create-manual.html

Also take a look at:
http://docs.bitshares.eu/bitshares/user/mpa.html
http://docs.bitshares.eu/bitshares/user/assets-faq.html


Quote
The minimum price feeds field - is that the quantity of sources of price data or just the quantity of witnesses/committees providing a price feed to the MPA?
The minumum amount of accounts that need to provide a feed in the given
interval. If that is not the case, the feed is invalid and no
margincalls/settlements will be executed. Trading is still possible ..
not sure about borrowing...

Quote
If I don't enable market fees, do I need to cover the transaction fees with a fee pool that I pay to maintain? Or are the MPA's transactions 100% free?
Fee pool is independent of market fees. You can use the fee pool and
thus offer your customers the option to pay fees in your native asset
(via fee pool) .. or you let your fee pool go to 0 and everyone using
your asset needs to pay fees in BTS.

Note, that half of the asset creation fee is used for initial funding of
the asset fee pool.

Offline cryptillionaire

  • Full Member
  • ***
  • Posts: 153
    • View Profile
Hey,

I've got some questions regarding the creation of a new market pegged asset:

Is there a naming convention that I should follow for market pegged assets? Say I want to create a new MPA for an alt, would you call it 'altcoin' 'bitaltcoin' etc?

Think just calling it 'altcoin' would create confusion for users when requesting payment? Specifying bit<altcoin> emphasises that it's a different token from the actual altcoin.

How do price feeds work for newly created market pegged assets? Do I need to approach the committee's or witnesses to get them to publish feeds or request support in price feed scripts (on github)?

The minimum price feeds field - is that the quantity of sources of price data or just the quantity of witnesses/committees providing a price feed to the MPA?

If I don't enable market fees, do I need to cover the transaction fees with a fee pool that I pay to maintain? Or are the MPA's transactions 100% free?
« Last Edit: June 22, 2016, 04:08:39 pm by cryptillionaire »