token

command
v0.0.0-...-b3cf803 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2021 License: MIT Imports: 3 Imported by: 0

README

Demonstrates the use of Argument functions on the stub

Test out v4/token

1. Start the environment

<<Terminal#1>> dev-init.sh

source set-env.sh acme

2.0 Setup the chaincode

<<Terminal#2>> set-chain-env.sh -n token -v 1.0 -p token/v4

chain.sh install -p

chain.sh instantiate

3.0 Follow the logs

<<Terminal#1>> cc-logs.sh -f

4.0 Invoke the function

set-chain-env.sh -i '{"args":["func-name"]}' chain.sh invoke

Observe in Terminal #1

5

set-chain-env.sh -i '{"args":["func-name","param-1","param-2"]}' chain.sh invoke

Observe in Terminal #1

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL