hyperledger-archives/indy-sdk

How do I add an age to my did

altEr1125 opened this issue · 4 comments

I use this command to add an age to my did -- “ledger schema name= version= attr_names=<attr_names-value> [source_payment_address=<source_payment_address-value>] [fee=] [fees_inputs=<source-1,..,source-n>] [fees_outputs=(,),..,(,)] [extra=] [sign=] [send=] [endorser=]”

But I got this error:
“Transaction author agreement Acceptance Mechanism isn't set.”

I tried using this command to solve:
“ ledger txn-acceptance-mechanisms aml={"Click Agreement":"some description"} version=1”

But I got this error:
“Transaction has been rejected: Not enough TRUSTEE signatures”

I don't know what I should do anymore, I have searched a lot of information but still no solution.
I'm guessing it might be a wrong parameter in the command.As you can see, I am just learning to use this project and I hope you can help me with this.

image

like this

It's the TAA acceptance workflow you want to follow; https://github.com/hyperledger/indy-sdk/blob/master/docs/how-tos/transaction-author-agreement.md#taa-acceptance-workflow.

When using the indy-cli you may find it easier to use the containerized indy-cli included with von-network; https://github.com/bcgov/von-network/blob/main/docs/Indy-CLI.md

The most common acceptance mechanism when using the indy-cli is "for_session" as described here; https://github.com/bcgov/von-network/blob/main/docs/Indy-CLI.md#open-an-interactive-indy-cli-session

Since you are new to all this, you should join Hyperledger Discord where you can ask questions about this and other related projects;https://lists.hyperledger.org/g/media-entertainment-sig/message/263

I would also recommend having a look at https://github.com/Hyperledger/aries-cloudagent-python
and once you join Hyperledger Discord have a look at the pinned messages on the #aries channel for links to other resources and courses. Aries builds on the indy-sdk and abstracts many of the complexities making it easier for you to get started with building applications.

Since you are new to all this, you should join Hyperledger Discord where you can ask questions about this and other related projects;https://lists.hyperledger.org/g/media-entertainment-sig/message/263

I would also recommend having a look at https://github.com/Hyperledger/aries-cloudagent-python and once you join Hyperledger Discord have a look at the pinned messages on the #aries channel for links to other resources and courses. Aries builds on the indy-sdk and abstracts many of the complexities making it easier for you to get started with building applications.

Thank you very much, I solved this problem using von-network and it is indeed easier!
I have joined the Hyperledger Discord and look forward to learning more later