Skip to content

Conversation

nick1udwig
Copy link
Member

@nick1udwig nick1udwig commented Aug 2, 2024

Problem

We want devs to be able to publish packages from kit.

Solution

Add kit publish.

Docs Update

TODO

Brief usage guide:

# make a keystore
## copy-paste in private key into interactive prompt:
## 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
## (gotten via `anvil --balance 5 --state kit/src/chain/kinostate.json`)
cast w import -i anvil-1

# start a 0.9.0 fake node
kit f -r ~/git/kinode

# put package onto node; here I use https://github.com/nick1udwig/chat
git clone https://github.com/nick1udwig/chat
cd chat
kit bs

# publish package
## you will be prompted for the keystore password that you set when calling `cast` above
kit p -u https://raw.githubusercontent.com/nick1udwig/chat/50d06b9bea3bce7e3c418ccb40a85a5c785dab9b/metadata.json -k ~/.foundry/keystores/anvil-1

Notes

WIP

@nick1udwig nick1udwig changed the title WIP: kit publish cont'd kit publish cont'd Aug 2, 2024
@nick1udwig nick1udwig marked this pull request as ready for review August 2, 2024 22:09
@nick1udwig nick1udwig merged commit 0a2e4af into kitpublish Aug 2, 2024
@nick1udwig nick1udwig deleted the hf/publish-use-cast-for-private-keys branch August 2, 2024 22:13
@nick1udwig nick1udwig mentioned this pull request Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant