Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 4 additions & 2 deletions .github/workflows/all-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ jobs:
uses: actions/checkout@v4

- name: Install Nix
uses: cachix/install-nix-action@v27
uses: cachix/install-nix-action@v31

- uses: cachix/cachix-action@v16
with:
nix_path: nixpkgs=channel:nixos-unstable
name: holochain-ci

- name: Build Packages
run: |
Expand Down
21 changes: 4 additions & 17 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,34 +48,21 @@ detailed API References.
#### DNA Bundle

```bash
make dna/deepkey.dna
make dnas/deepkey.dna
```

#### [Deepkey types crate](https://crates.io/crates/hc_deepkey_types)
#### [Holochain Deepkey DNA](https://crates.io/crates/holochain_deepkey_dna)

Build package without publishing
```bash
make preview-deepkey-types-crate
make preview-deepkey-dna-crate
```

Publish package
```bash
make publish-deepkey-types-crate
make publish-deepkey-dna-crate
```

#### [Deepkey SDK crate](https://crates.io/crates/hc_deepkey_sdk)

Build package without publishing
```bash
make preview-deepkey-sdk-crate
```

Publish package
```bash
make publish-deepkey-sdk-crate
```


### Testing

To run all tests with logging
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 1 addition & 17 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -154,27 +154,11 @@ docs-watch:


#
# Publishing Types Packages
# Publishing crates
#
.cargo/credentials:
mkdir -p .cargo
cp ~/$@ $@
preview-%-types-crate: .cargo/credentials
cd dnas/$*; make preview-types-crate
publish-%-types-crate: .cargo/credentials
cd dnas/$*; make publish-types-crate

preview-deepkey-types-crate:
publish-deepkey-types-crate:


preview-%-sdk-crate: .cargo/credentials
cd dnas/$*; make preview-sdk-crate
publish-%-sdk-crate: .cargo/credentials
cd dnas/$*; make publish-sdk-crate

preview-deepkey-sdk-crate:
publish-deepkey-sdk-crate:

preview-deepkey-dna-crate: .cargo/credentials $(DNA_CRATE_DNA_SRC)
cargo publish -p holochain_deepkey_dna --dry-run --allow-dirty
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ derivation instructions. In order to regenerate your app keys, Deepkey must sto
info that will instruct Lair to reproduce the same keys.


#### How are keys determinitic?
#### How are keys deterministic?

Key uniquenss is determined by a combination of 2 incrementing numbers; an **app index** and a **key
index**. When an app is installed, a new key registration is made using the next unused app index
Expand Down
2 changes: 1 addition & 1 deletion crates/holochain_deepkey_dna/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "holochain_deepkey_dna"
version = "0.0.8-dev.2"
version = "0.0.9-dev.1"
edition = "2021"
authors = ["Michael dougherty <michael.dougherty@holo.host>"]
license = "CAL-1.0"
Expand Down
1 change: 0 additions & 1 deletion dnas/deepkey/dna.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ name: deepkey
integrity:
network_seed: ~
properties: ~
origin_time: 1669408001130688
zomes:
- name: deepkey
hash: ~
Expand Down
203 changes: 178 additions & 25 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading