BitShares Forum

Main => General Discussion => Topic started by: furney on February 14, 2015, 05:19:33 am

Title: Setting up new assets
Post by: furney on February 14, 2015, 05:19:33 am
Hi All,

Set up a new asset; copper and would like to have it market pegged can this be done?

My asset is not showing up on my account as well

Please explain precision and public data

How do you initialize the asset

Love some help with setting up this asset

Is there a paper on how to do this?

Thank you  :)
Title: Re: Setting up new assets
Post by: xeroc on February 14, 2015, 12:45:44 pm
See for reference the USD asset:
Quote
(wallet closed) >>> blockchain_get_asset USD
{
  "id": 22,
  "symbol": "USD",
  "name": "United States Dollar",
  "description": "1 United States dollar",
  "public_data": "",
  "issuer_account_id": -2,
  "precision": 10000,
  "registration_date": "2014-07-19T03:18:40",
  "last_update": "2014-07-19T03:18:40",
  "current_share_supply": 4785896346,
  "maximum_share_supply": 1000000000000000,
  "collected_fees": 107782582,
  "flags": 0,
  "issuer_permissions": 4294967295,
  "transaction_fee": 0,
  "market_fee": 10000,
  "authority": {
    "required": 0,
    "owners": []
  },
  "last_proposal_id": 0
}

also hand is the help of the command:
Quote
delegate (locked) >>> help wallet_asset_create
Usage:
wallet_asset_create <symbol> <asset_name> <issuer_name> <description> <maximum_share_supply> <precision> [public_data] [is_market_issued]   Creates a new user issued asset
Creates a new user issued asset

Parameters:
  symbol (asset_symbol, required): the ticker symbol for the new asset
  asset_name (string, required): the name of the asset
  issuer_name (string, required): the name of the issuer of the asset
  description (string, required): a description of the asset
  maximum_share_supply (real_amount, required): the maximum number of shares of the asset
  precision (uint64_t, required): defines where the decimal should be displayed, must be a power of 10
  public_data (json_variant, optional, defaults to null): arbitrary data attached to the asset
  is_market_issued (bool, optional, defaults to false): creation of a new BitAsset that is created by shorting

Returns:
  transaction_record

Note that in order to issue a market-pegged asset you need the flag "[is_market_issued]" to be set to 'true' .. also note that an asset of this type will cost 500k BTS IIRC
Title: Re: Setting up new assets
Post by: furney on February 14, 2015, 11:35:44 pm
Thank you

Way out of my league :)

Just looking for opportunities with no programming skills. LOL