From 9d01cbb8b4e4c8657477e116cb111ded8b502d85 Mon Sep 17 00:00:00 2001 From: Prathiksha-Nataraja <90592522+Prathiksha-Nataraja@users.noreply.github.com> Date: Wed, 19 Jul 2023 18:50:25 +0530 Subject: [PATCH] feat: ckip-readme-changes (#43) * doc: add cli command * doc: add example for cli commands * doc: removed generated files * doc: readme update * doc: update requested changes * doc: update readme * doc: update command name * doc: add sample json * doc: update readme * doc: added link for genesis file * doc: update readme --------- Co-authored-by: Shreyas S Bhat <35568964+shreyasbhat0@users.noreply.github.com> Co-authored-by: Hemanth Kumar <96766939+hemz10@users.noreply.github.com> --- cli/go.mod | 2 +- cli/go.sum | 2 +- cli/sample-jsons/config-jsons/config0.json | 8 ++++++++ cli/sample-jsons/config-jsons/config1.json | 8 ++++++++ 4 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 cli/sample-jsons/config-jsons/config0.json create mode 100644 cli/sample-jsons/config-jsons/config1.json diff --git a/cli/go.mod b/cli/go.mod index cc4c91fb..6a9bafd1 100644 --- a/cli/go.mod +++ b/cli/go.mod @@ -38,4 +38,4 @@ require ( google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c // indirect google.golang.org/grpc v1.41.0 // indirect google.golang.org/protobuf v1.29.1 // indirect -) +) \ No newline at end of file diff --git a/cli/go.sum b/cli/go.sum index c73706ef..d0874425 100644 --- a/cli/go.sum +++ b/cli/go.sum @@ -214,4 +214,4 @@ gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= \ No newline at end of file diff --git a/cli/sample-jsons/config-jsons/config0.json b/cli/sample-jsons/config-jsons/config0.json new file mode 100644 index 00000000..d6f99ff2 --- /dev/null +++ b/cli/sample-jsons/config-jsons/config0.json @@ -0,0 +1,8 @@ +{ + "id": "0", + "private_port": 9080, + "public_port": 8090, + "p2p_listen_address": "7080", + "p2p_address": "8080", + "cid": "0xacbc4e" + } \ No newline at end of file diff --git a/cli/sample-jsons/config-jsons/config1.json b/cli/sample-jsons/config-jsons/config1.json new file mode 100644 index 00000000..f3d14bf1 --- /dev/null +++ b/cli/sample-jsons/config-jsons/config1.json @@ -0,0 +1,8 @@ +{ + "id": "1", + "private_port": 9081, + "public_port": 8091, + "p2p_listen_address": "7081", + "p2p_address": "8081", + "cid": "0xacbc4e" + } \ No newline at end of file