steemit / dsteem Goto Github PK
View Code? Open in Web Editor NEWThis project forked from jnordberg/dsteem
Steem blockchain RPC client
Home Page: https://jnordberg.github.io/dsteem/
License: Other
This project forked from jnordberg/dsteem
Steem blockchain RPC client
Home Page: https://jnordberg.github.io/dsteem/
License: Other
As an automation or test-suite I want the ability to very easily set the unique aspects of the testnet to which I am connecting, so that I can be more fully automated, reliable, and save the developers that use me time.
AC
dsteem needs to support serialization of new ops for SMTs.
I'm trying to use the live testnet node described here https://developers.steem.io/testnet/
but I'm getting the error "Invalid cast from type 'array_type' to Object" while trying using the comment command (trying to post something).
Here's my code using dsteem lib:
testnetApi = new dsteem.Client('https://testnet.steemitdev.com', {
chainId: '46d82ab7d8db682eb1959aed0ada039a6d49afa1602491f93dde9cac3e8e6c32',
prefix: 'TST'
});
testnetDSapi.broadcast.comment(article, key);
article object:
article.parent_author = '';
article.title = 'blablah';
article.author = username;
article.parent_permlink = tags[0];
article.permlink = 'valid_permlink'
article.json_metadata = JSON.stringify({
tags: tags
});
If there are make issues in the next deployment
Using [email protected].
Hi the server is telling me the error in the title while I'm trying to submit a post using dsteem lib to steemit.
Full error object:
context:
file: "steem_evaluator.cpp"
hostname: ""
level: "error"
line: 50
method: "validate_permlink_0_1"
timestamp: "xxxxxxxxxx"
I'm trying to submit a permlink of size 59 bytes. For example:
uytgfr6-aswer-asde-asdfg-aswe-aswqerdft-20181025t102537007z
I see at the steem config files that the max permlink constant is 256 bytes. Then why am I getting the error?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.