Comments (5)
Those docs are both incorrect and out-of-date. I'll take a look into updating them.
from tmkms.
Thank you so much for your help. I have one more question, please help, if I want to run gaia socket with adding config priv_validator_laddr = "tcp://127.0.0.1:26658"
, I need to set up tmkms, is it right?
from tmkms.
Yep
from tmkms.
I have set up tmkms successfully
isysadmin@iblcoreus-sta-btc2:~/ATOM$ tmkms start -c tmkms.toml
Mar 26 07:14:36.271 INFO tmkms::commands::start: tmkms 0.7.2 starting up...
Mar 26 07:14:36.271 INFO tmkms::keyring: [keyring:softsign] added consensus key cosmosvalconspub1zcjduepqkj4xhgzgrqk3e0gcd2q35a7jnwd7jj6c4ue9la8wcnrac5u689kq3j4sh2
Mar 26 07:14:36.271 INFO tmkms::connection::tcp: KMS node ID: 8E95C1DB663E5C0063FC6F89BB61FACDB92EBC3E
Mar 26 07:14:36.273 INFO tmkms::session: [cosmoshub-3@tcp://127.0.0.1:26658] connected to validator successfully
And my gaia node can run with option priv_validator_laddr = "tcp://127.0.0.1:26658"
. But I don't know how to subscribe socket to get data.
I tried to use websocket and here is my example:
const WebSocket = require("ws");
let url = "tcp://127.0.0.1:26658"
let ws = new WebSocket(url);
ws.onopen = () => {
console.log(`Websocket connection to ${url} successfully.`);
};
ws.onerror = (error) => {
console.log(`Websocket connection to ${url} error: ${error.message}`);
};
ws.onclose = (error) => {
console.log(`Websocket connection to ${url} closed: ${error.message}`);
};
ws.onconnecting = () => {
console.log(`Reconnecting to ${url}`);
};
ws.onmessage = (message) => {
console.log(message.data)
};
But it did not work, please help to give me some advice. Thank you so much for your time.
from tmkms.
@congle-ibl tmkms does not support web sockets
from tmkms.
Related Issues (20)
- Parse tmkms.toml error HOT 1
- tmkms fatal error: parse error: invalid character `.` HOT 1
- Support for Consumer Chains? HOT 1
- Protobuf: buffer underflow HOT 72
- Hardware requirements HOT 2
- Allow restore from 4-character mnemonics HOT 1
- tmkms vs yubihsm2 sdk version dependency HOT 3
- Enable support for secp256k1 consensus key HOT 24
- Is secret_key = "path/to/secret_connection.key" Required? HOT 4
- quicksilverd "failed to process message" errors for TMKMS signed votes HOT 4
- Protocol error: and USB error HOT 3
- Privval protocol incompatibility with namada node HOT 5
- consensus failure on cosmos-sdk v0.50.2 and comet v0.38.2 HOT 12
- Add support for vote extensions in CometBFT 0.38 or greater HOT 1
- Transaction signing from a custom application HOT 7
- Compatibility with simapp on cometbtf 0.38.5 HOT 1
- Resource temporarily unavailable (os error 11) during failovers HOT 2
- Unable to compile for ARM64 from Linux x86_64 HOT 1
- Terra 2 doesn't move past Starting IndexerService service
- Is tendermint KMS still support Ledger Hardware? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tmkms.