20
votes
Accepted
Can I create a non-fungible token?
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, ...
11
votes
Accepted
How do I use the flag: authorization revocable
Haven't tested it myself, but here is quote form Stellar documentation:
Controlling asset holders
As an anchor, you can mark the issuing account AUTHORIZATION REQUIRED. With this setting, the ...
10
votes
Accepted
How is an asset verified?
I am one of the devs at Stellarport. The verified status means (like you are alluding to) that the domain has verified that it has indeed issued this asset.
For example, any stellar account can issue ...
8
votes
Accepted
How to place time restrictions on assets issued to a persons wallet
You can do this, but you'll have to create one additional account that supports the process (you can merge it with your account later so it shouldn't be a big problem). Let's say the accounts are as ...
8
votes
Accepted
Is it possible to create Stellar Assets that are private?
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 ...
8
votes
Accepted
How does the Stellar Network tell the difference between a newly issued token and a Lumen?
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)
...
7
votes
Accepted
Maximum supply of an Asset
This is fairly straightforward on Stellar, only taking a few steps.
The theory we will take from Stellar's own guide to issuing assets
The practice we can take from Mo's 'hacking-stellar' guide ...
7
votes
Could I apply this token scenario in stellar?
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 ...
6
votes
Can I create a non-fungible token?
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 ...
6
votes
Is it possible to delete assets I've just created?
Disclaimer: Deleting assets can be dangerous since they may hold real value. Once they are deleted it may be impossible to get them back. Please be careful when deleting assets and only do so at your ...
6
votes
Accepted
Is there a library for stellar equivalent to web3js for Ethereum?
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 ...
6
votes
Accepted
Best practice for issuing a new asset and locking an account
There are no specific requirements regarding issuing account locking. It's up to the issuing entity whether to lock account or not. Master key weight can be changed at any time, thus most anchors ...
5
votes
Accepted
How to get trust limit of asset?
Horizon /account/{account} endpoint returns current balances, including trust limit for each asset in the list.
Each balance record looks like the following:
{
"balance": "126.8107491",
"limit": ...
5
votes
Accepted
Can Stellar Assets be transferred to an un-trusting account?
Each account must have a trustline set before they will accept receiving the asset.
When you hold an asset, you must trust the issuer to properly redeem its credit. Since users of Stellar will not ...
5
votes
How to place time restrictions on assets issued to a persons wallet
You can't freeze a specific amount of an asset on the account.
However there is an approach that might help you with your case. I haven't it tried myself, but in theory it should work.
Send 80% of ...
5
votes
Accepted
'op_invalid_limit' error trying to send asset
You can find all possible errors for operations in List of Operations doc.
CHANGE_TRUST_INVALID_LIMIT -3 This operation would drop the limit of this trustline below the amount of the asset the ...
5
votes
Asset not verified
Here is a step-by-step process of the basic asset verification:
Set home_domain field for your asset issuing account. Clients can look up a stellar.toml from this domain.
This should be in the ...
4
votes
Accepted
Uniqueness requirement for asset symbols
Correct. Each asset on the ledger is unique and identified by 3 parameters:
Code
Issuer address
Type (alphanum4 or alphanum12)
XLM itself is a special asset with type native.
4
votes
Accepted
Can different assets on Stellar be associated with one another programmatically?
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 ...
4
votes
Accepted
Asset type is always credit_alphanum12?
I understand you are parsing /accounts/{id} endpoint. A single balance object is of the following form:
{
"balance": "0.0000000",
"limit": "922337203685.4775807",
"asset_type": "...
4
votes
Accepted
Can a token issued on Stellar determine its own transaction fees?
No, it's not possible. The maximum you can do is to control who is allowed to purchase your token with AUTHORIZATION REQUIRED flag.
4
votes
Accepted
Bifrost Ethereum Addresses
Yes, this is correct. When we were designing Bifrost we had two options for Ethereum payments:
Collect payments in a single Ethereum address.
Generate a new address for each payment.
We decided to ...
4
votes
Accepted
Trusting non-native asset distribution
If you want x and y to trust the same asset (not issued by either x or y) then you will need an account a to serve as the issuer account.
If you want to continue to distribute tokens issued by the ...
4
votes
Accepted
How the transaction history of an account including the amounts sent/received in the transaction be viewed using horizon?
Transactions are containers which contain operations.
Operations are what you're looking for.
Try hitting https://horizon-testnet.stellar.org/accounts/...
4
votes
Accepted
Asset with limited inflation
Pre-authorized transactions come with their own signing weights, so as long as they pass the medium threshold you're good to go.
You do need to set them up before locking down the account though, so ...
4
votes
Accepted
Asset endpoint returns 404 on standalone network
Asset stats are disabled by default, you can enable them with ENABLE_ASSET_STATS=true.
3
votes
List all asset holder
There are few options, depends on how are you going to use this information.
Option 1
If you just want to explore your asset holders, use StellarExpert for this purpose. Open all assets dashboard, ...
3
votes
Accepted
How to find all trustees to an asset issuing account?
You'll need to run your own Stellar Core node, or query the third-party node using GraphQL interface.
Information about all trustlines is located in the trustlines table of Core database.
3
votes
Accepted
Do tokens created through Stellar map one-to-one?
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 (...
3
votes
Accepted
Freezing assets in Stellar
Wanted to write a full, updated answer after doing a somewhat "deep dive" into this... not discounting @cesarm's answer at all!
First of all, there was in fact an error in the docs. Note the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
assets × 114token × 21
trustline × 17
accounts × 12
transactions × 11
issuing × 10
horizon × 9
stellar-sdk × 9
wallets × 9
stellar-core × 8
anchor × 7
payments × 6
token-wallet × 6
javascript-sdk × 5
xlm × 5
exchanges × 5
verification × 5
stellar.toml × 4
authorization × 4
operations × 3
stellar-laboratory × 3
multi-sig × 3
compliance × 3
ico × 3
trade × 3