Last active
June 16, 2018 17:17
-
-
Save jt-nti/137a039eb21992136c3f3e54c5c50fa5 to your computer and use it in GitHub Desktop.
Hyperledger Composer command line to add an asset: the power of system transactions!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
composer transaction submit --card admin@basic-sample-network -d '{"$class": "org.hyperledger.composer.system.AddAsset", "targetRegistry": "resource:org.hyperledger.composer.system.AssetRegistry#org.example.basic.SampleAsset", "resources": [{"$class": "org.example.basic.SampleAsset", "assetId": "newAsset", "owner": "resource:org.example.basic.SampleParticipant#bob", "value": "101"}]}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment