My A1 build was appearing to hang when I ran it from python in a command process script.
Finally I decided to try running it interactively myself in the CLI.
[email protected]:~/go/src/github.com/tokenized/smart-contract$ source ./conf/service-envs/covid19greenlight_cli.env && go run ./cmd/smartcontract/main.go build A1 ./covid19greenlight_asset_definition_SHC2.json --tx
How many voting systems are in the contract: 1
Checking Asset Definition
2020/06/09 17:22:50.933181 [Main] wallet.go:161 Info - Loaded wallet with 0 outputs, 0 unspent, and balance of 0.00000000
2020/06/09 17:22:50.933299 [Main] wallet.go:164 Info - Wallet address : 16GgqN2sWSTZAZobNkR6uLVUUmD8LnnSPM
2020/06/09 17:22:50.933330 [Main] node.go:114 Info - Contract address : 1QAinrbEfjv46jdpwZcqc1nB4tWH9AE8in
Response estimated : 324 bytes, 1546 funding
Insufficient balance for tx fee 0.00000096 : balance 0.00000000
VotingSystems is not in the Example on page 15 in Tokenized-smart-contract-agent-setup-final.pdf:
This is the layout of my JSON file:
“TransfersPermitted” : true,
“EnforcementOrdersPermitted” : true,
“VotingRights” : true,
“TokenQty” : 5,
“AssetType” : “SHC”,
So I believe there is no problem with Build- it only blocked since I was trying to automate the CLI
call in a python command process.
SO WHAT SHOULD I SPECIFY FOR VOTINGSYSTEMS AS A DON’T CARE VALUE OR
A GOOD DEFAULT VALUE?