Comments (6)
Can you try with http:// prefix?
You could keep the code unchanged and use this method:
steem.api.setWebSocket('http://127.0.0.1:8090');
from steem-js.
No, this is not work, cause library still trying connection to wss://steemit.com/wspa.
And second problem. When i try convert private key to pub key, i have preffix like: "STM", but we use "GLS". So, i have changed it, but broadcast still going throw Steemit.
So, better i ask team about official node, which works throw websocket? Or you have one more solution?
from steem-js.
Yes you could try with this WS wss://ws.golos.io see if it solve the issue.
from steem-js.
I have changed node to url: "wss://ws.golos.io" and connection establishment successful. I change prefix STM to GLS everywhere. But when i broadcast vote, i see:
Error: 3030008 tx_missing_posting_auth: missing required posting authority
And reason - i see different keys in 'ops' segment with real authority keys
Error: 3030008 tx_missing_posting_auth: missing required posting authority
Missing Posting Authority dark.sun
{"id":"dark.sun","posting":{"weight_threshold":1,"account_auths":[],"key_auths":[["GLS77wx6Remi2hiG8zVaDAfJJGcWWkXCQjooYeqUXNqMcy3ceEWL5",1]]},"active":{"weight_threshold":1,"account_auths":[],"key_auths":[["GLS6DpEiFL9wUCcU5i1px32bg3JRfuj6b2cAQJDe6LXEAEau3h4Hu",1]]},"owner":{"weight_threshold":1,"account_auths":[],"key_auths":[["GLS5SuW1agnFV86Fb3zKMrax4sRXUq6gdUhZt8Wqwv7PdeVEhE4dh",1]]}} th_a transaction.cpp:132 verify_authority
{"ops":[["vote",{"voter":"dark.sun","author":"lesnik","permlink":"sobranie-khudozhestvennyi-rasskaz","weight":10000}]],"sigs":["GLS7X2yxbRbna7ExBS9kSq7frmYCyVPtNp1Lf2hf51xaWT44t6yD3"]} th_a transaction.cpp:174 verify_authority
{"*this":{"ref_block_num":49728,"ref_block_prefix":1673285747,"expiration":"2016-12-13T21:20:32","operations":[["vote",{"voter":"dark.sun","author":"lesnik","permlink":"sobranie-khudozhestvennyi-rasskaz"...8432226f44424bcbb5f02f586dafd"]}} th_a transaction.cpp:287 verify_authority
{"trx":{"ref_block_num":49728,"ref_block_prefix":1673285747,"expiration":"2016-12-13T21:20:32","operations":[["vote",{"voter":"dark.sun","author":"lesnik","permlink":"sobranie-khudozhestvennyi-rasskaz","weight":10000}]],"extensions":[],"signatures":["…
Any suggestions? When i command
getKeyReferences
- in answer i have name my account
from steem-js.
So, what can i do?
Always, when i sign vote transaction, i have different key in error message:
{"ops":[["vote",{"voter":"dark.sun","author":"natka2","permlink":"zharkii-ogon","weight":10000}]],"sigs":["GLS7bSTdfLrNVLYe7GE1JLrXXqBPnk4edvg3RLwiGcHzhQuJ5bHBU"]}
th_a transaction.cpp:174 verify_authority
{"ops":[["vote",{"voter":"dark.sun","author":"natka2","permlink":"zharkii-ogon","weight":10000}]],"sigs":["GLS6euRymsEN1X96d4r7c2eLd76tLw3ENTWyucBTymhFUcKFtVyGS"]}
th_a transaction.cpp:174 verify_authority
How i can fix it?
from steem-js.
After change chain-id all works fine. Thanks for attention. %)
from steem-js.
Related Issues (20)
- bip39 compatibility
- steem-js cannot be imported into typescript project but can with js project... HOT 1
- SMT HF support
- Update tests to use a testing authority
- Angular 8.2.13 Build : An unhandled exception occurred: Unexpected token: punc ()) HOT 1
- Add smt_setup_ico_tier_operation to steem-js
- Are the docs out of date? HOT 4
- [HF 23] transfer_to_vesting and other ops serialization
- get address from privateKey HOT 4
- claim_account and create_claimed_account need a dedicated API
- Get Version of the Libary used
- transfer STEEM failed by steem-js HOT 1
- Error to fetch content HOT 1
- steem.broadcast.transfer private message not working HOT 3
- When call steem.api.getDynamicGlobalProperties() HOT 2
- why does a vital part always need to be missing from the docs...
- Proper Documentation HOT 1
- Update webpack.config.js for webpack versions > 5.0.0
- Update Webpack Example to Webpack Version greater than 5.x.x
- ERROR: Permission to steemit/steem-js.git denied 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 steem-js.