Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1045 from iotaledger/dev
- Loading branch information
Showing
533 changed files
with
29,963 additions
and
18,459 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Official Discord | ||
- name: Official IOTA Discord | ||
url: https://discord.iota.org/ | ||
about: Contact the maintainers by joining the official Discord. Look for the channel #identity-discussion. | ||
about: "Contact the maintainers by joining the #identity channel on the IOTA Discord." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: 'private-tangle-setup' | ||
description: 'Setup a private tangle' | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Setup private tangle | ||
shell: bash | ||
run: | | ||
# TODO: use next lines when a working hornet release is published | ||
# # Download the private_tangle setup from the hornet repo. | ||
# mkdir private_tangle | ||
# cd private_tangle | ||
# # Use the output of https://api.github.com/repos/iotaledger/hornet/releases/latest once there's a 2.0 Hornet release. | ||
# DOWNLOAD_URL=$(curl "https://api.github.com/repos/iotaledger/hornet/releases" | jq -r '.[0].assets[] | select(.name | contains("private_tangle")) | .browser_download_url') | ||
# echo "Downloading private tangle from $DOWNLOAD_URL" | ||
# curl -L -o private_tangle.tar.gz $DOWNLOAD_URL | ||
# tar -xf private_tangle.tar.gz | ||
# TODO: remove next lines when a working hornet release is published | ||
git clone https://github.com/iotaledger/hornet.git | ||
cd hornet/private_tangle | ||
# Set minPoWScore = 1 since the default (0) doesn't work with wasm_miner.rs in iota.rs currently. | ||
jq '.minPoWScore = $val' --argjson val 1 protocol_parameters.json > tmp.json && mv tmp.json protocol_parameters.json | ||
jq --color-output . protocol_parameters.json | ||
# Manipulate and print config | ||
jq '.restAPI.pow.enabled = $newVal' --argjson newVal true config_private_tangle.json > tmp.$$.json && mv tmp.$$.json config_private_tangle.json | ||
jq --color-output . config_private_tangle.json | ||
# Start Tangle | ||
sudo ./cleanup.sh | ||
sudo ./bootstrap.sh | ||
sudo ./run.sh -d | ||
- name: Wait for tangle to start | ||
shell: bash | ||
run: wget -qO- https://raw.githubusercontent.com/eficode/wait-for/$WAIT_FOR_VERSION/wait-for | sh -s -- -t 60 http://localhost:14265/health -- echo "Tangle is up" | ||
env: | ||
WAIT_FOR_VERSION: 4df3f9262d84cab0039c07bf861045fbb3c20ab7 # v2.2.3 | ||
- name: Wait for faucet to start | ||
shell: bash | ||
run: wget -qO- https://raw.githubusercontent.com/eficode/wait-for/$WAIT_FOR_VERSION/wait-for | sh -s -- -t 60 http://localhost:8091/api/info -- echo "Faucet is up" | ||
env: | ||
WAIT_FOR_VERSION: 4df3f9262d84cab0039c07bf861045fbb3c20ab7 # v2.2.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: 'private-tangle-tear-down' | ||
description: 'tear-down a private tangle' | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Tear down private tangle | ||
shell: bash | ||
run: | | ||
# TODO: use next line when a working hornet release is published | ||
#cd private_tangle | ||
# TODO: remove next line when a working hornet release is published | ||
cd hornet/private_tangle | ||
docker-compose down | ||
cd .. | ||
sudo rm -rf private_tangle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
This version introduces a new DID method targeting the IOTA UTXO ledger. This method works fundamentally differently from the previous method and introduces new capabilities to interact with Layer 1 entities like native tokens, NFTs and smart contracts. | ||
\n\n | ||
This is an early alpha release, so there may be breaking changes in upcoming versions that invalidate DIDs created with this version. The method at this point is only intended for experimentation. | ||
\n\n | ||
Note: Identities created with the earlier versions cannot be resolved with this version of the library. | ||
\n\n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
This version introduces a new DID method targeting the IOTA UTXO ledger. This method works fundamentally differently from the previous method and introduces new capabilities to interact with Layer 1 entities like native tokens, NFTs and smart contracts. | ||
\n\n | ||
This is an early alpha release, so there may be breaking changes in upcoming versions that invalidate DIDs created with this version. The method at this point is only intended for experimentation. | ||
\n\n | ||
Note: Identities created with the earlier versions cannot be resolved with this version of the library. | ||
\n\n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.