Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
186 commits
Select commit Hold shift + click to select a range
32e78c8
Initial just buildable raw crate and package structure for the Notari…
chrisgitiota Feb 19, 2025
1d29bc0
feat: add move notarization
itsyaasir Feb 19, 2025
f650050
feat: enhance notarization metadata with description and state tracking
itsyaasir Feb 19, 2025
684007e
Merge pull request #1 from chrisgitiota/feat/notarization-move
itsyaasir Feb 19, 2025
85ee7e6
First idea of a generic notarization state (WIP not ready to build)
chrisgitiota Feb 19, 2025
db23957
Missing part of the last commit
chrisgitiota Feb 19, 2025
aefd414
Removed the 'entry' keyword from the notarization.move
chrisgitiota Feb 19, 2025
dcee565
upate: make the description optional
itsyaasir Feb 20, 2025
d4602a4
refactor: make notarization description optional and update related f…
itsyaasir Feb 20, 2025
99c840a
feat: add LockedNotarization module with state management and event e…
itsyaasir Feb 20, 2025
c9ddef4
Merge pull request #2 from chrisgitiota/update/generic-state
itsyaasir Feb 20, 2025
80d80d6
Merge pull request #3 from chrisgitiota/feat/locked-notarization
itsyaasir Feb 20, 2025
ef8c0b0
feat: combine dynamic/locked notarization
itsyaasir Feb 21, 2025
9f599ac
feat: update lock configuration and rename locking conditions for cla…
itsyaasir Feb 24, 2025
9275083
feat: enhance notarization type constraints for improved type safety
itsyaasir Feb 24, 2025
480e76a
feat: rename lock_metadata to locking for consistency and clarity
itsyaasir Feb 24, 2025
c2e71af
feat: add invalid lock order check and update error constants for cla…
itsyaasir Feb 24, 2025
6f375c1
Update lock_configuration.move
chrisgitiota Feb 24, 2025
947c5dc
Minor changes as addon to last commit
chrisgitiota Feb 24, 2025
d07f1f4
Merge pull request #5 from chrisgitiota/feat/combine-dynamic-and-lock…
itsyaasir Feb 24, 2025
2cec3f2
Merge branch 'feat/generic-notarization-state' into develop
chrisgitiota Feb 24, 2025
b4331c8
Usage description in the main README and minoe usabilty enhancements …
chrisgitiota Feb 25, 2025
dc3e8b7
minor changes to the main README
chrisgitiota Feb 25, 2025
82aa955
Even more minor changes to the main README
chrisgitiota Feb 25, 2025
231da5e
Add NotarizationDestroyed event for destroyed Notarization objects
itsyaasir Feb 27, 2025
c9077c7
Add getter function for Notarization state
itsyaasir Feb 27, 2025
8c788c4
Merge pull request #1 from iotaledger/chore/emit-event-when-destroyed
itsyaasir Feb 27, 2025
c565834
refactor: timelock conditions
itsyaasir Mar 6, 2025
8b3148e
chore: better semantic variants
itsyaasir Mar 6, 2025
8c4d3f2
chore: review comments and remove unnecessary variant
itsyaasir Mar 7, 2025
e7ccc58
chore: small fixes
itsyaasir Mar 10, 2025
5b80021
Merge pull request #4 from iotaledger/feat/improvements-to-timelock
chrisgitiota Mar 10, 2025
364205a
feat: make the data field generic
itsyaasir Mar 11, 2025
2e45716
feat: fix error constants
itsyaasir Mar 11, 2025
3b4dc72
feat: add updateable metadata
itsyaasir Mar 11, 2025
03de7e1
chore: add transferrability
itsyaasir Mar 11, 2025
50e4674
chore: rename function
itsyaasir Mar 12, 2025
f3be1f5
Merge pull request #6 from iotaledger/chore/update-from-refinements
itsyaasir Mar 12, 2025
e6dddd9
Merge branch 'develop' into feat/generic-data-in-state
itsyaasir Mar 12, 2025
c9cfa62
Merge pull request #5 from iotaledger/feat/generic-data-in-state
chrisgitiota Mar 12, 2025
efa309e
chore: remove store from notarization
itsyaasir Mar 12, 2025
f8f968b
Merge branch 'develop' into chore/remove-store-from-notarization-object
itsyaasir Mar 12, 2025
18317f3
Merge pull request #7 from iotaledger/chore/remove-store-from-notariz…
chrisgitiota Mar 12, 2025
f1b1a9f
feat: split modules
itsyaasir Mar 12, 2025
8680d08
refactor: simplify notarization structures and improve transfer logic
itsyaasir Mar 17, 2025
9974d17
refactor: unify function names for dynamic and locked notarization mo…
itsyaasir Mar 18, 2025
4a2e671
feat: enhance notarization transfer logic with additional checks and …
itsyaasir Mar 18, 2025
0065dc7
refactor: simplify destroy_if_unlocked_or_infinite_lock logic in time…
itsyaasir Mar 18, 2025
7f9cdaa
Merge pull request #8 from iotaledger/refactor/split-notarization
itsyaasir Mar 18, 2025
ec69f53
Merge branch 'develop' into chore/transfer-lock
itsyaasir Mar 18, 2025
d82a72e
chore: add asserts
itsyaasir Mar 19, 2025
8a4f74a
chore: fix error codes
itsyaasir Mar 19, 2025
2285665
chore: improve field naming
itsyaasir Mar 19, 2025
f75ddac
chore: remove unecessary docs
itsyaasir Mar 19, 2025
7421691
Clarify comment for UntilDestroyed lock
itsyaasir Mar 19, 2025
218ae0b
chore: review comments
itsyaasir Mar 19, 2025
0a0e2ea
chore: review comments
itsyaasir Mar 20, 2025
cbf6f21
chore: remove transferable flag field
itsyaasir Mar 20, 2025
8386392
Remove unecessary checks
itsyaasir Mar 20, 2025
d4343d9
chore: bug fix
itsyaasir Mar 21, 2025
3f49a25
Merge pull request #22 from iotaledger/chore/transfer-lock
itsyaasir Mar 21, 2025
3875fdc
feat: add method type for the Notarization
itsyaasir Mar 21, 2025
c42b0f9
chore: fixing scripts
itsyaasir Mar 24, 2025
72bcfdf
Update notarization script to use string data type and add metadata f…
itsyaasir Mar 24, 2025
10ac669
Add tests for dynamic notarization and timelock modules
itsyaasir Mar 24, 2025
f60a855
Add tests for notarization module and fix lock status checks
itsyaasir Mar 25, 2025
d389d49
Rename NotarizationType to NotarizationMethod and fix destroy logic
itsyaasir Mar 25, 2025
555651c
Fix notarization destroy logic by inverting lock condition checks
itsyaasir Mar 25, 2025
257f130
Remove unused DummyComplexObject struct from test file
itsyaasir Mar 25, 2025
7bc940d
Add test-only custom notarization creator and comprehensive timelock …
itsyaasir Mar 25, 2025
d76b47c
feat: add method-specific invariants for notarization locking metadata
itsyaasir Mar 26, 2025
4f503ac
Extended invariants for dynamic notarization to allow transfer_lock a…
chrisgitiota Mar 26, 2025
abb18e2
feat(ci): setup `move` CI/CD actions
itsyaasir Mar 26, 2025
af8c393
Merge pull request #29 from iotaledger/add-method-specific-invariants
chrisgitiota Mar 26, 2025
d644509
Merge pull request #24 from iotaledger/feat/add-method
chrisgitiota Mar 26, 2025
02b6d72
fix(ci): correct paths for Move package in workflow configuration
itsyaasir Mar 27, 2025
60ecd9c
Merge branch 'develop' into feat/add-tests
itsyaasir Mar 27, 2025
76d5836
chore: update the deps to 0.10.3
itsyaasir Mar 28, 2025
90e3774
Merge pull request #28 from iotaledger/feat/add-tests
itsyaasir Mar 28, 2025
2cdbe32
Merge branch 'develop' into feat/ci-action
itsyaasir Mar 28, 2025
49d5f94
fix(workflows): enhance build-and-test and move-formatter workflows w…
itsyaasir Mar 28, 2025
c8f7744
fix(workflows): add 'develop' branch to push event triggers in build-…
itsyaasir Mar 28, 2025
4157ce3
refactor(notarization): rename 'new_owner' to 'recipient' in DynamicN…
itsyaasir Mar 28, 2025
c3efba2
fix(workflows): update concurrency settings and refine event triggers…
itsyaasir Mar 28, 2025
79e826b
feat(iota-cli): add setup action for IOTA CLI on Linux and MacOS
itsyaasir Mar 28, 2025
6d8e44e
fix(workflows): correct command flag for warnings in build step and u…
itsyaasir Mar 28, 2025
6f0fd36
add prettier formatter
itsyaasir Mar 28, 2025
497b91f
Merge pull request #30 from iotaledger/feat/ci-action
chrisgitiota Mar 28, 2025
3955fdb
First buildable version for wasm32 and non wasm platforms
chrisgitiota Apr 2, 2025
078660b
New README for the Notarization Rust library
chrisgitiota Apr 2, 2025
2c900d1
Enhanced README formating and added glossary
chrisgitiota Apr 2, 2025
118301e
Remove legacy notarization.move recources to prepare copying experime…
chrisgitiota Apr 3, 2025
1142a03
Moved experimental_notarization resources to notarization crate
chrisgitiota Apr 3, 2025
d7a74ab
Copy resources from notarization crate to experimental_notarization
chrisgitiota Apr 3, 2025
3b95739
Updated the main README to use notarization crate instead of experime…
chrisgitiota Apr 3, 2025
339680d
Updated the testnet PACKAGE_ADDRESS for the Notarization package publ…
chrisgitiota Apr 3, 2025
2c3c535
Merge pull request #32 from iotaledger/feat/initial-wasm-build
chrisgitiota Apr 3, 2025
da2d56d
Replace experimental_notarization with notarization in the GH workflows
chrisgitiota Apr 3, 2025
204b1c3
Moved tests and format check config files from experimental_notarizat…
chrisgitiota Apr 3, 2025
ffc73c9
Copy tests and format check config files from notarization crate to …
chrisgitiota Apr 3, 2025
4528db2
Copy latest changes from experimental_notarization crate to notarizat…
chrisgitiota Apr 3, 2025
a8d2436
Updated the testnet PACKAGE_ADDRESS for the Notarization package publ…
chrisgitiota Apr 3, 2025
b545ca1
Merge pull request #33 from iotaledger/feat/update-notarization-crate…
chrisgitiota Apr 4, 2025
b73f3d5
feat: add low-level move code
itsyaasir Apr 7, 2025
0bdffc1
Add timestamp and version count methods, fix object_id param in updat…
itsyaasir Apr 7, 2025
794891b
Merge branch 'develop' into feat/move-lib-interface
itsyaasir Apr 8, 2025
60a48f1
Refactor notarization module with helper build_transaction method and…
itsyaasir Apr 8, 2025
e8276bb
Add copyright headers and update year to 2025 in source files
itsyaasir Apr 8, 2025
6826f7f
Refactor object_id handling and improve type safety in notarization m…
itsyaasir Apr 9, 2025
a0894e1
Rename to_ptb to into_ptb and remove unused imports
itsyaasir Apr 9, 2025
b6dd061
Improve error handling for object retrieval and clean up whitespace
itsyaasir Apr 9, 2025
8d11b72
Update notarization/src/core/notarization/mod.rs
itsyaasir Apr 14, 2025
74cbf9e
Merge pull request #34 from iotaledger/feat/move-lib-interface
itsyaasir Apr 14, 2025
665e539
Restructure the codebase
itsyaasir Apr 14, 2025
c7d693c
Update Move package path from nested to root directory in GitHub work…
itsyaasir Apr 14, 2025
c50d182
Reorganize imports and add rustfmt config for consistent code formatting
itsyaasir Apr 14, 2025
b02d8da
Update PR template with checkboxes for change type selection
itsyaasir Apr 14, 2025
0c32880
Updated some paths in the main README according to the new structure
chrisgitiota Apr 14, 2025
e5d8a94
Merge pull request #36 from iotaledger/chore/fix-github-template
chrisgitiota Apr 14, 2025
868c76b
Merge pull request #35 from iotaledger/chore/restructure-codebase
itsyaasir Apr 15, 2025
72202bf
Very raw but run-able Notarization e2e test frame and IOTA version pi…
chrisgitiota Apr 17, 2025
6ec05c1
Merge pull request #37 from iotaledger/feat/initial-e2e-tests
chrisgitiota Apr 22, 2025
03a6f1c
First buildable version (excluding e2e tests) using product-core
chrisgitiota Apr 23, 2025
6f9fdf3
Remove unnecessary dependencies from tests/e2e/common.rs
chrisgitiota Apr 24, 2025
134981d
Update dependencies in Cargo.toml, refactor notarization.move functio…
itsyaasir May 21, 2025
36a36a2
Merge branch 'develop' into feat/notarization-api
itsyaasir May 21, 2025
5d029ca
Refactor read-only client documentation, enhance error handling, and …
itsyaasir May 21, 2025
1c23167
Refactor package imports and update network name documentation in rea…
itsyaasir May 21, 2025
592ddbd
Refactor state management in notarization module, simplifying state s…
itsyaasir May 22, 2025
b4a44f2
Enhance notarization client functionality by refining state retrieval…
itsyaasir May 23, 2025
7fdbf5d
feat: notarization builder write API
itsyaasir May 23, 2025
fd18d12
Implement notarization transaction operations including state updates…
itsyaasir May 26, 2025
269583e
Update dependencies in Cargo.toml, including version changes for `iot…
itsyaasir May 26, 2025
c9e391e
Add tests
itsyaasir May 26, 2025
97424c0
Merge pull request #41 from iotaledger/feat/extend-transaction-trait
itsyaasir May 26, 2025
36d9fd3
Add end-to-end tests notarization
itsyaasir May 27, 2025
a3fff4e
Add manual deser for Data
itsyaasir May 27, 2025
5e85213
Merge pull request #38 from iotaledger/feat/notarization-api
itsyaasir May 27, 2025
95d852d
Update notarization client methods and improve type handling
itsyaasir May 27, 2025
2435d5b
Merge branch 'develop' into feat/notarization-write-api
itsyaasir May 27, 2025
ae38a5c
Refactor client tools by removing unused code and imports
itsyaasir May 27, 2025
9874486
Add examples for notarization operations and update workspace configu…
itsyaasir May 27, 2025
b63c49a
Refactor notarization examples and update scripts
itsyaasir May 28, 2025
711341f
Merge pull request #42 from iotaledger/feat/notarization-write-api
itsyaasir May 28, 2025
ed887c7
Rename build job in GitHub Actions workflow and format function signa…
itsyaasir May 28, 2025
4709f2f
Merge branch 'develop' into feat/add-examples
itsyaasir May 28, 2025
333a4c2
Update README.md to reflect changes in notarization examples
itsyaasir May 28, 2025
a2b0336
Add license template, update workspace configuration, and enhance Git…
itsyaasir May 28, 2025
999b16c
Add copyright and license information to multiple source files
itsyaasir May 28, 2025
af4e3cf
Update Cargo.toml files and example scripts for Rust edition and depe…
itsyaasir May 28, 2025
ba132a2
chore: add develop branch
itsyaasir May 28, 2025
ded20ec
Update notarization-move configuration and script paths
itsyaasir May 28, 2025
81dfebe
chore: use typed state and update deps
itsyaasir Jun 8, 2025
8bb8ca6
chore: add invariants checking for both locked and dynamic
itsyaasir Jun 9, 2025
723533f
chore: fix units tests; ignore doc tests
itsyaasir Jun 9, 2025
55b2856
chore: fix typos and formatting fixes
itsyaasir Jun 9, 2025
52e38d7
chore: Remove unecessary functions
itsyaasir Jun 9, 2025
dc4269f
chore: fix ci examples
itsyaasir Jun 9, 2025
d2f8af7
Merge pull request #44 from iotaledger/feat/add-examples
itsyaasir Jun 9, 2025
354c6dd
chore: update Move.lock chain IDs and published IDs; improve state de…
itsyaasir Jun 10, 2025
0a87bc3
Merge branch 'feat/add-ci-cd' into feat/add-invariants-checking
itsyaasir Jun 10, 2025
20cf939
feat: add invariant checks for Dynamic and Locked notarization methods
itsyaasir Jun 10, 2025
0ac318e
Merge pull request #47 from iotaledger/feat/add-invariants-checking
itsyaasir Jun 13, 2025
58fbd8a
chore: update transfer_lock parameter to be non-optional; adjust rela…
itsyaasir Jun 13, 2025
2fdfbfd
Merge branch 'feat/add-ci-cd' into chore/make-lock-optional
itsyaasir Jun 13, 2025
12401d4
chore: clippy fixes
itsyaasir Jun 13, 2025
2e7d300
Enhance notarization module documentation and functionality
itsyaasir Jun 13, 2025
76bdb92
Merge pull request #45 from iotaledger/feat/add-ci-cd
itsyaasir Jun 13, 2025
d22152d
Merge pull request #48 from iotaledger/chore/make-lock-optional
itsyaasir Jun 13, 2025
50c9c26
Refactor notarization module to improve type organization and enhance…
itsyaasir Jun 13, 2025
89afe2b
chore: update .gitignore to include .idea directory and ensure consis…
itsyaasir Jun 13, 2025
0e52eb2
Merge branch 'develop' into feat/add-docs
itsyaasir Jun 13, 2025
f56bb00
Merge branch 'develop' into chore/refactor-dir
itsyaasir Jun 13, 2025
30bc577
Replace `use iota_sdk::` with `iota_interaction::`
chrisgitiota Jun 16, 2025
a1381eb
Update notarization configuration and improve documentation examples
itsyaasir Jun 17, 2025
bcf9671
Refactor imports in `create.rs` to streamline dependencies
itsyaasir Jun 17, 2025
a2cde4e
Refactor notarization client structure and update dependencies
itsyaasir Jun 17, 2025
7315aa6
Refactor delete_at method to delete_lock in notarization examples and…
itsyaasir Jun 17, 2025
32f6291
chore: update notarization methods to remove package ID parameter and…
itsyaasir Jun 18, 2025
d83d426
Merge pull request #54 from iotaledger/feat/remove-package-id-params
itsyaasir Jun 18, 2025
c4dc56a
Merge branch 'develop' into feat/add-docs
itsyaasir Jun 19, 2025
50ff879
Merge pull request #52 from iotaledger/feat/add-docs
itsyaasir Jun 19, 2025
38ff8be
Merge branch 'develop' into chore/refactor-dir
itsyaasir Jun 19, 2025
20aa035
Update Move.lock configuration and refactor module visibility in clie…
itsyaasir Jun 19, 2025
854bbfc
Merge pull request #53 from iotaledger/chore/refactor-dir
itsyaasir Jun 20, 2025
4f38a0c
Merge branch 'main' into develop
chrisgitiota Jun 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .cargo/audit.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[advisories]
ignore = [
"RUSTSEC-2023-0071", # temporary ignore until fix is provided
"RUSTSEC-2024-0437", # protobuf uncontrolled recursion https://github.com/iotaledger/iota/issues/5861
]
16 changes: 16 additions & 0 deletions .github/.github_changelog_generator
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
issues=false
pr-wo-labels=false
author=false
breaking-label=### Changed
breaking-labels=Breaking change
enhancement-label=### Added
enhancement-labels=Added
bugs-label=### Patch
bug-labels=Patch
deprecated-prefix=### Deprecated
deprecated-labels=Deprecated
removed-prefix=### Removed
removed-labels=Removed
exclude-labels=Documentation,No changelog
include-labels=Rust
verbose=true
168 changes: 84 additions & 84 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,87 +3,87 @@ description: File a bug report
title: "[Bug]: "
labels: "bug"
body:
- type: markdown
attributes:
value: Before raising an issue, please search for existing [issues](https://github.com/iotaledger/notarization/labels/bug) to avoid creating duplicates. For questions and support please use [Discord](https://discord.iota.org).
- type: textarea
id: bug-description
attributes:
label: Bug description
description: Summarize the bug encountered concisely
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: Expected behavior
description: Describe what you should see instead
- type: dropdown
id: can_repro
attributes:
label: Can the issue reliably be reproduced?
options:
- 'Yes'
- 'No'
validations:
required: true
- type: input
id: example-repository
attributes:
label: Example repository
description: If possible, please create a [minimal, reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug and link it here in the bug report.
- type: textarea
id: steps-to-reproduce
attributes:
label: Steps to reproduce
description: Describe the steps to reproduce the issue
placeholder: |
1.
2.
3.
- type: dropdown
id: language
attributes:
label: Language
description: What programming language are you using?
options:
- Rust
- WASM
- Node.js
- Python
- Java
- C
- Go
validations:
required: true
- type: input
id: language-version
attributes:
label: Language Version
description: Which version of the language did you use?
placeholder: v1.0.0
validations:
required: true
- type: input
id: version
attributes:
label: Version
description: Which version of our software are you using?
placeholder: version number, commit and/or branch
validations:
required: true
- type: textarea
id: hardware
attributes:
label: Hardware specifications
description: What hardware are you using?
value: |
- Operating system:
- RAM:
- Cores:
- Device:
- type: textarea
id: anything-else
attributes:
label: Additional info
description: Let us know if you have any additional info like logs, erros or screenshots
- type: markdown
attributes:
value: Before raising an issue, please search for existing [issues](https://github.com/iotaledger/notarization/labels/bug) to avoid creating duplicates. For questions and support please use [Discord](https://discord.iota.org).
- type: textarea
id: bug-description
attributes:
label: Bug description
description: Summarize the bug encountered concisely
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: Expected behavior
description: Describe what you should see instead
- type: dropdown
id: can_repro
attributes:
label: Can the issue reliably be reproduced?
options:
- "Yes"
- "No"
validations:
required: true
- type: input
id: example-repository
attributes:
label: Example repository
description: If possible, please create a [minimal, reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug and link it here in the bug report.
- type: textarea
id: steps-to-reproduce
attributes:
label: Steps to reproduce
description: Describe the steps to reproduce the issue
placeholder: |
1.
2.
3.
- type: dropdown
id: language
attributes:
label: Language
description: What programming language are you using?
options:
- Rust
- WASM
- Node.js
- Python
- Java
- C
- Go
validations:
required: true
- type: input
id: language-version
attributes:
label: Language Version
description: Which version of the language did you use?
placeholder: v1.0.0
validations:
required: true
- type: input
id: version
attributes:
label: Version
description: Which version of our software are you using?
placeholder: version number, commit and/or branch
validations:
required: true
- type: textarea
id: hardware
attributes:
label: Hardware specifications
description: What hardware are you using?
value: |
- Operating system:
- RAM:
- Cores:
- Device:
- type: textarea
id: anything-else
attributes:
label: Additional info
description: Let us know if you have any additional info like logs, erros or screenshots
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Join our Discord
url: https://discord.iota.org/
about: Chat with the devs and the IF community
- name: Join our Discord
url: https://discord.iota.org/
about: Chat with the devs and the IF community
84 changes: 42 additions & 42 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,45 +3,45 @@ description: Request a feature
title: "[Request]: "
labels: "request"
body:
- type: markdown
attributes:
value: Before requesting a feature, please search for existing [feature requests](https://github.com/iotaledger/notarization/labels/request) to avoid creating duplicates.
- type: textarea
id: feature-description
attributes:
label: Feature description
description: Briefly describe the feature that you are requesting.
validations:
required: true
- type: textarea
id: motivation
attributes:
label: Motivation
description: Explain why this feature is needed.
validations:
required: true
- type: textarea
id: requirements
attributes:
label: Requirements
description: Write a list of what you want this feature to do.
placeholder: |
1.
2.
3.
validations:
required: true
- type: textarea
id: open-questions
attributes:
label: Open questions
description: Use this section to ask any questions that are related to the feature.
- type: dropdown
id: pull-request
attributes:
label: Are you planning to do it yourself in a pull request?
options:
- 'Yes'
- 'No'
validations:
required: true
- type: markdown
attributes:
value: Before requesting a feature, please search for existing [feature requests](https://github.com/iotaledger/notarization/issues) to avoid creating duplicates.
- type: textarea
id: feature-description
attributes:
label: Feature description
description: Briefly describe the feature that you are requesting.
validations:
required: true
- type: textarea
id: motivation
attributes:
label: Motivation
description: Explain why this feature is needed.
validations:
required: true
- type: textarea
id: requirements
attributes:
label: Requirements
description: Write a list of what you want this feature to do.
placeholder: |
1.
2.
3.
validations:
required: true
- type: textarea
id: open-questions
attributes:
label: Open questions
description: Use this section to ask any questions that are related to the feature.
- type: dropdown
id: pull-request
attributes:
label: Are you planning to do it yourself in a pull request?
options:
- "Yes"
- "No"
validations:
required: true
49 changes: 49 additions & 0 deletions .github/actions/iota/keytool/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: "load-keytool"
description: "Load Keytool"
inputs:
network:
description: "Network to configure"
required: true
pk:
description: "Private key to load into Keytool"
required: true
faucet:
description: "Whether to faucet"
required: true

runs:
using: "composite"
steps:
- name: Load PK into Keytool
shell: bash
run: |
iota keytool import $(iota keytool convert ${{inputs.pk}} --json | jq -r '.bech32WithFlag') ed25519 --alias deploy-key

case ${{inputs.network}} in
devnet)
RPC=https://api.devnet.iota.cafe
;;

testnet)
RPC=https://api.testnet.iota.cafe
;;

mainnet)
RPC=https://api.mainnet.iota.cafe
;;

*)
echo "unknown network ${{inputs.network}}"
exit 1
;;
esac

iota client new-env --alias ${{inputs.network}} --rpc $RPC
iota client switch --env ${{inputs.network}}
iota client switch --address deploy-key

if [ ${{inputs.faucet}} == "true" ]; then
iota client faucet
# wait up tp 5min for Gas to be available
timeout 5m bash -c "until (( $(iota client gas --json | jq -r 'first | .nanosBalance') > 0 )); do sleep 10; done"
fi
Loading
Loading