iotaledger / one-click-tangle

"One Click Tangle" intends to make lives easier to IOTA adopters by providing pre-configured scripts and recipes that allow to deploy IOTA Networks and Nodes "in one click".
MIT License
55 stars 36 forks source link

Have identity resolver enabled by default #60

Closed peterokwara closed 2 years ago

peterokwara commented 2 years ago

Description of change

The following pull request enables the IdentityResolver by default. The IdentityResolver helpes resolves DID's and closes #57

Type of change

Choose a type of change, and delete any options that are not relevant.

How the change has been tested

1. The first step was setting up a private-tangle up and running with a short Network ID. Instead of private-tangle as the network name, we have tangle as the network name. This involves changes in several places in the one click tangle.

2. Once the private tangle is running, the next step is to have the explorer up and running. Some things needed to be configured.

3. To test if the identity resolver works, clone the identity.rs repository here https://github.com/iotaledger/identity.rs and we will modify one of the examples. Ensure you have rust installed. Go to the https://github.com/iotaledger/identity.rs/blob/dev/examples/account/create_did.rs file and modify the following lines

Change checklist

Add an x to the boxes that are relevant to your changes, and delete any items that are not.

peterokwara commented 2 years ago

There is a minor bug/warning that shows up that states Selected network does not match DID network when the network name is changed from private-tangle to tangle. Everything still works. It may have something to do with network configuration for the explorer.

jmcanterafonseca-iota commented 2 years ago

TL;DR

It is perfectly possible to use the Private Tangle one click together with IOTA Identity. For convenience purposes the name of the network under the explorer has been changed to tangle. Your IOTA DIDs should be of the form iota:did_:tangle and you will be able to browse your DIDs through the default-enabled identity resolver.