hyperledger-archives / indy-sdk

indy-sdk
https://wiki.hyperledger.org/display/indy
Apache License 2.0
669 stars 736 forks source link

How do I add an age to my did #2498

Closed altEr1125 closed 2 years ago

altEr1125 commented 2 years ago

I use this command to add an age to my did -- “ledger schema name= version= attr_names= [source_payment_address=] [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.

altEr1125 commented 2 years ago
image

like this

WadeBarnes commented 2 years ago

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

WadeBarnes commented 2 years ago

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.

altEr1125 commented 2 years ago

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