Open Papillon6814 opened 2 years ago
Is this a webpack bundle? Did you see the webpack config section in https://github.com/cosmos/cosmjs/blob/main/README.md?
@webmaster128 Hello, thank you for the reply.
Hmm... probably I don't use webpack. This is my package.json.
> cat vue/package.json
{
"name": "@starport/template",
"version": "0.3.5",
"description": "A Vue 3 boilerplate project utilizing @starport/vue and @starport/vuex",
"author": "Tendermint, Inc <hello@tendermint.com>",
"private": true,
"scripts": {
"dev": "vite",
"build": "vite build",
"serve": "vite preview"
},
"dependencies": {
"@cosmjs/launchpad": "0.27.0",
"@cosmjs/proto-signing": "0.27.0",
"@cosmjs/stargate": "0.27.0",
"@starport/vue": "^0.3.5",
"@starport/vuex": "^0.3.5",
"buffer": "^6.0.3",
"core-js": "^3.18.2",
"vue": "^3.2.6",
"vue-router": "^4.0.3",
"vuex": "^4.0.2"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-dynamic-import-vars": "^1.4.1",
"@rollup/plugin-node-resolve": "^13.1.1",
"@vitejs/plugin-vue": "^2.0.1",
"sass": "^1.47.0",
"vite": "^2.7.6",
"vite-plugin-dynamic-import": "^0.1.1",
"vite-plugin-env-compatible": "^1.1.1"
}
}
This is the screenshot of after pushing "Send transaction" button.
The package "@cosmjs/launchpad": "0.27.0",
is outdated and should not be required anymore.
Can you report this to Starport? I don't know what they do here and how Vue works. Also in the log there is a deprecation warning for some Keplr integration code.
Also if you upgrade to CosmJS ^0.28
you get a hashing implementation that does not depend on Hash.CipherBase
anymore. So it might help as well.
Thanks! I'll try it!
Hello, I cannot get a wallet by @cosmjs/proto-signing
I'd like to try to send a transaction with cosmjs. I found an example of using wallet on github (https://gist.github.com/webmaster128/8444d42a7eceeda2544c8a59fbd7e1d9). But it does not work because of an error below. I thought and googled a lot, but I don't know what makes this error. Please help me ðŸ˜
Code
Error