You need Rust 1.60 and docker-compose
installed.
Also please install Nushell to run the helper script:
cargo install nu
Then:
-
Install
iroha_client_cli
:nu run.nu install-client
-
Startup Iroha peers:
docker-compose up
-
Create assets:
nu run.nu create-assets
-
List assets:
nu run.nu list-assets
Expected to see all of the created assets
[
Asset {
id: Id {
definition_id: DefinitionId {
name: "rose",
domain_id: Id {
name: "wonderland",
},
},
account_id: Id {
name: "alice",
domain_id: Id {
name: "wonderland",
},
},
},
value: Quantity(
13,
),
},
]