Compare commits
No commits in common. "iv-publish-record-steps" and "main" have entirely different histories.
iv-publish
...
main
@ -625,7 +625,7 @@
|
|||||||
```bash
|
```bash
|
||||||
network:
|
network:
|
||||||
ports:
|
ports:
|
||||||
console:
|
laconic-console:
|
||||||
- '127.0.0.1:4001:80'
|
- '127.0.0.1:4001:80'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -69,34 +69,6 @@ Once all the participants have completed their onboarding, stage0 laconicd chain
|
|||||||
cp ~/cerc/fixturenet-laconicd-stack/stack-orchestrator/stacks/fixturenet-laconicd/output/genesis.json stage1-deployment/data/genesis-config/genesis.json
|
cp ~/cerc/fixturenet-laconicd-stack/stack-orchestrator/stacks/fixturenet-laconicd/output/genesis.json stage1-deployment/data/genesis-config/genesis.json
|
||||||
```
|
```
|
||||||
|
|
||||||
* Republish records in stage1:
|
|
||||||
|
|
||||||
* Create bond
|
|
||||||
|
|
||||||
```bash
|
|
||||||
ALICE_PK=$(echo y | laconic-so deployment --dir /srv/laconicd/stage1-deployment exec laconicd "laconicd keys export alice --unarmored-hex --unsafe")
|
|
||||||
laconic-so deployment --dir laconic-console-deployment exec cli "laconic registry bond create --type alnt --quantity 1000000000000 --user-key $ALICE_PK" | jq -r '.bondId'
|
|
||||||
```
|
|
||||||
|
|
||||||
* Update CLI config
|
|
||||||
|
|
||||||
```bash
|
|
||||||
BOND_ID=c5ce12710a0ba7bf01f085a24b23dc78936e8d63ba3ce9d4b9d8f789e5b2f265
|
|
||||||
laconic-so deployment --dir laconic-console-deployment exec cli "CERC_LACONICD_USER_KEY=${ALICE_PK} CERC_LACONICD_BOND_ID=${BOND_ID} CERC_LACONICD_GAS=500000 CERC_LACONICD_FEES=500000alnt /app/create-config.sh"
|
|
||||||
```
|
|
||||||
|
|
||||||
* Copy records
|
|
||||||
|
|
||||||
```bash
|
|
||||||
cp -r /srv/laconicd/testnet-repo-records laconic-console-deployment/data/laconic-registry-data/testnet-repo-records
|
|
||||||
```
|
|
||||||
|
|
||||||
* Publish
|
|
||||||
|
|
||||||
```bash
|
|
||||||
laconic-so deployment --dir laconic-console-deployment exec cli "yarn ts-node demo/scripts/publish-records.ts --config config.yml --records /laconic-registry-data/testnet-repo-records"
|
|
||||||
```
|
|
||||||
|
|
||||||
* Start the stage1 deployment:
|
* Start the stage1 deployment:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
@ -13,7 +13,7 @@ services:
|
|||||||
registry:
|
registry:
|
||||||
rpcEndpoint: ${CERC_LACONICD_RPC_ENDPOINT}
|
rpcEndpoint: ${CERC_LACONICD_RPC_ENDPOINT}
|
||||||
gqlEndpoint: ${CERC_LACONICD_GQL_ENDPOINT}
|
gqlEndpoint: ${CERC_LACONICD_GQL_ENDPOINT}
|
||||||
userKey: "${CERC_LACONICD_USER_KEY}"
|
userKey: ${CERC_LACONICD_USER_KEY}
|
||||||
bondId: ${CERC_LACONICD_BOND_ID}
|
bondId: ${CERC_LACONICD_BOND_ID}
|
||||||
chainId: ${CERC_LACONICD_CHAIN_ID}
|
chainId: ${CERC_LACONICD_CHAIN_ID}
|
||||||
gas: ${CERC_LACONICD_GAS}
|
gas: ${CERC_LACONICD_GAS}
|
||||||
|
@ -266,7 +266,7 @@ laconic-so deployment --dir laconic-console-deployment start
|
|||||||
# services:
|
# services:
|
||||||
# registry:
|
# registry:
|
||||||
# ...
|
# ...
|
||||||
# userKey: "<your-private-key>"
|
# userKey: <your-private-key>
|
||||||
# ...
|
# ...
|
||||||
|
|
||||||
# Note: any changes made to the config will be lost when the cli Docker container is brought down
|
# Note: any changes made to the config will be lost when the cli Docker container is brought down
|
||||||
@ -277,7 +277,7 @@ laconic-so deployment --dir laconic-console-deployment start
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Example
|
# Example
|
||||||
laconic-so deployment --dir laconic-console-deployment exec cli "laconic registry bond create --type alnt --quantity 1000000000000"
|
laconic-so deployment --dir laconic-console-deployment exec cli "laconic registry bond create --type photon --quantity 1000000000000"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Clean up
|
## Clean up
|
||||||
|
Loading…
Reference in New Issue
Block a user