testnet test + something about smts

in #busy5 years ago

Trying to access the testnet using dsteem:

Failed to load resource: the server responded with a status of 403 (Forbidden)

Access to fetch at 'http://testnet.steemdev.com/' from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

Not looking for a workaround.
I was told, this is something stinc can easily fix on their end.

Since none of the libraries such as steem-js, dsteem, steem-python or beem seem to have been updated, I can not really use them to try out smts.

cli_wallet has been updated but is too much hassle and I still have the timeout issue.

I could not test anything

I looked at the chain operations in the source, though.
Most are pretty straightforward, and I can read them alright.

https://github.com/steemit/steem/blob/master/libraries/protocol/include/steem/protocol/smt_operations.hpp

This is a smt parameter:

 smt_param_windows_v1
{
   uint32_t cashout_window_seconds = 0;                // STEEM_CASHOUT_WINDOW_SECONDS
   uint32_t reverse_auction_window_seconds = 0;        // STEEM_REVERSE_AUCTION_WINDOW_SECONDS
};

It lets you set up your own cashout window and your own reverse auction curation early cutoff thing for your smt.

You will be able to set your own vote regeneration rate:

struct smt_param_vote_regeneration_period_seconds_v1
{
   uint32_t vote_regeneration_period_seconds = 0;      // STEEM_VOTING_MANA_REGENERATION_SECONDS
   uint32_t votes_per_regeneration_period = 0;
};

It even looks like you can pick a reward distribution function:

struct smt_param_rewards_v1
{
   uint128_t               content_constant = 0;
   uint16_t                percent_curation_rewards = 0;
   protocol::curve_id      author_reward_curve;
   protocol::curve_id      curation_reward_curve;
};

It has to be a 'curve' which is already defined in the code, though.

It looks like you can set a dozen parameters for your own token.
It looks kind of cool.

Who would be interested in a 'random' token ?

Sort:  

To listen to the audio version of this article click on the play image.

Brought to you by @tts. If you find it useful please consider upvoting this reply.

Hab´ nur Bahnhof verstanden, aber danke für Deine Versuche, die SMTs zu testen. Wird das noch gefixed?

Wenn's mal wer merkt ...

Coin Marketplace

STEEM 0.21
TRX 0.20
JST 0.034
BTC 98163.99
ETH 3354.48
USDT 1.00
SBD 3.02