dckc / madmode-blog

my tinkering notebook (blog)
https://www.madmode.com
0 stars 2 forks source link

holochain: kicked the tires #169

Open dckc opened 1 year ago

dckc commented 1 year ago

Ran into holochain again today while re-visiting...

Cryptocurrencies and blockchains don’t have to be camouflaged trailheads for a new generation of would-be reformers to instead become currency traders, stakers, and brokers. They can instead aspire to develop a genuinely peer-to-peer, protocol-based, distributed database like Holochain. -- Can’t We Use Crypto for Something Other Than Capitalism? | by Douglas Rushkoff | OneZero Aug 20, 2021

Hacktivation time: 18min

so... how does it work? Install Holochain - Holochain Docs... nix... rust...

$ ls -l /etc/nix/nix.conf 
-rw-rw-r-- 1 root root 58 Dec  3 14:20 /etc/nix/nix.conf

$ hn-introspect
List of applications and their version information

main
- hc-0.0.70: https://github.com/holochain/holochain/tree/64286bf7aa10e9e93032361a69843daa354fdb1b
- holochain-0.0.175: https://github.com/holochain/holochain/tree/64286bf7aa10e9e93032361a69843daa354fdb1b
- kitsune-p2p-tx2-proxy-0.0.39: https://github.com/holochain/holochain/tree/64286bf7aa10e9e93032361a69843daa354fdb1b
- lair-keystore-0.2.2: https://github.com/holochain/lair/tree/lair_keystore_api-v0.2.2

- rustc: rustc 1.60.0 (7737e0b5c 2022-04-04)
- cargo fmt: rustfmt 1.4.38-stable (7737e0b 2022-04-04)
- cargo clippy: clippy 0.1.60 (7737e0b 2022-04-04)
- perf-5.15.79: mirror://kernel/linux/kernel/v5.x/linux-5.15.79.tar.xz

$ holochain --build-info | jq .
{
  "git_info": null,
  "cargo_pkg_version": "0.0.175",
  "hdk_version_req": "0.0.163",
  "hdi_version_req": "0.1.10",
  "timestamp": "2022-11-30T04:43:13.185978403Z",
  "hostname": "localhost",
  "host": "x86_64-unknown-linux-gnu",
  "target": "x86_64-unknown-linux-gnu",
  "rustc_version": "rustc 1.64.0 (a55dd71d5 2022-09-19)",
  "rustflags": "",
  "profile": "release"
}

hApp Setup - Holochain Docs

$ npm init @holochain

[nix-shell:holo-fun]$ ls -l
total 1032
-rw-r--r--   1 connolly connolly  44057 Dec  3 14:37 Cargo.lock
...
-rw-r--r--   1 connolly connolly   1274 Dec  3 14:24 package.json

...
[1] [1] 2:38:22 PM - Found 0 errors. Watching for file changes.

don't really get what I made:

image

image

image

follow the money

while it's building, follow the money...

unique open-source model of the Cryptographic Autonomy License ... ... Holo Ltd. issued an ICO in 2018 -- Holochain | The Foundation

$20M ICO in April 2018 ...

cc @jimscarver @kennyrowe