diff --git a/README.md b/README.md index da3be24..ba6a5bd 100644 --- a/README.md +++ b/README.md @@ -1 +1,26 @@ -# cosmjs-examples \ No newline at end of file +# CosmJs Examples + +✨ Javascript example for cosmJs cosmos sdk + +![App Screenshot](https://i.imgur.com/WikPlI6.png) + + +## Installation + +Install cosmjs-examples dev + +```bash + git clone https://github.com/atmoner/cosmjs-examples.git + cd cosmjs-examples + yarn + yarn docs:dev +``` + +## Demo + +[https://atmoner.github.io/cosmjs-examples/](https://atmoner.github.io/cosmjs-examples/) + +## Authors + +- [@atmoner](https://github.com/atmoner) + diff --git a/src/.vuepress/components/simpleConnect.vue b/src/.vuepress/components/simpleConnect.vue index 582f9c8..9ccb8cb 100644 --- a/src/.vuepress/components/simpleConnect.vue +++ b/src/.vuepress/components/simpleConnect.vue @@ -43,6 +43,7 @@ export default { this.getClient = client this.loaded = true this.inLoading = false + client.disconnect(); } catch (error) { this.getClient = "Error! Try again" this.loaded = true diff --git a/src/.vuepress/components/simpleSign.vue b/src/.vuepress/components/simpleSign.vue index ba82126..bfc4719 100644 --- a/src/.vuepress/components/simpleSign.vue +++ b/src/.vuepress/components/simpleSign.vue @@ -41,6 +41,7 @@ export default { this.getSign = accounts this.loaded = true this.inLoading = false + client.disconnect(); }, closeResulte() { this.loaded = false diff --git a/src/.vuepress/components/test.vue b/src/.vuepress/components/test.vue index a3f7818..d6f0ce5 100644 --- a/src/.vuepress/components/test.vue +++ b/src/.vuepress/components/test.vue @@ -37,6 +37,7 @@ export default { this.getBlock = getBlock.header this.loaded = true this.inLoading = false + client.disconnect(); } catch (error) { this.getBlock = "Error! Try again" this.loaded = true