-
Notifications
You must be signed in to change notification settings - Fork 188
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
Add scripts to automate the AML and TAA registration and update process #232
Conversation
c5859d6
to
5dab6f4
Compare
With that command, I get an error on a Mac, works on Linux. |
The syntax on Mac is different. It's will be something like:
Would one of you be able to confirm? |
Let me play around with it a bit ... |
This works, I think it automatically picks up the local timezone:
|
It would be nice to be able to specify the actual time offset since the ratification time and the person running the script may not be in the same time zone. |
Signed-off-by: Wade Barnes <wade@neoterictech.ca>
5dab6f4
to
b694731
Compare
Looks like So something like this should work: Expected result is @ianco, would you be able to try this out when you have a moment? |
Works for Mac, not for Linux/gitBash (as expected...). |
Turns out Linux (and Git Bash) can use the "%Y-%m-%dT%H:%M:%S %Z" format without complaint too. So I've updated the script to support Mac and updated the example and docs to use the the "%Y-%m-%dT%H:%M:%S %Z" date format. |
- Add Mac compatible taa ratification timestamp conversion. - Update AML content parsing for Mac Co-authored-by: Ian Costanzo <ian@anon-solutions.ca> Signed-off-by: Wade Barnes <wade@neoterictech.ca>
a48ba04
to
5139d7a
Compare
Code updated based on @ianco's review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added local file ./tmp/cliconfig.json
./manage cli init-pool local_net http://host.docker.internal:9000/genesis
./manage indy-cli create-wallet walletName=local_net_trustee_wallet
./manage apply-taa walletName=local_net_trustee_wallet poolName=local_net useDid=V4SGRU86Z58d6TV7PBUe6f amlUrl='https://raw.githubusercontent.com/wiki/bcgov/bc-vcpedia/(Layer-1)-CANdy-Acceptance-Mechanism-List-(AML).md' amlVersion=0.1 taaUrl='https://raw.githubusercontent.com/wiki/bcgov/bc-vcpedia/(Layer-1)-CANdy-Transaction-Author-Agreement.md' taaVersion=0.1 taaRatificationTime="2022-08-09T11:05:00PDT"
Add scripts to automate the AML and TAA registration and update process
Signed-off-by: Wade Barnes wade@neoterictech.ca