Hot answers tagged

19

Yes. You will have to create a separate asset for each item (kitty/land/area). The key part is that you currently can't change number of decimal places for assets on Stellar which are, by default, divisible to 7 decimal places. If you want your asset to be non-divisible, 0.0000001 of your asset will represent a single item. You will have to present it ...


17

It's explained in Issuing Assets article in developer's portal. The process looks like this: Create an issuing account (let's call it account A) From any other account (let's call it B) create a trust line by sending change_trust operation. The asset value should have the code of the asset you want to issue (ex. TOKEN) and issuer should be equal the ...


13

This is possible according to the stellar blog: Inflate token supply in a predefined schedule using pre-authorized transactions Issue a dividend In step 1, an issuing account is created. This is the account that can create tokens and send them out. But, notice in the end of the article (step 6) they lock the account, so that the supply is limited. If you ...


13

Tokens are "stored" in the ledger not in a wallet. You can use a wallet to manage and transfer them with a better UI. In stellar terms your tokens are Assets. They begin to "exist" on the ledger when somebody trusts the issuer who "created" them by setting a trustline first and then they receive a payment with that asset type. It's all about trust. You ...


11

Most wallets support all functions needed for the token creation and distribution. The process is really straightforward. Create two account keypairs: the issuing and holder accounts. Fund both accounts, send 1.5 XLM to issuing account and 3 XLM to the holder account. Login to the holder account from any wallet and create a trustline to your issuing ...


10

To freeze a custom asset you can send it to the other account and remove signers of the destination account (set master weight to 0). To burn a custom asset so it's not taken into account when calculating a circulating supply you can send it back to the issuer account of the asset.


8

Yes. (See the Stellar website below.) And if you don't set an offer it will not be listed on sdex. I don't know what this means... You are the only one who can issue the asset so you are in full control of the "inflation". Issuing Assets | Stellar Developer Requiring or Revoking Authorization Accounts have several flags related to issuing assets. ...


7

Assets in Stellar network are represented as a pair that consists of: the code of the asset (ex. MOBI) the issuer account of the asset (ex. GA6HCMBLTZS5VYYBCATRBRZ3BZJMAFUDKYYF6AH6MVCMGWMRDNSWJPIH) Everyone can issue MOBI token from another account but the issuer part of the asset will be different. More info Assets Distributed exchange Issuing assets


7

Sure, it's possible. You'll need to setup your own server with database and pretty straight-forward logic. Setup listening to All Payments endpoint in streaming mode. In that way you can monitor all transactions on the network 24/7. Once the payment notification is received, just check the transferred asset. If it's not a "Bonus Token", just ignore the ...


6

If you want to write a Stellar-powered solution, start with Stellar Development Guides. All tasks from your list are very basic and all of them are described in the documentation, so without any doubts you will be able to implement your case. Just copy-paste a few blocks of code from docs, change some constants here and there (like token name or issuing ...


6

Short answer: right now it's not possible as the way assets are represented is done using trust lines that by design don't distinguish between tokens. Convoluted answer: you could do it by issuing an asset per unique token (and you would issue only 1 of each). From a data set point of view it's workable (you would use the ASSET_TYPE_CREDIT_ALPHANUM12 asset ...


5

When you add a trust line, the minimum required balance of the account increases by 1 x base reserve. In order to hold a trust line in your new account, it would need a balance of 1.5 XLM. From the documentation on minimum account balance: All Stellar accounts must maintain a minimum balance of lumens. Any transaction that would reduce an account’s balance ...


4

Assets are related to each through offers on the DEX. If you make two standing offers to openly trade a pair of assets in both directions to set the trading value between them, then that relationship will stand so long as those offers exist. Others might make different offers at wildly varying relationships, which won't change the presence or value set on ...


4

I created the following to help understand this.


4

https://stellar.army - see second tab. The code is also opensourced, see the github link on top right.


3

No. New tokens on Stellar are created through adding a trustline with a Change Trust operation. You can set up as many trustlines as you want so long as you fulfil the minimum account balance (basically (2+x) * base reserve), and each trustline is affiliated with one issuer account ID; there is no one-to-one mapping between Stellar native currency and ...


3

Technically you don't have to, although having 6 accounts for different distribution phase may be a better option if there is a need for different signatories per phase.


3

No, it's not possible. The maximum you can do is to control who is allowed to purchase your token with AUTHORIZATION REQUIRED flag.


3

This happens when there are unused signatures attached to the transaction. One scenario is when you have multiple signers and one signature with enough weight to process the transaction + plus another signature with extra weight (Which is not required) for reference https://www.stellar.org/developers/guides/concepts/transactions.html


3

Deploy your own Stellar Core node. Query trustlines table of the underlying database directly to retrieve a list of your asset holders and the amount they hold. Split the list in batches, 100 accounts per batch. For each batch create a transaction, add 100 payment operations (pay dividends to to every holder). Submit the transaction to the network. Rinse and ...


3

No, there's no support for indivisible units in Stellar.


3

Nobody is rewarded for validating transactions. All transactions are equal, regardless of the assets involved. Anchors do not validate transactions. Validation is done by validating nodes. People decide to run a validating node if they obtain business advantages from doing so. Anchors are entities (accounts) that bridge off-network value to tokens ...


2

There is an operation called createAccount, and it's used to activate accounts with a starting balance. In fact all friendbot does is exactly what you are saying (it has a base account with a large balance and it does createAccount with 10000 lumens). https://stellar.github.io/js-stellar-sdk/Operation.html#.createAccount Here's some sample code: const ...


2

Freezing Assets can also be done by revoke authorization, if you are the issuer and not in control over the account holding the asset .. read the chapter Requiring or Revoking Authorization https://www.stellar.org/developers/guides/issuing-assets.html


2

The issuing account doesn't actually need anything other than the normal 1 XLM, but any wallet that is going to hold your token will have to add a trust line, and doing that will increase its minimum balance by the base reserve amount (currently 0.5 XLM). So a Lumen-only wallet has a minimum balance of 1 XLM, but a wallet with your token would need 1.5 XLM.


2

The fee is per-operation, soyes you can put 100 'payment' operation inside a transaction, each one with its own recipient, but you will still pay a 100 stroops fee (0.003$ at that time). This feature is more about validating a bunch at operation at once, versus having to wait for the next ledger close (~5s) for each operation. What you may need is ...


2

First, issue your tokens. Create an offer on the Stellar decentralized exchange, so users will be able to buy the token directly from you for Stellar lumens. You can also integrate some third party crypto payments processor to be able to receive payments in BTC, ETH, LTC, XRP, XMR etc. In this case you will be responsible for creating Stellar accounts for ...


2

Steps taken from stellarterm github, you need to follow these steps https://github.com/stellarterm/stellarterm/tree/master/directory#first-show-that-you-have-9-things-needed Fork the repo to your own account Add an anchor+asset in the directory.js Add a trading pair in the correct section While inside the directory folder, run ./checkBuild.sh Check in all ...


2

You can read more information about how to get listed on StellarTerm from their Github https://github.com/stellarterm/stellarterm/tree/master/directory


2

Maximum asset amount an account can hold is determined by the particular trustline settings and may be up to 922,337,203,685. Total asset supply is unlimited.


Only top voted, non community-wiki answers of a minimum length are eligible