refactor: update devbox configuration and scripts

This commit is contained in:
Prad Nukala
2024-11-25 13:54:33 -05:00
parent 1568844255
commit e04d071ca7
63 changed files with 1069 additions and 202 deletions
+34
View File
@@ -0,0 +1,34 @@
{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.12.0/.schema/devbox.schema.json",
"packages": [
"go@1.22",
"bun@latest",
"ipfs@latest",
"skate@latest",
"air@latest",
"templ@latest"
],
"env": {
"GOPATH": "$HOME/go",
"CHAIN_ID": "sonr-testnet-1",
"DENOM": "usnr",
"KEYRING": "test",
"MONIKER": "florence",
"BINARY": "sonrd",
"ACC0_NAME": "acc0",
"ACC1_NAME": "acc1",
"ACC0_ADDRESS": "idx1efd63aw40lxf3n4mhf7dzhjkr453axur9vjt6y",
"ACC1_ADDRESS": "idx1hj5fveer5cjtn4wd6wstzugjfdxzl0xpecp0nd",
"ACC0_MNEMONIC": "$(skate get ACC0_MNEMONIC)",
"ACC1_MNEMONIC": "$(skate get ACC1_MNEMONIC)"
},
"shell": {
"init_hook": ["export ROOT=$(git rev-parse --show-toplevel)"],
"scripts": {
"devnet": ["cd $ROOT", "make sh-testnet"],
"ipfs": ["ipfs daemon"],
"air": ["cd $ROOT", "air"],
"gex": ["gex"]
}
}
}