-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
soroban-cli: refers to 'stellar asset contract' as 'token' #934
Comments
There could definitely be some confusion with the terminology surrounding Of course, the help text would need to be updated to be clearer as well. Open to discussion on this. |
I'd suggest modifying these commands to be:
cc @willemneal for input. Note that the following issue will result in the contents of this XDR command being replaced, so we don't need to spend much effort on that: |
@leighmcculloch I'm all for this change. Just wondering if it's best under the |
I think you're right. In fact we don't even need unique commands for these. In the future there will be other built in contracts, so we should present this in a way that the sac is just another contract type, one of many, that can be deployed. Maybe:
The id command for that gives the user a contract is for a given asset would be useful for any contract too. So maybe that could be separate command:
|
Remove lab, rename token to asset. Please comment on this for your thoughts. |
At minimum, and rename wrap to deploy. |
What version are you using?
9615897
What did you do?
What did you expect to see?
Instructions about deploying and interacting with a stellar asset contract for a stellar asset.
What did you see instead?
Discussion
Quite a few releases ago we stopped referring to the stellar asset contract as the token contract.
There are two distinct but related concepts in Soroban:
The stellar asset contract implements the token interface for all stellar assets.
Contract developers can create their own contracts that implement the token interface.
The CLI provides a confusing interface because it mixes this terminology, and uses terms that don't exactly parallel the XDR or SDK. We should make these things more consistent.
A few issues:
The text was updated successfully, but these errors were encountered: