diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index e3513bc81a25b398d1cfe9065bf4c4fc2714af66..678dd254cbc932124709575a498998424293d26a 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -4,7 +4,7 @@ position: 1
layout: full
---
-Everyone is welcome to contribute code to Steemit, Inc. projects. We have a Code of Conduct;
+Everyone is welcome to contribute code to Hive projects. We have a Code of Conduct;
we ask that you please follow it in all your interactions with our team and your fellow
contributors.
@@ -60,7 +60,7 @@ We will clarify standards of acceptable behavior and we will take appropriate
and fair corrective action in response to any instances of unacceptable behavior.
Instances of abusive, harassing, or otherwise unacceptable behavior may be
-reported by contacting us at github.abuse@steemit.com. All
+reported by contacting us at github.abuse@hive.blog. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. We
maintain strict confidentiality with regard to the reporter of an incident.
diff --git a/Gemfile b/Gemfile
index e477452a208fc6e8bc4f9282969bfc56b7573e09..d50b6737da216bfa227fe05d3006fb171a6fe4d7 100644
--- a/Gemfile
+++ b/Gemfile
@@ -4,7 +4,7 @@ gem 'jekyll'
gem 'neatjson'
gem 'rake'
gem 'git'
-gem 'steem-ruby'
+gem 'hive-ruby'
gem 'html-proofer'
group :jekyll_plugins do
diff --git a/Gemfile.lock b/Gemfile.lock
index a7ab92281e328084fafe58fd93348cbbfb2a2a67..f4a7592a0c4bf1ccb3a1860ce56575d32e24c853 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -4,7 +4,7 @@ GEM
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
base58 (0.2.3)
- bindata (2.4.6)
+ bindata (2.4.8)
bitcoin-ruby (0.0.20)
eventmachine
ffi
@@ -25,6 +25,14 @@ GEM
git (1.6.0)
rchardet (~> 1.8)
hashie (3.6.0)
+ hive-ruby (1.0.1)
+ base58 (~> 0.2, >= 0.2.3)
+ bindata (~> 2.4, >= 2.4.4)
+ bitcoin-ruby (~> 0.0, = 0.0.20)
+ ffi (~> 1.9, >= 1.9.23)
+ hashie (~> 3.5, >= 3.5.7)
+ json (~> 2.1, >= 2.1.0)
+ logging (~> 2.2, >= 2.2.0)
html-proofer (3.15.1)
addressable (~> 2.3)
mercenary (~> 0.3)
@@ -59,7 +67,7 @@ GEM
jekyll (>= 3.7, < 5.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
- json (2.3.0)
+ json (2.3.1)
kramdown (2.1.0)
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
@@ -68,12 +76,12 @@ GEM
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
little-plugger (1.1.4)
- logging (2.2.2)
+ logging (2.3.0)
little-plugger (~> 1.1)
- multi_json (~> 1.10)
+ multi_json (~> 1.14)
mercenary (0.3.6)
mini_portile2 (2.4.0)
- multi_json (1.14.1)
+ multi_json (1.15.0)
neatjson (0.9)
nokogiri (1.10.9)
mini_portile2 (~> 2.4.0)
@@ -95,14 +103,6 @@ GEM
ffi (~> 1.9)
scrypt (3.0.7)
ffi-compiler (>= 1.0, < 2.0)
- steem-ruby (0.9.4)
- base58 (~> 0.2, >= 0.2.3)
- bindata (~> 2.4, >= 2.4.4)
- bitcoin-ruby (~> 0.0, >= 0.0.18)
- ffi (~> 1.9, >= 1.9.23)
- hashie (~> 3.5, >= 3.5.7)
- json (~> 2.1, >= 2.1.0)
- logging (~> 2.2, >= 2.2.0)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
typhoeus (1.3.1)
@@ -115,13 +115,13 @@ PLATFORMS
DEPENDENCIES
git
+ hive-ruby
html-proofer
jekyll
jekyll-seo-tag
jekyll-sitemap
neatjson
rake
- steem-ruby
BUNDLED WITH
2.1.4
diff --git a/Rakefile b/Rakefile
index 5b96e454188889857633d8236965367bce233f57..37ecf066784440819e5731d11b3e5746479b65e7 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,10 +1,6 @@
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'scrape/api_definitions_job'
-require 'generate/tutorials_job/base'
-require 'generate/tutorials_job/javascript'
-require 'generate/tutorials_job/python'
-require 'generate/tutorials_job/ruby'
require 'rake/testtask'
require 'net/https'
@@ -15,54 +11,13 @@ require 'html-proofer'
namespace :scrape do
desc "Scrape API Definitions"
task :api_defs do
- url = ENV.fetch('TEST_NODE', 'https://api.openhive.network')
+ url = ENV.fetch('TEST_NODE', 'https://api.hive.blog')
job = Scrape::ApiDefinitionsJob.new(url: url)
count = job.perform
puts "Methods added or changed: #{count}"
end
end
-
-namespace :gen do
- desc 'Generate all known tutorial README.md files.'
- task :tutorials do
- puts '=' * 80
- puts "JS-Tutorials:"
- Rake::Task["gen:tutorials:js"].invoke
- puts '=' * 80
- puts "PY-Tutorials:"
- Rake::Task["gen:tutorials:py"].invoke
- puts '=' * 80
- puts "RB-Tutorials:"
- Rake::Task["gen:tutorials:rb"].invoke
- end
-
- namespace :tutorials do
- desc 'Generate JS-Tutorials'
- task :js, [:num, :force] do |t, args|
- job = Generate::TutorialsJob::Javascript.new(num: args[:num], force: args[:force])
- count = job.perform
-
- puts "Tutorials added or changed: #{count}"
- end
-
- desc 'Generate PY-Tutorials'
- task :py, [:num, :force] do |t, args|
- job = Generate::TutorialsJob::Python.new(num: args[:num], force: args[:force])
- count = job.perform
-
- puts "Tutorials added or changed: #{count}"
- end
-
- desc 'Generate RB-Tutorials'
- task :rb, [:num, :force] do |t, args|
- job = Generate::TutorialsJob::Ruby.new(num: args[:num], force: args[:force])
- count = job.perform
-
- puts "Tutorials added or changed: #{count}"
- end
- end
-end
namespace :production do
task :prevent_dirty_builds do
@@ -145,16 +100,16 @@ namespace :test do
desc "Tests the curl examples of api definitions. Known APIs: #{KNOWN_APIS.join(' ')}"
task :curl, [:apis] do |t, args|
smoke = 0
- url = ENV.fetch('TEST_NODE', 'https://api.openhive.network')
+ url = ENV.fetch('TEST_NODE', 'https://api.hive.blog')
apis = [args[:apis].split(' ').map(&:to_sym)].flatten if !!args[:apis]
apis ||= KNOWN_APIS
version = `curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.get_version", "params":[], "id":1}' #{url}`
version = JSON[version]['result']
blockchain_version = version['blockchain_version']
- steem_rev = version['steem_revision'][0..5]
+ hive_rev = version['hive_revision'][0..5]
fc_rev = version['fc_revision'][0..5]
- puts "node: #{url}; blockchain_version: #{blockchain_version}; steem_rev: #{steem_rev}; fc_rev: #{fc_rev}"
+ puts "node: #{url}; blockchain_version: #{blockchain_version}; hive_rev: #{hive_rev}; fc_rev: #{fc_rev}"
apis.each do |api|
file_name = "_data/apidefinitions/#{api}.yml"
diff --git a/_data/apidefinitions/bridge.yml b/_data/apidefinitions/bridge.yml
index 95de3f520633e5636f4f296858886bf6c7bdb4a2..7377644bcc750670b71e816473ecae9b746f61a5 100644
--- a/_data/apidefinitions/bridge.yml
+++ b/_data/apidefinitions/bridge.yml
@@ -57,7 +57,7 @@
},
"beneficiaries":[],
"max_accepted_payout":"1000000.000 HBD",
- "percent_steem_dollars":10000,
+ "percent_hbd":10000,
"url":"/wonderland/@alice/that-march-hare",
"blacklists":[]
}
diff --git a/_data/apidefinitions/broadcast_ops.yml b/_data/apidefinitions/broadcast_ops.yml
index b1c3a5397b012829af8e8f776020a8aa3dda7fc0..f882d3ac2423131c6fa4d7e9cb1977b658869807 100644
--- a/_data/apidefinitions/broadcast_ops.yml
+++ b/_data/apidefinitions/broadcast_ops.yml
@@ -312,7 +312,7 @@
since: HF20
virtual: false
purpose: |
- When used with `claim_account`, works identically to `account_create`. See: [Steem 0.20.2 Release Notes](https://github.com/steemit/steem/releases/tag/v0.20.2)
+ When used with `claim_account`, works identically to `account_create`. See: [Hive 0.20.2 Release Notes](https://github.com/steemit/steem/releases/tag/v0.20.2)
roles:
- active
owner
@@ -330,7 +330,7 @@
since: HF20
virtual: false
purpose: |
- When used with `create_claimed_account`, works identically to `account_create`. See: [Steem 0.20.2 Release Notes](https://github.com/steemit/steem/releases/tag/v0.20.2)
+ When used with `create_claimed_account`, works identically to `account_create`. See: [Hive 0.20.2 Release Notes](https://github.com/steemit/steem/releases/tag/v0.20.2)
roles:
- active
owner
@@ -354,7 +354,7 @@
props
extensions
json_examples:
- - '["witness_set_properties",{"owner":"alice", "props":{"account_creation_fee":"0.000 HIVE","account_subsidy_budget":10000,"account_subsidy_decay":330782,"maximum_block_size":65536,"sbd_interest_rate": "0.000 HIVE","sbd_exchange_rate":{"base": "0.000 HBD", "quote": "0.000 HIVE"}, "url": "68747470733A2F2F737465656D69742E636F6D", "new_signing_key": "25688bbe7b1204f26e40be054c8b2ff1997eec6d4e7be6a105aab8a0e6f11c616d7cb6066"}, "extensions": []}]'
+ - '["witness_set_properties",{"owner":"alice", "props":{"account_creation_fee":"0.000 HIVE","account_subsidy_budget":10000,"account_subsidy_decay":330782,"maximum_block_size":65536,"hbd_interest_rate": "0.000 HIVE","hbd_exchange_rate":{"base": "0.000 HBD", "quote": "0.000 HIVE"}, "url": "68747470733A2F2F737465656D69742E636F6D", "new_signing_key": "25688bbe7b1204f26e40be054c8b2ff1997eec6d4e7be6a105aab8a0e6f11c616d7cb6066"}, "extensions": []}]'
- name: account_update
virtual: false
purpose:
@@ -425,7 +425,7 @@
props
fee
json_examples:
- - '["witness_update",{"owner":"alice","url":"witness-category/my-witness","block_signing_key":"STM8LoQjQqJHvotqBo7HjnqmUbFW9oJ2theyqonzUd9DdJ7YYHsvD","props":{"account_creation_fee":{"amount":"100000","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"sbd_interest_rate":1000},"fee":{"amount":"0","precision":3,"nai":"@@000000021"}}]'
+ - '["witness_update",{"owner":"alice","url":"witness-category/my-witness","block_signing_key":"STM8LoQjQqJHvotqBo7HjnqmUbFW9oJ2theyqonzUd9DdJ7YYHsvD","props":{"account_creation_fee":{"amount":"100000","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"hbd_interest_rate":1000},"fee":{"amount":"0","precision":3,"nai":"@@000000021"}}]'
- name: account_witness_vote
virtual: false
purpose: |
@@ -474,7 +474,7 @@
signature
work
json_examples:
- - '["pow",{"worker_account":"admin","block_id":"000004433bd4602cf5f74dbb564183837df9cef8","nonce":82,"work":{"worker":"STM65wH1LZ7BfSHcK69SShnqCAH5xdoSZpGkUjmzHJ5GCuxEK9V5G","input":"59b009f89477919f95914151cef06f28bf344dd6fb7670aca1c1f4323c80446b","signature":"1f3f83209097efcd01b7d6f27ce726164323d503d6fcf4d55bfb7cb3032796f6766738b36062b5850d69447fdf9c091cbc70825df5eeacc4710a0b11ffdbf0912a","work":"0b62f4837801cd857f01d6a541faeb13d6bb95f1c36c6b4b14a47df632aa6c92"},"props":{"account_creation_fee":{"amount":"100000","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"sbd_interest_rate":1000}}]'
+ - '["pow",{"worker_account":"admin","block_id":"000004433bd4602cf5f74dbb564183837df9cef8","nonce":82,"work":{"worker":"STM65wH1LZ7BfSHcK69SShnqCAH5xdoSZpGkUjmzHJ5GCuxEK9V5G","input":"59b009f89477919f95914151cef06f28bf344dd6fb7670aca1c1f4323c80446b","signature":"1f3f83209097efcd01b7d6f27ce726164323d503d6fcf4d55bfb7cb3032796f6766738b36062b5850d69447fdf9c091cbc70825df5eeacc4710a0b11ffdbf0912a","work":"0b62f4837801cd857f01d6a541faeb13d6bb95f1c36c6b4b14a47df632aa6c92"},"props":{"account_creation_fee":{"amount":"100000","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"hbd_interest_rate":1000}}]'
- name: custom
virtual: false
purpose: |
@@ -564,13 +564,13 @@
**Notes:**
* The max_accepted_payout may be decreased, but never increased.
- * The percent_steem_dollars may be decreased, but never increased.
+ * The percent_hbd may be decreased, but never increased.
* Part of `comment_option` validation process, to be called when
`allowed_vote_assets` object has been added as comment option extension are:
* When votable assets are greater than maximum votable assets: *"Too much votable assets specified"*
* When the symbol is not allowed in the list for votable assets: *"HIVE can not be explicitly specified as one of allowed_vote_assets"*
* `max_accepted_payout`: HBD value of the maximum payout this post will receive
- * `percent_steem_dollars`: the percent of Hive Dollars to key, unkept amounts will be received as Hive Power
+ * `percent_hbd`: the percent of Hive Dollars to key, unkept amounts will be received as Hive Power
* `allow_votes`: allows/disallows a post to receive votes;
* `allow_curation_rewards`: allows/disllows voters to recieve curation rewards. Rewards return to reward fund.
* `beneficiaries`
@@ -587,14 +587,14 @@
- author
permlink
max_accepted_payout
- percent_steem_dollars
+ percent_hbd
allow_votes
allow_curation_rewards
extensions
json_examples:
- - '["comment_options",{"author":"alice","permlink":"a-post-by-alice","max_accepted_payout":{"amount":"1000000","precision":3,"nai":"@@000000013"},"percent_steem_dollars":5000,"allow_votes":true,"allow_curation_rewards":true,"extensions":[]}]'
- - '["comment_options",{"author":"bob","permlink":"a-post-with-a-beneficiary","max_accepted_payout":{"amount":"1000000","precision":3,"nai":"@@000000013"},"percent_steem_dollars":63,"allow_votes":true,"allow_curation_rewards":true,"extensions":[[0,{"beneficiaries":[{"account":"charlie","weight":1000}]}]]}]'
- - '["comment_options",{"author":"charlie","permlink":"a-post-with-multiple-beneficiaries","max_accepted_payout":{"amount":"1000000","precision":3,"nai":"@@000000013"},"percent_steem_dollars":62688,"allow_votes":true,"allow_curation_rewards":true,"extensions":[[0,{"beneficiaries":[{"account":"david","weight":500},{"account":"erin","weight":500},{"account":"faythe","weight":1000},{"account":"frank","weight":500}]}]]}]'
+ - '["comment_options",{"author":"alice","permlink":"a-post-by-alice","max_accepted_payout":{"amount":"1000000","precision":3,"nai":"@@000000013"},"percent_hbd":5000,"allow_votes":true,"allow_curation_rewards":true,"extensions":[]}]'
+ - '["comment_options",{"author":"bob","permlink":"a-post-with-a-beneficiary","max_accepted_payout":{"amount":"1000000","precision":3,"nai":"@@000000013"},"percent_hbd":63,"allow_votes":true,"allow_curation_rewards":true,"extensions":[[0,{"beneficiaries":[{"account":"charlie","weight":1000}]}]]}]'
+ - '["comment_options",{"author":"charlie","permlink":"a-post-with-multiple-beneficiaries","max_accepted_payout":{"amount":"1000000","precision":3,"nai":"@@000000013"},"percent_hbd":62688,"allow_votes":true,"allow_curation_rewards":true,"extensions":[[0,{"beneficiaries":[{"account":"david","weight":500},{"account":"erin","weight":500},{"account":"faythe","weight":1000},{"account":"frank","weight":500}]}]]}]'
- name: set_withdraw_vesting_route
virtual: false
purpose: |
@@ -779,7 +779,7 @@
Escrow transactions are uniquely identified by `from` and `escrow_id`,
the `escrow_id` is defined by the sender.
- See: [steem_operations.hpp:229](https://github.com/steemit/steem/blob/86ec544b731680eaba3808cc7a41e8ea73d89701/libraries/chain/include/steemit/chain/protocol/steem_operations.hpp#L229-L322)
+ See: [hive_operations.hpp:229](https://github.com/steemit/steem/blob/86ec544b731680eaba3808cc7a41e8ea73d89701/libraries/chain/include/steemit/chain/protocol/hive_operations.hpp#L229-L322)
roles:
- active
owner
@@ -788,14 +788,14 @@
to
agent
escrow_id
- sbd_amount
- steem_amount
+ hbd_amount
+ hive_amount
fee
ratification_deadline
escrow_expiration
json_meta
json_examples:
- - '["escrow_transfer",{"from":"alice","to":"bob","sbd_amount":{"amount":"1000","precision":3,"nai":"@@000000013"},"steem_amount":{"amount":"0","precision":3,"nai":"@@000000021"},"escrow_id":23456789,"agent":"charlie","fee":{"amount":"100","precision":3,"nai":"@@000000013"},"json_meta":"{}","ratification_deadline":"2017-02-26T11:22:39","escrow_expiration":"2017-02-28T11:22:39"}]'
+ - '["escrow_transfer",{"from":"alice","to":"bob","hbd_amount":{"amount":"1000","precision":3,"nai":"@@000000013"},"hive_amount":{"amount":"0","precision":3,"nai":"@@000000021"},"escrow_id":23456789,"agent":"charlie","fee":{"amount":"100","precision":3,"nai":"@@000000013"},"json_meta":"{}","ratification_deadline":"2017-02-26T11:22:39","escrow_expiration":"2017-02-28T11:22:39"}]'
- name: escrow_dispute
since: HF14
virtual: false
@@ -804,7 +804,7 @@
can raise it for dispute. Once a payment is in dispute, the agent has
authority over who gets what.
- See: [steem_operations.hpp:229](https://github.com/steemit/steem/blob/86ec544b731680eaba3808cc7a41e8ea73d89701/libraries/chain/include/steemit/chain/protocol/steem_operations.hpp#L229-L322)
+ See: [hive_operations.hpp:229](https://github.com/steemit/steem/blob/86ec544b731680eaba3808cc7a41e8ea73d89701/libraries/chain/include/steemit/chain/protocol/hive_operations.hpp#L229-L322)
roles:
- active
owner
@@ -831,7 +831,7 @@
* If there is a dispute regardless of expiration, the agent can
release funds to either party following whichever agreement was in place between the parties.
- See: [steem_operations.hpp:229](https://github.com/steemit/steem/blob/86ec544b731680eaba3808cc7a41e8ea73d89701/libraries/chain/include/steemit/chain/protocol/steem_operations.hpp#L229-L322)
+ See: [hive_operations.hpp:229](https://github.com/steemit/steem/blob/86ec544b731680eaba3808cc7a41e8ea73d89701/libraries/chain/include/steemit/chain/protocol/hive_operations.hpp#L229-L322)
roles:
- active
owner
@@ -842,10 +842,10 @@
who
receiver
escrow_id
- sbd_amount
- steem_amount
+ hbd_amount
+ hive_amount
json_examples:
- - '["escrow_release",{"from":"alice","to":"bob","agent":"charlie","who":"charlie","receiver":"bob","escrow_id":72526562,"sbd_amount":{"amount":"5000","precision":3,"nai":"@@000000013"},"steem_amount":{"amount":"0","precision":3,"nai":"@@000000021"}}]'
+ - '["escrow_release",{"from":"alice","to":"bob","agent":"charlie","who":"charlie","receiver":"bob","escrow_id":72526562,"hbd_amount":{"amount":"5000","precision":3,"nai":"@@000000013"},"hive_amount":{"amount":"0","precision":3,"nai":"@@000000021"}}]'
- name: pow2
disabled: true
virtual: false
@@ -858,7 +858,7 @@
- input
pow_summary
json_examples:
- - '["pow2",{"work":[0,{"input":{"worker_account":"alice","prev_block":"003ea604345523c344fbadab605073ea712dd76f","nonce":"1052853013628665497"},"pow_summary":3817904373}],"props":{"account_creation_fee":{"amount":"1","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"sbd_interest_rate":1000}}]'
+ - '["pow2",{"work":[0,{"input":{"worker_account":"alice","prev_block":"003ea604345523c344fbadab605073ea712dd76f","nonce":"1052853013628665497"},"pow_summary":3817904373}],"props":{"account_creation_fee":{"amount":"1","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"hbd_interest_rate":1000}}]'
- name: escrow_approve
since: HF14
virtual: false
@@ -868,7 +868,7 @@
cannot revoke their approval. Subsequent escrow approve operations,
regardless of the approval, will be rejected.
- See: [steem_operations.hpp:229](https://github.com/steemit/steem/blob/86ec544b731680eaba3808cc7a41e8ea73d89701/libraries/chain/include/steemit/chain/protocol/steem_operations.hpp#L229-L322)
+ See: [hive_operations.hpp:229](https://github.com/steemit/steem/blob/86ec544b731680eaba3808cc7a41e8ea73d89701/libraries/chain/include/steemit/chain/protocol/hive_operations.hpp#L229-L322)
roles:
- active
owner
@@ -893,7 +893,7 @@
Assuming an account can be recovered quickly, loss in such situations
can be kept to a minimum.
- See: [steem_operations.hpp:868](https://github.com/steemit/steem/blob/86ec544b731680eaba3808cc7a41e8ea73d89701/libraries/chain/include/steemit/chain/protocol/steem_operations.hpp#L868-L895)
+ See: [hive_operations.hpp:868](https://github.com/steemit/steem/blob/86ec544b731680eaba3808cc7a41e8ea73d89701/libraries/chain/include/steemit/chain/protocol/hive_operations.hpp#L868-L895)
roles:
- active
owner
@@ -941,7 +941,7 @@
binary deserialization of plugin operations and should improve overall
performance of plugins that chose to use it.
- See: [steem_operations.hpp:491](https://github.com/steemit/steem/blob/86ec544b731680eaba3808cc7a41e8ea73d89701/libraries/chain/include/steemit/chain/protocol/steem_operations.hpp#L491-L506)
+ See: [hive_operations.hpp:491](https://github.com/steemit/steem/blob/86ec544b731680eaba3808cc7a41e8ea73d89701/libraries/chain/include/steemit/chain/protocol/hive_operations.hpp#L491-L506)
roles:
- posting
active
@@ -959,7 +959,7 @@
formalize a smart contract between certain accounts and the community
that currently only exists as a social contract.
- See: [steem_operations.hpp:897](https://github.com/steemit/steem/blob/86ec544b731680eaba3808cc7a41e8ea73d89701/libraries/chain/include/steemit/chain/protocol/steem_operations.hpp#L897-L905)
+ See: [hive_operations.hpp:897](https://github.com/steemit/steem/blob/86ec544b731680eaba3808cc7a41e8ea73d89701/libraries/chain/include/steemit/chain/protocol/hive_operations.hpp#L897-L905)
roles:
- owner
params:
@@ -1008,11 +1008,11 @@
owner
params:
- account
- reward_steem
- reward_sbd
+ reward_hive
+ reward_hbd
reward_vests
json_examples:
- - '["claim_reward_balance",{"account":"alice","reward_steem":{"amount":"17","precision":3,"nai":"@@000000021"},"reward_sbd":{"amount":"11","precision":3,"nai":"@@000000013"},"reward_vests":{"amount":"185025103","precision":6,"nai":"@@000000037"}}]'
+ - '["claim_reward_balance",{"account":"alice","reward_hive":{"amount":"17","precision":3,"nai":"@@000000021"},"reward_hbd":{"amount":"11","precision":3,"nai":"@@000000013"},"reward_vests":{"amount":"185025103","precision":6,"nai":"@@000000037"}}]'
- name: delegate_vesting_shares
since: HF17
virtual: false
@@ -1027,7 +1027,7 @@
to prevent a satoshi of VESTS from voting on the same content twice.
Also see:
- * [steem_evaluator.cpp:2309](https://github.com/steemit/steem/blob/4b19e00dd6a76699aa4de1c0d50aad392cd2d0b6/libraries/chain/steem_evaluator.cpp#L2309)
+ * [hive_evaluator.cpp:2309](https://github.com/steemit/steem/blob/4b19e00dd6a76699aa4de1c0d50aad392cd2d0b6/libraries/chain/hive_evaluator.cpp#L2309)
roles:
- active
owner
@@ -1059,7 +1059,7 @@
Also see:
* [config.hpp:145](https://github.com/steemit/steem/blob/65c58af34971416057e142ac1332421e2228749b/libraries/protocol/include/steem/protocol/config.hpp#L145)
- * [steem_evaluator.cpp:400](https://github.com/steemit/steem/blob/4b19e00dd6a76699aa4de1c0d50aad392cd2d0b6/libraries/chain/steem_evaluator.cpp#L400)
+ * [hive_evaluator.cpp:400](https://github.com/steemit/steem/blob/4b19e00dd6a76699aa4de1c0d50aad392cd2d0b6/libraries/chain/hive_evaluator.cpp#L400)
roles:
- active
owner
@@ -1152,7 +1152,7 @@
purpose: |
This operation is used to cast a vote on a post/comment using multiple votable assets.
- See: [#2748](https://github.com/steemit/steem/issues/2748), [SMT Voting Mana Deep Dive](https://steemit.com/smt/@vandeberg/smt-voting-mana-deep-dive)
+ See: [#2748](https://github.com/steemit/steem/issues/2748), [SMT Voting Mana Deep Dive](https://hive.blog/smt/@vandeberg/smt-voting-mana-deep-dive)
roles:
- posting
active
@@ -1178,9 +1178,9 @@
* `contribution_begin_time` - The start time of the ICO contribution process.
* `contribution_end_time` - The end time of the ICO contribution process.
* `launch_time` - The time in which a token should launch.
- * `steem_units_min` - The minimum steem units required for a successful ICO.
- * `steem_units_soft_cap` - The steem unit cap in which the pre_soft_cap_unit generation policy applies.
- * `steem_units_hard_cap` - The steem unit cap in which the post_soft_cap_unit generation policy applies.
+ * `hive_units_min` - The minimum steem units required for a successful ICO.
+ * `hive_units_soft_cap` - The steem unit cap in which the pre_soft_cap_unit generation policy applies.
+ * `hive_units_hard_cap` - The steem unit cap in which the post_soft_cap_unit generation policy applies.
* `initial_generation_policy` - A JSON string of the HIVE and token destination routes of the ICO process.
**Example Initial Generation Policy JSON:**
@@ -1188,19 +1188,19 @@
```json
{"type": "smt_capped_generation_policy", "value": {
"pre_soft_cap_unit": {
- "steem_unit": [["alice", 100]],
+ "hive_unit": [["alice", 100]],
"token_unit": [["$from", 5], ["alice", 1]]
},
"post_soft_cap_unit": {
- "steem_unit": [["alice", 100]],
+ "hive_unit": [["alice", 100]],
"token_unit": [["$from", 5], ["alice", 1]]
},
- "min_steem_units_commitment": {
+ "min_hive_units_commitment": {
"lower_bound": 1,
"upper_bound": 1,
"hash": "32edb6022c0921d99aa347e9cda5dc2db413f5574eebaaa8592234308ffebd2b"
},
- "hard_cap_steem_units_commitment": {
+ "hard_cap_hive_units_commitment": {
"lower_bound": "166666666666",
"upper_bound": "166666666666",
"hash": "93c5a6b892de788c5b54b63b91c4b692e36099b05d3af0d16d01c854723dda21"
@@ -1225,13 +1225,13 @@
contribution_end_time
launch_time
max_supply
- steem_units_hard_cap
- steem_units_soft_cap
- steem_units_min
+ hive_units_hard_cap
+ hive_units_soft_cap
+ hive_units_min
initial_generation_policy
extensions
json_examples:
- - '["smt_setup",{"control_account":"alice","symbol":{"nai": "@@000000000", "decimals": 0},"contribution_begin_time":"2019-08-26T11:22:39","contribution_end_time":"2019-08-26T11:22:39","launch_time":"2019-09-26T11:22:39","max_supply":1000000000000000,"steem_units_hard_cap":10000,"steem_units_soft_cap":1000,"steem_units_min":0,"initial_generation_policy":"{\"type\":\"smt_capped_generation_policy\",\"value\":{\"pre_soft_cap_unit\":{\"steem_unit\":[[\"alice\",100]],\"token_unit\":[[\"$from\",5],[\"alice\",1]]},\"post_soft_cap_unit\":{\"steem_unit\":[[\"alice\",100]],\"token_unit\":[[\"$from\",5],[\"alice\",1]]},\"min_steem_units_commitment\":{\"lower_bound\":1,\"upper_bound\":1,\"hash\":\"32edb6022c0921d99aa347e9cda5dc2db413f5574eebaaa8592234308ffebd2b\"},\"hard_cap_steem_units_commitment\":{\"lower_bound\":\"166666666666\",\"upper_bound\":\"166666666666\",\"hash\":\"93c5a6b892de788c5b54b63b91c4b692e36099b05d3af0d16d01c854723dda21\"},\"soft_cap_percent\":10000,\"min_unit_ratio\":1000,\"max_unit_ratio\":1000,\"extensions\":[]}}","extensions":[]}]'
+ - '["smt_setup",{"control_account":"alice","symbol":{"nai": "@@000000000", "decimals": 0},"contribution_begin_time":"2019-08-26T11:22:39","contribution_end_time":"2019-08-26T11:22:39","launch_time":"2019-09-26T11:22:39","max_supply":1000000000000000,"hive_units_hard_cap":10000,"hive_units_soft_cap":1000,"hive_units_min":0,"initial_generation_policy":"{\"type\":\"smt_capped_generation_policy\",\"value\":{\"pre_soft_cap_unit\":{\"hive_unit\":[[\"alice\",100]],\"token_unit\":[[\"$from\",5],[\"alice\",1]]},\"post_soft_cap_unit\":{\"hive_unit\":[[\"alice\",100]],\"token_unit\":[[\"$from\",5],[\"alice\",1]]},\"min_hive_units_commitment\":{\"lower_bound\":1,\"upper_bound\":1,\"hash\":\"32edb6022c0921d99aa347e9cda5dc2db413f5574eebaaa8592234308ffebd2b\"},\"hard_cap_hive_units_commitment\":{\"lower_bound\":\"166666666666\",\"upper_bound\":\"166666666666\",\"hash\":\"93c5a6b892de788c5b54b63b91c4b692e36099b05d3af0d16d01c854723dda21\"},\"soft_cap_percent\":10000,\"min_unit_ratio\":1000,\"max_unit_ratio\":1000,\"extensions\":[]}}","extensions":[]}]'
- name: smt_setup_emissions
since: Mysterious Future
virtual: false
@@ -1427,7 +1427,7 @@
trx_id
op_in_trx
json_examples:
- - '["proposal_pay",{"receiver":"steem.dao","payment":"1.637 HBD","trx_id":"0000000000000000000000000000000000000000","op_in_trx":0}]'
+ - '["proposal_pay",{"receiver":"hive.fund","payment":"1.637 HBD","trx_id":"0000000000000000000000000000000000000000","op_in_trx":0}]'
- name: sps_fund
since: HF21
virtual: true
@@ -1446,7 +1446,7 @@
virtual: true
purpose: |
Fills when conversion requests with a conversion date before the head
- block time and then converts them to/from steem/sbd at the current
+ block time and then converts them to/from steem/hbd at the current
median price feed history price times the premium.
roles:
- active
@@ -1466,8 +1466,8 @@
params:
- author
permlink
- sbd_payout
- steem_payout
+ hbd_payout
+ hive_payout
vesting_payout
- name: curation_reward
virtual: true
diff --git a/_data/apidefinitions/condenser_api.yml b/_data/apidefinitions/condenser_api.yml
index 3df63e98ebf16bbcda4ce84fe7251c6b613d6d85..92895a26395c7c7d2ebad8397db3e2ec35dbd464 100644
--- a/_data/apidefinitions/condenser_api.yml
+++ b/_data/apidefinitions/condenser_api.yml
@@ -55,7 +55,7 @@
- '{"jsonrpc":"2.0", "method":"condenser_api.broadcast_transaction", "params":[{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[["vote",{"voter":"hiveio","author":"alice","permlink":"a-post-by-alice","weight":10000}]],"extensions":[],"signatures":[]}],
"id":1}'
- '{"jsonrpc":"2.0", "method":"condenser_api.broadcast_transaction", "params":[{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[["pow",{"worker_account":"cloop3","block_id":"00000449f7860b82b4fbe2f317c670e9f01d6d9a","nonce":3899,"work":{"worker":"STM7P5TDnA87Pj9T4mf6YHrhzjC1KbPZpNxLWCcVcHxNYXakpoT4F","input":"ae8e7c677119d22385f8c48026fee7aad7bba693bf788d7f27047f40b47738c0","signature":"1f38fe9a3f9989f84bd94aa5bbc88beaf09b67f825aa4450cf5105d111149ba6db560b582c7dbb026c7fc9c2eb5051815a72b17f6896ed59d3851d9a0f9883ca7a","work":"000e7b209d58f2e64b36e9bf12b999c6c7af168cc3fc41eb7f8a4bf796c174c3"},"props":{"account_creation_fee":"100.000
- HIVE","maximum_block_size":131072,"sbd_interest_rate":1000}}]],"extensions":[],"signatures":[]}],
+ HIVE","maximum_block_size":131072,"hbd_interest_rate":1000}}]],"extensions":[],"signatures":[]}],
"id":1}'
expected_curl_responses:
- missing required posting authority
@@ -80,7 +80,7 @@
"id":1}'
- '{"jsonrpc":"2.0", "method":"condenser_api.broadcast_transaction_synchronous",
"params":[{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[["pow",{"worker_account":"cloop3","block_id":"00000449f7860b82b4fbe2f317c670e9f01d6d9a","nonce":3899,"work":{"worker":"STM7P5TDnA87Pj9T4mf6YHrhzjC1KbPZpNxLWCcVcHxNYXakpoT4F","input":"ae8e7c677119d22385f8c48026fee7aad7bba693bf788d7f27047f40b47738c0","signature":"1f38fe9a3f9989f84bd94aa5bbc88beaf09b67f825aa4450cf5105d111149ba6db560b582c7dbb026c7fc9c2eb5051815a72b17f6896ed59d3851d9a0f9883ca7a","work":"000e7b209d58f2e64b36e9bf12b999c6c7af168cc3fc41eb7f8a4bf796c174c3"},"props":{"account_creation_fee":"100.000
- HIVE","maximum_block_size":131072,"sbd_interest_rate":1000}}]],"extensions":[],"signatures":[]}],
+ HIVE","maximum_block_size":131072,"hbd_interest_rate":1000}}]],"extensions":[],"signatures":[]}],
"id":1}'
expected_curl_responses:
- missing required posting authority
@@ -243,19 +243,19 @@
last_vote_time: '2016-12-04T23:10:57'
balance: 0.000 HIVE
savings_balance: 0.0 HIVE
- sbd_balance: 0.0 HBD
- sbd_seconds: ''
- sbd_seconds_last_update: '2018-04-10T04:08:36'
- sbd_last_interest_payment: '2018-03-15T17:58:24'
- savings_sbd_balance: 0.000 HBD
- savings_sbd_seconds: ''
- savings_sbd_seconds_last_update: '1970-01-01T00:00:00'
- savings_sbd_last_interest_payment: '1970-01-01T00:00:00'
+ hbd_balance: 0.0 HBD
+ hbd_seconds: ''
+ hbd_seconds_last_update: '2018-04-10T04:08:36'
+ hbd_last_interest_payment: '2018-03-15T17:58:24'
+ savings_hbd_balance: 0.000 HBD
+ savings_hbd_seconds: ''
+ savings_hbd_seconds_last_update: '1970-01-01T00:00:00'
+ savings_hbd_last_interest_payment: '1970-01-01T00:00:00'
savings_withdraw_requests: 0
- reward_sbd_balance: 0.000 HBD
- reward_steem_balance: 0.000 HIVE
+ reward_hbd_balance: 0.000 HBD
+ reward_hive_balance: 0.000 HIVE
reward_vesting_balance: 0.000000 VESTS
- reward_vesting_steem: 0.000 HIVE
+ reward_vesting_hive: 0.000 HIVE
vesting_shares: 0.000 VESTS
delegated_vesting_shares: 0.000000 VESTS
received_vesting_shares: 0.000000 VESTS
@@ -439,7 +439,7 @@
amount: '1000000000'
pecision: 3
nai: "@@000000013"
- percent_steem_dollars: 10000
+ percent_hbd: 10000
allow_replies: true
allow_votes: true
allow_curation_rewards: true
@@ -503,7 +503,7 @@
expected_response_json:
account_creation_fee: 0.100 HIVE
maximum_block_size: 131072
- sbd_interest_rate: 1000
+ hbd_interest_rate: 1000
account_subsidy_limit: 0
curl_examples:
- '{"jsonrpc":"2.0", "method":"condenser_api.get_chain_properties", "params":[],
@@ -579,7 +579,7 @@
root_author: ''
root_permlink: ''
max_accepted_payout: 0.000 HIVE
- percent_steem_dollars: 0
+ percent_hbd: 0
allow_replies: false
allow_votes: false
allow_curation_rewards: false
@@ -644,7 +644,7 @@
root_author: ''
root_permlink: ''
max_accepted_payout: 0.000 HIVE
- percent_steem_dollars: 0
+ percent_hbd: 0
allow_replies: false
allow_votes: false
allow_curation_rewards: false
@@ -672,7 +672,7 @@
|-------------------|-|
| `1234` | Queries a conversion request with the id of 1234. |
- Also see: [database_api.list_sbd_conversion_requests]({{ '/apidefinitions/#database_api.list_sbd_conversion_requests' | relative_url }})
+ Also see: [database_api.list_hbd_conversion_requests]({{ '/apidefinitions/#database_api.list_hbd_conversion_requests' | relative_url }})
parameter_json:
- 0
expected_response_json: []
@@ -917,16 +917,16 @@
virtual_supply: 0.000 HIVE
current_supply: 0.000 HIVE
confidential_supply: 0.000 HIVE
- current_sbd_supply: 0.000 HIVE
- confidential_sbd_supply: 0.000 HIVE
- total_vesting_fund_steem: 0.000 HIVE
+ current_hbd_supply: 0.000 HIVE
+ confidential_hbd_supply: 0.000 HIVE
+ total_vesting_fund_hive: 0.000 HIVE
total_vesting_shares: 0.000 HIVE
- total_reward_fund_steem: 0.000 HIVE
+ total_reward_fund_hive: 0.000 HIVE
total_reward_shares2: '0'
pending_rewarded_vesting_shares: 0.000 HIVE
- pending_rewarded_vesting_steem: 0.000 HIVE
- sbd_interest_rate: 0
- sbd_print_rate: 10000
+ pending_rewarded_vesting_hive: 0.000 HIVE
+ hbd_interest_rate: 0
+ hbd_print_rate: 10000
maximum_block_size: 0
current_aslot: 0
recent_slots_filled: '0'
@@ -1149,7 +1149,7 @@
open: 0
close: 0
volume: 0
- non_steem:
+ non_hive:
high: 0
low: 0
open: 0
@@ -1301,7 +1301,7 @@
signatures: []
expected_response_json: []
curl_examples:
- - '{"jsonrpc":"2.0", "method":"condenser_api.get_potential_signatures", "params":[{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[["pow",{"worker_account":"cloop3","block_id":"00000449f7860b82b4fbe2f317c670e9f01d6d9a","nonce":3899,"work":{"worker":"STM7P5TDnA87Pj9T4mf6YHrhzjC1KbPZpNxLWCcVcHxNYXakpoT4F","input":"ae8e7c677119d22385f8c48026fee7aad7bba693bf788d7f27047f40b47738c0","signature":"1f38fe9a3f9989f84bd94aa5bbc88beaf09b67f825aa4450cf5105d111149ba6db560b582c7dbb026c7fc9c2eb5051815a72b17f6896ed59d3851d9a0f9883ca7a","work":"000e7b209d58f2e64b36e9bf12b999c6c7af168cc3fc41eb7f8a4bf796c174c3"},"props":{"account_creation_fee":{"amount":"100000","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"sbd_interest_rate":1000}}]],"extensions":[],"signatures":[]}],
+ - '{"jsonrpc":"2.0", "method":"condenser_api.get_potential_signatures", "params":[{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[["pow",{"worker_account":"cloop3","block_id":"00000449f7860b82b4fbe2f317c670e9f01d6d9a","nonce":3899,"work":{"worker":"STM7P5TDnA87Pj9T4mf6YHrhzjC1KbPZpNxLWCcVcHxNYXakpoT4F","input":"ae8e7c677119d22385f8c48026fee7aad7bba693bf788d7f27047f40b47738c0","signature":"1f38fe9a3f9989f84bd94aa5bbc88beaf09b67f825aa4450cf5105d111149ba6db560b582c7dbb026c7fc9c2eb5051815a72b17f6896ed59d3851d9a0f9883ca7a","work":"000e7b209d58f2e64b36e9bf12b999c6c7af168cc3fc41eb7f8a4bf796c174c3"},"props":{"account_creation_fee":{"amount":"100000","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"hbd_interest_rate":1000}}]],"extensions":[],"signatures":[]}],
"id":1}'
- api_method: condenser_api.get_reblogged_by
since: HF14
@@ -1391,7 +1391,7 @@
- []
expected_response_json: []
curl_examples:
- - '{"jsonrpc":"2.0", "method":"condenser_api.get_required_signatures", "params":[{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[["pow",{"worker_account":"cloop3","block_id":"00000449f7860b82b4fbe2f317c670e9f01d6d9a","nonce":3899,"work":{"worker":"STM7P5TDnA87Pj9T4mf6YHrhzjC1KbPZpNxLWCcVcHxNYXakpoT4F","input":"ae8e7c677119d22385f8c48026fee7aad7bba693bf788d7f27047f40b47738c0","signature":"1f38fe9a3f9989f84bd94aa5bbc88beaf09b67f825aa4450cf5105d111149ba6db560b582c7dbb026c7fc9c2eb5051815a72b17f6896ed59d3851d9a0f9883ca7a","work":"000e7b209d58f2e64b36e9bf12b999c6c7af168cc3fc41eb7f8a4bf796c174c3"},"props":{"account_creation_fee":{"amount":"100000","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"sbd_interest_rate":1000}}]],"extensions":[],"signatures":[]},[]],
+ - '{"jsonrpc":"2.0", "method":"condenser_api.get_required_signatures", "params":[{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[["pow",{"worker_account":"cloop3","block_id":"00000449f7860b82b4fbe2f317c670e9f01d6d9a","nonce":3899,"work":{"worker":"STM7P5TDnA87Pj9T4mf6YHrhzjC1KbPZpNxLWCcVcHxNYXakpoT4F","input":"ae8e7c677119d22385f8c48026fee7aad7bba693bf788d7f27047f40b47738c0","signature":"1f38fe9a3f9989f84bd94aa5bbc88beaf09b67f825aa4450cf5105d111149ba6db560b582c7dbb026c7fc9c2eb5051815a72b17f6896ed59d3851d9a0f9883ca7a","work":"000e7b209d58f2e64b36e9bf12b999c6c7af168cc3fc41eb7f8a4bf796c174c3"},"props":{"account_creation_fee":{"amount":"100000","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"hbd_interest_rate":1000}}]],"extensions":[],"signatures":[]},[]],
"id":1}'
- api_method: condenser_api.get_reward_fund
since: HF17
@@ -1466,16 +1466,16 @@
virtual_supply: 0.000 HIVE
current_supply: 0.000 HIVE
confidential_supply: 0.000 HIVE
- current_sbd_supply: 0.000 HIVE
- confidential_sbd_supply: 0.000 HIVE
- total_vesting_fund_steem: 0.000 HIVE
+ current_hbd_supply: 0.000 HIVE
+ confidential_hbd_supply: 0.000 HIVE
+ total_vesting_fund_hive: 0.000 HIVE
total_vesting_shares: 0.000 HIVE
- total_reward_fund_steem: 0.000 HIVE
+ total_reward_fund_hive: 0.000 HIVE
total_reward_shares2: '0'
pending_rewarded_vesting_shares: 0.000 HIVE
- pending_rewarded_vesting_steem: 0.000 HIVE
- sbd_interest_rate: 0
- sbd_print_rate: 10000
+ pending_rewarded_vesting_hive: 0.000 HIVE
+ hbd_interest_rate: 0
+ hbd_print_rate: 10000
maximum_block_size: 0
current_aslot: 0
recent_slots_filled: '0'
@@ -1505,7 +1505,7 @@
median_props:
account_creation_fee: 0.000 HIVE
maximum_block_size: 131072
- sbd_interest_rate: 1000
+ hbd_interest_rate: 1000
majority_version: 0.0.0
max_voted_witnesses: 19
max_miner_witnesses: 1
@@ -1544,8 +1544,8 @@
lowest_ask: '0.00000000000000000'
highest_bid: '0.00000000000000000'
percent_change: '0.00000000000000000'
- steem_volume: 0.000 HIVE
- sbd_volume: 0.000 HIVE
+ hive_volume: 0.000 HIVE
+ hbd_volume: 0.000 HIVE
curl_examples:
- '{"jsonrpc":"2.0", "method":"condenser_api.get_ticker", "params":[], "id":1}'
- api_method: condenser_api.get_trade_history
@@ -1608,7 +1608,7 @@
signatures: []
expected_response_json: ''
curl_examples:
- - '{"jsonrpc":"2.0", "method":"condenser_api.get_transaction_hex", "params":[{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[["pow",{"worker_account":"cloop3","block_id":"00000449f7860b82b4fbe2f317c670e9f01d6d9a","nonce":3899,"work":{"worker":"STM7P5TDnA87Pj9T4mf6YHrhzjC1KbPZpNxLWCcVcHxNYXakpoT4F","input":"ae8e7c677119d22385f8c48026fee7aad7bba693bf788d7f27047f40b47738c0","signature":"1f38fe9a3f9989f84bd94aa5bbc88beaf09b67f825aa4450cf5105d111149ba6db560b582c7dbb026c7fc9c2eb5051815a72b17f6896ed59d3851d9a0f9883ca7a","work":"000e7b209d58f2e64b36e9bf12b999c6c7af168cc3fc41eb7f8a4bf796c174c3"},"props":{"account_creation_fee":{"amount":"100000","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"sbd_interest_rate":1000}}]],"extensions":[],"signatures":[]}],
+ - '{"jsonrpc":"2.0", "method":"condenser_api.get_transaction_hex", "params":[{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[["pow",{"worker_account":"cloop3","block_id":"00000449f7860b82b4fbe2f317c670e9f01d6d9a","nonce":3899,"work":{"worker":"STM7P5TDnA87Pj9T4mf6YHrhzjC1KbPZpNxLWCcVcHxNYXakpoT4F","input":"ae8e7c677119d22385f8c48026fee7aad7bba693bf788d7f27047f40b47738c0","signature":"1f38fe9a3f9989f84bd94aa5bbc88beaf09b67f825aa4450cf5105d111149ba6db560b582c7dbb026c7fc9c2eb5051815a72b17f6896ed59d3851d9a0f9883ca7a","work":"000e7b209d58f2e64b36e9bf12b999c6c7af168cc3fc41eb7f8a4bf796c174c3"},"props":{"account_creation_fee":{"amount":"100000","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"hbd_interest_rate":1000}}]],"extensions":[],"signatures":[]}],
"id":1}'
- api_method: condenser_api.get_trending_tags
purpose: |
@@ -1643,7 +1643,7 @@
parameter_json: []
expected_response_json:
blockchain_version: ''
- steem_revision: ''
+ hive_revision: ''
fc_revision: ''
curl_examples:
- '{"jsonrpc":"2.0", "method":"condenser_api.get_version", "params":[], "id":1}'
@@ -1677,8 +1677,8 @@
Also see: [market_history_api.get_volume]({{ '/apidefinitions/#market_history_api.get_volume' | relative_url }})
parameter_json: []
expected_response_json:
- steem_volume: 0.000 HIVE
- sbd_volume: 0.000 HIVE
+ hive_volume: 0.000 HIVE
+ hbd_volume: 0.000 HIVE
curl_examples:
- '{"jsonrpc":"2.0", "method":"condenser_api.get_volume", "params":[], "id":1}'
- api_method: condenser_api.get_withdraw_routes
@@ -1736,11 +1736,11 @@
props:
account_creation_fee: 0.000 HIVE
maximum_block_size: 65536
- sbd_interest_rate: 0
- sbd_exchange_rate:
+ hbd_interest_rate: 0
+ hbd_exchange_rate:
base: 0.000 HBD
quote: 0.000 HIVE
- last_sbd_exchange_update: '1970-01-01T00:00:00'
+ last_hbd_exchange_update: '1970-01-01T00:00:00'
last_work: ''
running_version: ''
hardfork_version_vote: ''
@@ -1774,7 +1774,7 @@
median_props:
account_creation_fee: 0.000 HIVE
maximum_block_size: 131072
- sbd_interest_rate: 1000
+ hbd_interest_rate: 1000
majority_version: 0.0.0
max_voted_witnesses: 19
max_miner_witnesses: 1
@@ -1869,19 +1869,19 @@
last_vote_time: '2016-12-04T23:10:57'
balance: 0.006 HIVE
savings_balance: 11006644.632 HIVE
- sbd_balance: 8581.890 HBD
- sbd_seconds: '18846158467785'
- sbd_seconds_last_update: '2018-04-10T04:08:36'
- sbd_last_interest_payment: '2018-03-15T17:58:24'
- savings_sbd_balance: 0.000 HBD
- savings_sbd_seconds: '0'
- savings_sbd_seconds_last_update: '1970-01-01T00:00:00'
- savings_sbd_last_interest_payment: '1970-01-01T00:00:00'
+ hbd_balance: 8581.890 HBD
+ hbd_seconds: '18846158467785'
+ hbd_seconds_last_update: '2018-04-10T04:08:36'
+ hbd_last_interest_payment: '2018-03-15T17:58:24'
+ savings_hbd_balance: 0.000 HBD
+ savings_hbd_seconds: '0'
+ savings_hbd_seconds_last_update: '1970-01-01T00:00:00'
+ savings_hbd_last_interest_payment: '1970-01-01T00:00:00'
savings_withdraw_requests: 0
- reward_sbd_balance: 0.000 HBD
- reward_steem_balance: 0.000 HIVE
+ reward_hbd_balance: 0.000 HBD
+ reward_hive_balance: 0.000 HIVE
reward_vesting_balance: 0.000000 VESTS
- reward_vesting_steem: 0.000 HIVE
+ reward_vesting_hive: 0.000 HIVE
vesting_shares: 90039851836.689703 VESTS
delegated_vesting_shares: 0.000000 VESTS
received_vesting_shares: 0.000000 VESTS
@@ -1964,7 +1964,7 @@
signatures: []
expected_response_json: false
curl_examples:
- - '{"jsonrpc":"2.0", "method":"condenser_api.verify_authority", "params":[{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[["pow",{"worker_account":"cloop3","block_id":"00000449f7860b82b4fbe2f317c670e9f01d6d9a","nonce":3899,"work":{"worker":"STM7P5TDnA87Pj9T4mf6YHrhzjC1KbPZpNxLWCcVcHxNYXakpoT4F","input":"ae8e7c677119d22385f8c48026fee7aad7bba693bf788d7f27047f40b47738c0","signature":"1f38fe9a3f9989f84bd94aa5bbc88beaf09b67f825aa4450cf5105d111149ba6db560b582c7dbb026c7fc9c2eb5051815a72b17f6896ed59d3851d9a0f9883ca7a","work":"000e7b209d58f2e64b36e9bf12b999c6c7af168cc3fc41eb7f8a4bf796c174c3"},"props":{"account_creation_fee":{"amount":"100000","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"sbd_interest_rate":1000}}]],"extensions":[],"signatures":[]}],
+ - '{"jsonrpc":"2.0", "method":"condenser_api.verify_authority", "params":[{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[["pow",{"worker_account":"cloop3","block_id":"00000449f7860b82b4fbe2f317c670e9f01d6d9a","nonce":3899,"work":{"worker":"STM7P5TDnA87Pj9T4mf6YHrhzjC1KbPZpNxLWCcVcHxNYXakpoT4F","input":"ae8e7c677119d22385f8c48026fee7aad7bba693bf788d7f27047f40b47738c0","signature":"1f38fe9a3f9989f84bd94aa5bbc88beaf09b67f825aa4450cf5105d111149ba6db560b582c7dbb026c7fc9c2eb5051815a72b17f6896ed59d3851d9a0f9883ca7a","work":"000e7b209d58f2e64b36e9bf12b999c6c7af168cc3fc41eb7f8a4bf796c174c3"},"props":{"account_creation_fee":{"amount":"100000","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"hbd_interest_rate":1000}}]],"extensions":[],"signatures":[]}],
"id":1}'
- api_method: condenser_api.get_account_references
disabled: true
diff --git a/_data/apidefinitions/database_api.yml b/_data/apidefinitions/database_api.yml
index 9690e816c2be470d7c2735290535c5c206ca5fd4..1e3e62cd1831f963ca30cc6618c766eed8448c17 100644
--- a/_data/apidefinitions/database_api.yml
+++ b/_data/apidefinitions/database_api.yml
@@ -7,7 +7,7 @@
- To enable this API for `steemd`, the following is required in `config.ini`
+ To enable this API for `hived`, the following is required in `config.ini`
by specifying:
```ini
@@ -119,29 +119,29 @@
"precision": 3,
"nai": "@@000000021"
},
- "sbd_balance": {
+ "hbd_balance": {
"amount": "8716535",
"precision": 3,
"nai": "@@000000013"
},
- "sbd_seconds": "0",
- "sbd_seconds_last_update": "2018-11-12T02:39:39",
- "sbd_last_interest_payment": "2018-11-12T02:39:39",
- "savings_sbd_balance": {
+ "hbd_seconds": "0",
+ "hbd_seconds_last_update": "2018-11-12T02:39:39",
+ "hbd_last_interest_payment": "2018-11-12T02:39:39",
+ "savings_hbd_balance": {
"amount": "0",
"precision": 3,
"nai": "@@000000013"
},
- "savings_sbd_seconds": "0",
- "savings_sbd_seconds_last_update": "1970-01-01T00:00:00",
- "savings_sbd_last_interest_payment": "1970-01-01T00:00:00",
+ "savings_hbd_seconds": "0",
+ "savings_hbd_seconds_last_update": "1970-01-01T00:00:00",
+ "savings_hbd_last_interest_payment": "1970-01-01T00:00:00",
"savings_withdraw_requests": 0,
- "reward_sbd_balance": {
+ "reward_hbd_balance": {
"amount": "0",
"precision": 3,
"nai": "@@000000013"
},
- "reward_steem_balance": {
+ "reward_hive_balance": {
"amount": "0",
"precision": 3,
"nai": "@@000000021"
@@ -151,7 +151,7 @@
"precision": 6,
"nai": "@@000000037"
},
- "reward_vesting_steem": {
+ "reward_vesting_hive": {
"amount": "0",
"precision": 3,
"nai": "@@000000021"
@@ -252,12 +252,12 @@
"agent": "smitop",
"ratification_deadline": "2038-01-19T03:14:06",
"escrow_expiration": "2038-01-19T03:14:07",
- "sbd_balance": {
+ "hbd_balance": {
"amount": "0",
"precision": 3,
"nai": "@@000000013"
},
- "steem_balance": {
+ "hive_balance": {
"amount": "1",
"precision": 3,
"nai": "@@000000021"
@@ -331,7 +331,7 @@
expected_response_json: '{"withdrawals":[]}' # TODO - recheck in HF23
curl_examples:
- '{"jsonrpc":"2.0", "method":"database_api.find_savings_withdrawals", "params": {"start":"temp"}, "id":1}'
- - api_method: database_api.find_sbd_conversion_requests
+ - api_method: database_api.find_hbd_conversion_requests
purpose: |
Returns the list of HBD conversion requests for an account. Parameters: `account:string`
@@ -342,8 +342,8 @@
parameter_json: '{"account":""}'
expected_response_json: '{"requests":[]}' # TODO - recheck in HF23
curl_examples:
- - '{"jsonrpc":"2.0", "method":"database_api.find_sbd_conversion_requests", "params": {"account":"hiveio"}, "id":1}'
- - '{"jsonrpc":"2.0", "method":"database_api.find_sbd_conversion_requests", "params": {"account":"alice"}, "id":1}'
+ - '{"jsonrpc":"2.0", "method":"database_api.find_hbd_conversion_requests", "params": {"account":"hiveio"}, "id":1}'
+ - '{"jsonrpc":"2.0", "method":"database_api.find_hbd_conversion_requests", "params": {"account":"alice"}, "id":1}'
- api_method: database_api.find_vesting_delegation_expirations
since: HF17
purpose: |
@@ -476,11 +476,11 @@
"nai": "@@000000021"
},
"maximum_block_size": 131072,
- "sbd_interest_rate": 1000,
+ "hbd_interest_rate": 1000,
"account_subsidy_budget": 797,
"account_subsidy_decay": 347321
},
- "sbd_exchange_rate": {
+ "hbd_exchange_rate": {
"base": {
"amount": "0",
"precision": 3,
@@ -492,7 +492,7 @@
"nai": "@@000000021"
}
},
- "last_sbd_exchange_update": "1970-01-01T00:00:00",
+ "last_hbd_exchange_update": "1970-01-01T00:00:00",
"last_work": "0000000000000000000000000000000000000000000000000000000000000000",
"running_version": "0.23.0",
"hardfork_version_vote": "0.23.0",
@@ -735,7 +735,7 @@
"HIVE_POW_APR_PERCENT": 750,
"HIVE_PRODUCER_APR_PERCENT": 750,
"HIVE_PROXY_TO_SELF_ACCOUNT": "",
- "HIVE_SBD_INTEREST_COMPOUND_INTERVAL_SEC": 2592000,
+ "HIVE_HBD_INTEREST_COMPOUND_INTERVAL_SEC": 2592000,
"HIVE_SECONDS_PER_YEAR": 31536000,
"HIVE_PROPOSAL_FUND_PERCENT_HF0": 0,
"HIVE_PROPOSAL_FUND_PERCENT_HF21": 1000,
@@ -798,7 +798,7 @@
"HIVE_DECAY_BACKSTOP_PERCENT": 9000,
"HIVE_BLOCK_GENERATION_POSTPONED_TX_LIMIT": 5,
"HIVE_PENDING_TRANSACTION_EXECUTION_LIMIT": 200000,
- "HIVE_TREASURY_ACCOUNT": "steem.dao",
+ "HIVE_TREASURY_ACCOUNT": "hive.fund",
"HIVE_TREASURY_FEE": 10000,
"HIVE_PROPOSAL_MAINTENANCE_PERIOD": 3600,
"HIVE_PROPOSAL_MAINTENANCE_CLEANUP": 86400,
@@ -856,22 +856,22 @@
"precision": 3,
"nai": "@@000000021"
},
- "init_sbd_supply": {
+ "init_hbd_supply": {
"amount": "7000000000",
"precision": 3,
"nai": "@@000000013"
},
- "current_sbd_supply": {
+ "current_hbd_supply": {
"amount": "35050710256",
"precision": 3,
"nai": "@@000000013"
},
- "confidential_sbd_supply": {
+ "confidential_hbd_supply": {
"amount": "0",
"precision": 3,
"nai": "@@000000013"
},
- "total_vesting_fund_steem": {
+ "total_vesting_fund_hive": {
"amount": "146016220388",
"precision": 3,
"nai": "@@000000021"
@@ -881,7 +881,7 @@
"precision": 6,
"nai": "@@000000037"
},
- "total_reward_fund_steem": {
+ "total_reward_fund_hive": {
"amount": "0",
"precision": 3,
"nai": "@@000000021"
@@ -892,13 +892,13 @@
"precision": 6,
"nai": "@@000000037"
},
- "pending_rewarded_vesting_steem": {
+ "pending_rewarded_vesting_hive": {
"amount": "154999023",
"precision": 3,
"nai": "@@000000021"
},
- "sbd_interest_rate": 1000,
- "sbd_print_rate": 0,
+ "hbd_interest_rate": 1000,
+ "hbd_print_rate": 0,
"maximum_block_size": 131072,
"required_actions_partition_percent": 2500,
"current_aslot": 41585977,
@@ -909,8 +909,8 @@
"delegation_return_period": 432000,
"reverse_auction_seconds": 300,
"available_account_subsidies": 120334411,
- "sbd_stop_percent": 1000,
- "sbd_start_percent": 900,
+ "hbd_stop_percent": 1000,
+ "hbd_start_percent": 900,
"next_maintenance_time": "2019-12-14T23:18:24",
"last_budget_time": "2019-12-14T22:18:24",
"content_reward_percent": 6500,
@@ -1009,7 +1009,7 @@
parameter_json: '{"trx":{"ref_block_num":0,"ref_block_prefix":0,"expiration":"1970-01-01T00:00:00","operations":[],"extensions":[],"signatures":[]}}'
expected_response_json: '{"keys":[]}' # TODO - recheck in HF23
curl_examples:
- - '{"jsonrpc":"2.0", "method":"database_api.get_potential_signatures", "params":{"trx":{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[{"type":"pow_operation","value":{"worker_account":"cloop3","block_id":"00000449f7860b82b4fbe2f317c670e9f01d6d9a","nonce":3899,"work":{"worker":"STM7P5TDnA87Pj9T4mf6YHrhzjC1KbPZpNxLWCcVcHxNYXakpoT4F","input":"ae8e7c677119d22385f8c48026fee7aad7bba693bf788d7f27047f40b47738c0","signature":"1f38fe9a3f9989f84bd94aa5bbc88beaf09b67f825aa4450cf5105d111149ba6db560b582c7dbb026c7fc9c2eb5051815a72b17f6896ed59d3851d9a0f9883ca7a","work":"000e7b209d58f2e64b36e9bf12b999c6c7af168cc3fc41eb7f8a4bf796c174c3"},"props":{"account_creation_fee":{"amount":"100000","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"sbd_interest_rate":1000}}}],"extensions":[],"signatures":[]}},
+ - '{"jsonrpc":"2.0", "method":"database_api.get_potential_signatures", "params":{"trx":{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[{"type":"pow_operation","value":{"worker_account":"cloop3","block_id":"00000449f7860b82b4fbe2f317c670e9f01d6d9a","nonce":3899,"work":{"worker":"STM7P5TDnA87Pj9T4mf6YHrhzjC1KbPZpNxLWCcVcHxNYXakpoT4F","input":"ae8e7c677119d22385f8c48026fee7aad7bba693bf788d7f27047f40b47738c0","signature":"1f38fe9a3f9989f84bd94aa5bbc88beaf09b67f825aa4450cf5105d111149ba6db560b582c7dbb026c7fc9c2eb5051815a72b17f6896ed59d3851d9a0f9883ca7a","work":"000e7b209d58f2e64b36e9bf12b999c6c7af168cc3fc41eb7f8a4bf796c174c3"},"props":{"account_creation_fee":{"amount":"100000","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"hbd_interest_rate":1000}}}],"extensions":[],"signatures":[]}},
"id":1}'
- api_method: database_api.get_required_signatures
purpose: This API will take a partially signed transaction and a set of public
@@ -1018,7 +1018,7 @@
parameter_json: '{"trx":{"ref_block_num":0,"ref_block_prefix":0,"expiration":"1970-01-01T00:00:00","operations":[],"extensions":[],"signatures":[]},"available_keys":[]}'
expected_response_json: '{"keys":[]}' # TODO - recheck in HF23
curl_examples:
- - '{"jsonrpc":"2.0", "method":"database_api.get_required_signatures", "params":{"trx":{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[{"type":"pow_operation","value":{"worker_account":"cloop3","block_id":"00000449f7860b82b4fbe2f317c670e9f01d6d9a","nonce":3899,"work":{"worker":"STM7P5TDnA87Pj9T4mf6YHrhzjC1KbPZpNxLWCcVcHxNYXakpoT4F","input":"ae8e7c677119d22385f8c48026fee7aad7bba693bf788d7f27047f40b47738c0","signature":"1f38fe9a3f9989f84bd94aa5bbc88beaf09b67f825aa4450cf5105d111149ba6db560b582c7dbb026c7fc9c2eb5051815a72b17f6896ed59d3851d9a0f9883ca7a","work":"000e7b209d58f2e64b36e9bf12b999c6c7af168cc3fc41eb7f8a4bf796c174c3"},"props":{"account_creation_fee":{"amount":"100000","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"sbd_interest_rate":1000}}}],"extensions":[],"signatures":[]},"available_keys":[]},
+ - '{"jsonrpc":"2.0", "method":"database_api.get_required_signatures", "params":{"trx":{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[{"type":"pow_operation","value":{"worker_account":"cloop3","block_id":"00000449f7860b82b4fbe2f317c670e9f01d6d9a","nonce":3899,"work":{"worker":"STM7P5TDnA87Pj9T4mf6YHrhzjC1KbPZpNxLWCcVcHxNYXakpoT4F","input":"ae8e7c677119d22385f8c48026fee7aad7bba693bf788d7f27047f40b47738c0","signature":"1f38fe9a3f9989f84bd94aa5bbc88beaf09b67f825aa4450cf5105d111149ba6db560b582c7dbb026c7fc9c2eb5051815a72b17f6896ed59d3851d9a0f9883ca7a","work":"000e7b209d58f2e64b36e9bf12b999c6c7af168cc3fc41eb7f8a4bf796c174c3"},"props":{"account_creation_fee":{"amount":"100000","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"hbd_interest_rate":1000}}}],"extensions":[],"signatures":[]},"available_keys":[]},
"id":1}'
- api_method: database_api.get_reward_funds
since: HF17
@@ -1052,7 +1052,7 @@
parameter_json: '{"trx":{"ref_block_num":0,"ref_block_prefix":0,"expiration":"1970-01-01T00:00:00","operations":[],"extensions":[],"signatures":[]}}'
expected_response_json: '{"hex":"00000000000000000000000000"}'
curl_examples:
- - '{"jsonrpc":"2.0", "method":"database_api.get_transaction_hex", "params":{"trx":{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[{"type":"pow_operation","value":{"worker_account":"cloop3","block_id":"00000449f7860b82b4fbe2f317c670e9f01d6d9a","nonce":3899,"work":{"worker":"STM7P5TDnA87Pj9T4mf6YHrhzjC1KbPZpNxLWCcVcHxNYXakpoT4F","input":"ae8e7c677119d22385f8c48026fee7aad7bba693bf788d7f27047f40b47738c0","signature":"1f38fe9a3f9989f84bd94aa5bbc88beaf09b67f825aa4450cf5105d111149ba6db560b582c7dbb026c7fc9c2eb5051815a72b17f6896ed59d3851d9a0f9883ca7a","work":"000e7b209d58f2e64b36e9bf12b999c6c7af168cc3fc41eb7f8a4bf796c174c3"},"props":{"account_creation_fee":{"amount":"100000","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"sbd_interest_rate":1000}}}],"extensions":[],"signatures":[]}},
+ - '{"jsonrpc":"2.0", "method":"database_api.get_transaction_hex", "params":{"trx":{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[{"type":"pow_operation","value":{"worker_account":"cloop3","block_id":"00000449f7860b82b4fbe2f317c670e9f01d6d9a","nonce":3899,"work":{"worker":"STM7P5TDnA87Pj9T4mf6YHrhzjC1KbPZpNxLWCcVcHxNYXakpoT4F","input":"ae8e7c677119d22385f8c48026fee7aad7bba693bf788d7f27047f40b47738c0","signature":"1f38fe9a3f9989f84bd94aa5bbc88beaf09b67f825aa4450cf5105d111149ba6db560b582c7dbb026c7fc9c2eb5051815a72b17f6896ed59d3851d9a0f9883ca7a","work":"000e7b209d58f2e64b36e9bf12b999c6c7af168cc3fc41eb7f8a4bf796c174c3"},"props":{"account_creation_fee":{"amount":"100000","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"hbd_interest_rate":1000}}}],"extensions":[],"signatures":[]}},
"id":1}'
- api_method: database_api.get_version
since: HF20
@@ -1063,9 +1063,9 @@
expected_response_json: |
{
"blockchain_version": "0.23.0",
- "steem_revision": "5cda10a488cf77f68549ec6d3a6be9af2ea9351b",
+ "hive_revision": "5cda10a488cf77f68549ec6d3a6be9af2ea9351b",
"fc_revision": "5cda10a488cf77f68549ec6d3a6be9af2ea9351b",
- "chain_id": "0000000000000000000000000000000000000000000000000000000000000000"
+ "chain_id": "beeab0de00000000000000000000000000000000000000000000000000000000"
}
curl_examples:
- '{"jsonrpc":"2.0", "method":"database_api.get_version", "id":1}'
@@ -1112,7 +1112,7 @@
"nai": "@@000000021"
},
"maximum_block_size": 131072,
- "sbd_interest_rate": 1000,
+ "hbd_interest_rate": 1000,
"account_subsidy_budget": 797,
"account_subsidy_decay": 347321
},
@@ -1253,29 +1253,29 @@
"precision": 3,
"nai": "@@000000021"
},
- "sbd_balance": {
+ "hbd_balance": {
"amount": "0",
"precision": 3,
"nai": "@@000000013"
},
- "sbd_seconds": "0",
- "sbd_seconds_last_update": "1970-01-01T00:00:00",
- "sbd_last_interest_payment": "1970-01-01T00:00:00",
- "savings_sbd_balance": {
+ "hbd_seconds": "0",
+ "hbd_seconds_last_update": "1970-01-01T00:00:00",
+ "hbd_last_interest_payment": "1970-01-01T00:00:00",
+ "savings_hbd_balance": {
"amount": "0",
"precision": 3,
"nai": "@@000000013"
},
- "savings_sbd_seconds": "0",
- "savings_sbd_seconds_last_update": "1970-01-01T00:00:00",
- "savings_sbd_last_interest_payment": "1970-01-01T00:00:00",
+ "savings_hbd_seconds": "0",
+ "savings_hbd_seconds_last_update": "1970-01-01T00:00:00",
+ "savings_hbd_last_interest_payment": "1970-01-01T00:00:00",
"savings_withdraw_requests": 0,
- "reward_sbd_balance": {
+ "reward_hbd_balance": {
"amount": "0",
"precision": 3,
"nai": "@@000000013"
},
- "reward_steem_balance": {
+ "reward_hive_balance": {
"amount": "0",
"precision": 3,
"nai": "@@000000021"
@@ -1285,7 +1285,7 @@
"precision": 6,
"nai": "@@000000037"
},
- "reward_vesting_steem": {
+ "reward_vesting_hive": {
"amount": "0",
"precision": 3,
"nai": "@@000000021"
@@ -1407,7 +1407,7 @@
"parent_author": "runicar",
"parent_permlink": "re-libert-libert-re-runicar-re-libert-libert-re-runicar-ykwyxgj6-20181128t063100538z",
"title": "",
- "body": "13\n\nPosted using [Partiko Android](https://steemit.com/@partiko-android)",
+ "body": "13\n\nPosted using [Partiko Android](https://hive.blog/@partiko-android)",
"json_metadata": "{\"app\":\"partiko\"}",
"last_update": "2018-11-28T06:33:57",
"created": "2018-11-28T06:33:57",
@@ -1442,7 +1442,7 @@
"precision": 3,
"nai": "@@000000013"
},
- "percent_steem_dollars": 10000,
+ "percent_hbd": 10000,
"allow_replies": true,
"allow_votes": true,
"allow_curation_rewards": true,
@@ -1510,12 +1510,12 @@
"agent": "ongame",
"ratification_deadline": "2018-11-23T17:31:26",
"escrow_expiration": "2018-11-24T17:31:26",
- "sbd_balance": {
+ "hbd_balance": {
"amount": "0",
"precision": 3,
"nai": "@@000000013"
},
- "steem_balance": {
+ "hive_balance": {
"amount": "4832",
"precision": 3,
"nai": "@@000000021"
@@ -1659,7 +1659,7 @@
- '{"jsonrpc":"2.0", "method":"database_api.list_savings_withdrawals", "params": {"start":[0], "limit":10, "order":"by_from_id"}, "id":1}'
- '{"jsonrpc":"2.0", "method":"database_api.list_savings_withdrawals", "params": {"start":["2018-12-07T16:54:03", "hiveio", 0], "limit":10, "order":"by_complete_from_id"}, "id":1}'
- '{"jsonrpc":"2.0", "method":"database_api.list_savings_withdrawals", "params": {"start":["", "1970-01-01T00:00:00", 0], "limit":10, "order":"by_to_complete"}, "id":1}'
- - api_method: database_api.list_sbd_conversion_requests
+ - api_method: database_api.list_hbd_conversion_requests
purpose: |
Returns the list of HBD conversion requests for an account. Parameters: `start:array`, `limit:int`, `order:string`
@@ -1675,7 +1675,7 @@
| `["hiveio", 0]` | 10 | `by_account` | Queries a conversion request for hiveio, limit to 10 results, order by account name. |
| `["2018-12-07T16:54:03", 0]` | 10 | `by_conversion_date`| Queries a conversion request from this date, limit to 10 results, order by conversion date. |
- Also see: [Paginated API Methods]({{ '/tutorials-recipes/paginated-api-methods.html#database_apilist_sbd_conversion_requests' | relative_url }})
+ Also see: [Paginated API Methods]({{ '/tutorials-recipes/paginated-api-methods.html#database_apilist_hbd_conversion_requests' | relative_url }})
parameter_json: '{"start":null,"limit":0,"order":"by_name"}'
expected_response_json: | # TODO - recheck in HF23
{
@@ -1694,8 +1694,8 @@
]
}
curl_examples:
- - '{"jsonrpc":"2.0", "method":"database_api.list_sbd_conversion_requests", "params": {"start":["hiveio", 0], "limit":10, "order":"by_account"}, "id":1}'
- - '{"jsonrpc":"2.0", "method":"database_api.list_sbd_conversion_requests", "params": {"start":["2018-12-07T16:54:03", 0], "limit":10, "order":"by_conversion_date"}, "id":1}'
+ - '{"jsonrpc":"2.0", "method":"database_api.list_hbd_conversion_requests", "params": {"start":["hiveio", 0], "limit":10, "order":"by_account"}, "id":1}'
+ - '{"jsonrpc":"2.0", "method":"database_api.list_hbd_conversion_requests", "params": {"start":["2018-12-07T16:54:03", 0], "limit":10, "order":"by_conversion_date"}, "id":1}'
- api_method: database_api.list_vesting_delegation_expirations
since: HF17
purpose: |
@@ -1923,11 +1923,11 @@
"nai": "@@000000021"
},
"maximum_block_size": 131072,
- "sbd_interest_rate": 1000,
+ "hbd_interest_rate": 1000,
"account_subsidy_budget": 797,
"account_subsidy_decay": 347321
},
- "sbd_exchange_rate": {
+ "hbd_exchange_rate": {
"base": {
"amount": "0",
"precision": 3,
@@ -1939,7 +1939,7 @@
"nai": "@@000000021"
}
},
- "last_sbd_exchange_update": "1970-01-01T00:00:00",
+ "last_hbd_exchange_update": "1970-01-01T00:00:00",
"last_work": "000000127cb0e335667f30100bc1a061175c2d789f808e0e9ac82ee70fa8e604",
"running_version": "0.0.0",
"hardfork_version_vote": "0.0.0",
@@ -1969,7 +1969,7 @@
parameter_json: '{"trx":{"ref_block_num":0,"ref_block_prefix":0,"expiration":"1970-01-01T00:00:00","operations":[],"extensions":[],"signatures":[]}}'
expected_response_json: '{"valid":false}'
curl_examples:
- - '{"jsonrpc":"2.0", "method":"database_api.verify_authority", "params":{"trx":{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[{"type":"pow_operation","value":{"worker_account":"cloop3","block_id":"00000449f7860b82b4fbe2f317c670e9f01d6d9a","nonce":3899,"work":{"worker":"STM7P5TDnA87Pj9T4mf6YHrhzjC1KbPZpNxLWCcVcHxNYXakpoT4F","input":"ae8e7c677119d22385f8c48026fee7aad7bba693bf788d7f27047f40b47738c0","signature":"1f38fe9a3f9989f84bd94aa5bbc88beaf09b67f825aa4450cf5105d111149ba6db560b582c7dbb026c7fc9c2eb5051815a72b17f6896ed59d3851d9a0f9883ca7a","work":"000e7b209d58f2e64b36e9bf12b999c6c7af168cc3fc41eb7f8a4bf796c174c3"},"props":{"account_creation_fee":{"amount":"100000","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"sbd_interest_rate":1000}}}],"extensions":[],"signatures":[]}},
+ - '{"jsonrpc":"2.0", "method":"database_api.verify_authority", "params":{"trx":{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[{"type":"pow_operation","value":{"worker_account":"cloop3","block_id":"00000449f7860b82b4fbe2f317c670e9f01d6d9a","nonce":3899,"work":{"worker":"STM7P5TDnA87Pj9T4mf6YHrhzjC1KbPZpNxLWCcVcHxNYXakpoT4F","input":"ae8e7c677119d22385f8c48026fee7aad7bba693bf788d7f27047f40b47738c0","signature":"1f38fe9a3f9989f84bd94aa5bbc88beaf09b67f825aa4450cf5105d111149ba6db560b582c7dbb026c7fc9c2eb5051815a72b17f6896ed59d3851d9a0f9883ca7a","work":"000e7b209d58f2e64b36e9bf12b999c6c7af168cc3fc41eb7f8a4bf796c174c3"},"props":{"account_creation_fee":{"amount":"100000","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"hbd_interest_rate":1000}}}],"extensions":[],"signatures":[]}},
"id":1}'
- api_method: database_api.verify_signatures
purpose: This is a general purpose API that checks signatures against accounts
@@ -2358,7 +2358,7 @@
"last_virtual_emission_time": "1970-01-01T00:00:00",
"allow_downvotes": true,
"market_maker": {
- "steem_balance": {
+ "hive_balance": {
"amount": "0",
"precision": 3,
"nai": "@@000000021"
diff --git a/_data/apidefinitions/debug_node_api.yml b/_data/apidefinitions/debug_node_api.yml
index 0e65851ad4ff5b4ad071b35b993e0203b6cd811d..18ef64e431ad10afdc426624ca9e607a44f72564 100644
--- a/_data/apidefinitions/debug_node_api.yml
+++ b/_data/apidefinitions/debug_node_api.yml
@@ -26,7 +26,7 @@
- api_method: debug_node_api.debug_get_witness_schedule
purpose:
parameter_json: "{}"
- expected_response_json: '{"id":0,"current_virtual_time":"0","next_shuffle_block_num":21573344,"current_shuffled_witnesses":[],"num_scheduled_witnesses":192,"elected_weight":49,"timeshare_weight":73,"miner_weight":1,"witness_pay_normalization_factor":0,"median_props":{"account_creation_fee":{"amount":"0","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"sbd_interest_rate":1000,"account_subsidy_budget":797,"account_subsidy_decay":347321},"majority_version":"0.0.0","max_voted_witnesses":128,"max_miner_witnesses":131,"max_runner_witnesses":191,"hardfork_required_witnesses":4,"account_subsidy_rd":{"resource_unit":0,"budget_per_time_unit":0,"pool_eq":0,"max_pool_size":0,"decay_params":{"decay_per_time_unit":0,"decay_per_time_unit_denom_shift":0},"min_decay":0},"account_subsidy_witness_rd":{"resource_unit":0,"budget_per_time_unit":0,"pool_eq":0,"max_pool_size":0,"decay_params":{"decay_per_time_unit":0,"decay_per_time_unit_denom_shift":0},"min_decay":0},"min_witness_account_subsidy_decay":0}'
+ expected_response_json: '{"id":0,"current_virtual_time":"0","next_shuffle_block_num":21573344,"current_shuffled_witnesses":[],"num_scheduled_witnesses":192,"elected_weight":49,"timeshare_weight":73,"miner_weight":1,"witness_pay_normalization_factor":0,"median_props":{"account_creation_fee":{"amount":"0","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"hbd_interest_rate":1000,"account_subsidy_budget":797,"account_subsidy_decay":347321},"majority_version":"0.0.0","max_voted_witnesses":128,"max_miner_witnesses":131,"max_runner_witnesses":191,"hardfork_required_witnesses":4,"account_subsidy_rd":{"resource_unit":0,"budget_per_time_unit":0,"pool_eq":0,"max_pool_size":0,"decay_params":{"decay_per_time_unit":0,"decay_per_time_unit_denom_shift":0},"min_decay":0},"account_subsidy_witness_rd":{"resource_unit":0,"budget_per_time_unit":0,"pool_eq":0,"max_pool_size":0,"decay_params":{"decay_per_time_unit":0,"decay_per_time_unit_denom_shift":0},"min_decay":0},"min_witness_account_subsidy_decay":0}'
- api_method: debug_node_api.debug_has_hardfork
purpose:
parameter_json: '{"hardfork_id":0}'
diff --git a/_data/apidefinitions/follow_api.yml b/_data/apidefinitions/follow_api.yml
index 7aa62ed195f1a8e9c6a58b122cf7121d2f1acc86..d2c98f9d9edee281aac98b9c0c1dbefdc52351c1 100644
--- a/_data/apidefinitions/follow_api.yml
+++ b/_data/apidefinitions/follow_api.yml
@@ -80,7 +80,7 @@
"precision": 3,
"nai": "@@000000013"
},
- "percent_steem_dollars": 10000,
+ "percent_hbd": 10000,
"allow_replies": true,
"allow_votes": true,
"allow_curation_rewards": true,
diff --git a/_data/apidefinitions/jsonrpc.yml b/_data/apidefinitions/jsonrpc.yml
index 9b477b863fa312d6fdbee870c5e2bcc53dc8b6f8..3b2c4ba67b6c7eedd7547d35b9c7a68e4bb72457 100644
--- a/_data/apidefinitions/jsonrpc.yml
+++ b/_data/apidefinitions/jsonrpc.yml
@@ -115,7 +115,7 @@
"database_api.find_owner_histories",
"database_api.find_proposals",
"database_api.find_savings_withdrawals",
- "database_api.find_sbd_conversion_requests",
+ "database_api.find_hbd_conversion_requests",
"database_api.find_smt_contributions",
"database_api.find_smt_token_emissions",
"database_api.find_smt_tokens",
@@ -149,7 +149,7 @@
"database_api.list_proposal_votes",
"database_api.list_proposals",
"database_api.list_savings_withdrawals",
- "database_api.list_sbd_conversion_requests",
+ "database_api.list_hbd_conversion_requests",
"database_api.list_smt_contributions",
"database_api.list_smt_token_emissions",
"database_api.list_smt_tokens",
diff --git a/_data/apidefinitions/market_history_api.yml b/_data/apidefinitions/market_history_api.yml
index d366fe8fb01f28397363feefba6ffeadb832a009..d2ca83d15ce4e95b1035d3b962f5f64ce85a9a8a 100644
--- a/_data/apidefinitions/market_history_api.yml
+++ b/_data/apidefinitions/market_history_api.yml
@@ -26,7 +26,7 @@
"nai": "@@000000013",
"precision": 3
},
- "non_steem": {
+ "non_hive": {
"high": 100000,
"low": 100000,
"open": 100000,
@@ -85,7 +85,7 @@
},
"real_price": "0.10000000000000001",
"steem": 100000,
- "sbd": 10000,
+ "hbd": 10000,
"created": "2019-12-18T01:24:42"
},
{
@@ -103,7 +103,7 @@
},
"real_price": "1.00000000000000000",
"steem": 1000,
- "sbd": 1000,
+ "hbd": 1000,
"created": "2019-12-18T01:22:12"
},
{
@@ -121,7 +121,7 @@
},
"real_price": "100000000.00000000000000000",
"steem": 1000,
- "sbd": "100000000000",
+ "hbd": "100000000000",
"created": "2019-12-18T01:20:21"
}
]
@@ -166,12 +166,12 @@
"lowest_ask": "0.10000000000000001",
"highest_bid": "0.00000000000000000",
"percent_change": "0.00000000000000000",
- "steem_volume": {
+ "hive_volume": {
"amount": "100000",
"precision": 3,
"nai": "@@000000021"
},
- "sbd_volume": {
+ "hbd_volume": {
"amount": "100000",
"precision": 3,
"nai": "@@000000013"
@@ -208,12 +208,12 @@
parameter_json: "{}"
expected_response_json: |
{
- "steem_volume": {
+ "hive_volume": {
"amount": "0",
"precision": 3,
"nai": "@@000000021"
},
- "sbd_volume": {
+ "hbd_volume": {
"amount": "0",
"precision": 3,
"nai": "@@000000013"
diff --git a/_data/apidefinitions/network_broadcast_api.yml b/_data/apidefinitions/network_broadcast_api.yml
index 4ca94cdb2615680438ddfcf845154578a75f2334..01b9a130d59f52b46d1f07426403f401cc02176f 100644
--- a/_data/apidefinitions/network_broadcast_api.yml
+++ b/_data/apidefinitions/network_broadcast_api.yml
@@ -24,7 +24,7 @@
curl_examples:
- '{"jsonrpc":"2.0", "method":"network_broadcast_api.broadcast_transaction", "params":{"trx":{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[{"type":"vote_operation","value":{"voter":"hiveio","author":"alice","permlink":"a-post-by-alice","weight":10000}}],"extensions":[],"signatures":[]},"max_block_age":50},
"id":1}'
- - '{"jsonrpc":"2.0", "method":"network_broadcast_api.broadcast_transaction", "params":{"trx":{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[{"type":"pow_operation","value":{"worker_account":"cloop3","block_id":"00000449f7860b82b4fbe2f317c670e9f01d6d9a","nonce":3899,"work":{"worker":"STM7P5TDnA87Pj9T4mf6YHrhzjC1KbPZpNxLWCcVcHxNYXakpoT4F","input":"ae8e7c677119d22385f8c48026fee7aad7bba693bf788d7f27047f40b47738c0","signature":"1f38fe9a3f9989f84bd94aa5bbc88beaf09b67f825aa4450cf5105d111149ba6db560b582c7dbb026c7fc9c2eb5051815a72b17f6896ed59d3851d9a0f9883ca7a","work":"000e7b209d58f2e64b36e9bf12b999c6c7af168cc3fc41eb7f8a4bf796c174c3"},"props":{"account_creation_fee":{"amount":"100000","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"sbd_interest_rate":1000}}}],"extensions":[],"signatures":[]},"max_block_age":50},
+ - '{"jsonrpc":"2.0", "method":"network_broadcast_api.broadcast_transaction", "params":{"trx":{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[{"type":"pow_operation","value":{"worker_account":"cloop3","block_id":"00000449f7860b82b4fbe2f317c670e9f01d6d9a","nonce":3899,"work":{"worker":"STM7P5TDnA87Pj9T4mf6YHrhzjC1KbPZpNxLWCcVcHxNYXakpoT4F","input":"ae8e7c677119d22385f8c48026fee7aad7bba693bf788d7f27047f40b47738c0","signature":"1f38fe9a3f9989f84bd94aa5bbc88beaf09b67f825aa4450cf5105d111149ba6db560b582c7dbb026c7fc9c2eb5051815a72b17f6896ed59d3851d9a0f9883ca7a","work":"000e7b209d58f2e64b36e9bf12b999c6c7af168cc3fc41eb7f8a4bf796c174c3"},"props":{"account_creation_fee":{"amount":"100000","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"hbd_interest_rate":1000}}}],"extensions":[],"signatures":[]},"max_block_age":50},
"id":1}'
expected_curl_responses:
- Internal Error
diff --git a/_data/apidefinitions/rc_api.yml b/_data/apidefinitions/rc_api.yml
index 8c33cf46b14b43b46765ee2fafc397f4b526de2a..74a79e873726c4a5261cc6924ef9c747a14a62ff 100644
--- a/_data/apidefinitions/rc_api.yml
+++ b/_data/apidefinitions/rc_api.yml
@@ -3,7 +3,7 @@
---
- name: Resource Credit API
description: |
- Allows querying of various Resource Credit metrics. See: [RC Bandwidth System](https://github.com/steemit/steem/wiki/RC-Bandwidth-System), [0.20.2 Release Notes](https://github.com/steemit/steem/releases/tag/v0.20.2), [Developer Guide: Resource Credit System](https://steemit.com/steem/@steemitdev/developer-guide-resource-credit-system)
+ Allows querying of various Resource Credit metrics. See: [RC Bandwidth System](https://github.com/steemit/steem/wiki/RC-Bandwidth-System), [0.20.2 Release Notes](https://github.com/steemit/steem/releases/tag/v0.20.2), [Developer Guide: Resource Credit System](https://hive.blog/steem/@steemitdev/developer-guide-resource-credit-system)
methods:
- api_method: rc_api.find_rc_accounts
since: HF20
diff --git a/_data/apidefinitions/tags_api.yml b/_data/apidefinitions/tags_api.yml
index 2659ec144bf8b01f2f2c197274a784e925b409c2..40cd1430e4675b9b7eed73d62443867f262108cb 100644
--- a/_data/apidefinitions/tags_api.yml
+++ b/_data/apidefinitions/tags_api.yml
@@ -95,7 +95,7 @@
"precision": 3,
"nai": "@@000000021"
},
- "percent_steem_dollars": 0,
+ "percent_hbd": 0,
"allow_replies": false,
"allow_votes": false,
"allow_curation_rewards": false,
@@ -177,7 +177,7 @@
"precision": 3,
"nai": "@@000000013"
},
- "percent_steem_dollars": 10000,
+ "percent_hbd": 10000,
"allow_replies": true,
"allow_votes": true,
"allow_curation_rewards": true,
@@ -264,7 +264,7 @@
"precision": 3,
"nai": "@@000000013"
},
- "percent_steem_dollars": 0,
+ "percent_hbd": 0,
"allow_replies": true,
"allow_votes": true,
"allow_curation_rewards": true,
@@ -361,7 +361,7 @@
"precision": 3,
"nai": "@@000000013"
},
- "percent_steem_dollars": 0,
+ "percent_hbd": 0,
"allow_replies": true,
"allow_votes": true,
"allow_curation_rewards": true,
@@ -468,7 +468,7 @@
"precision": 3,
"nai": "@@000000013"
},
- "percent_steem_dollars": 0,
+ "percent_hbd": 0,
"allow_replies": true,
"allow_votes": true,
"allow_curation_rewards": true,
@@ -566,7 +566,7 @@
"precision": 3,
"nai": "@@000000013"
},
- "percent_steem_dollars": 10000,
+ "percent_hbd": 10000,
"allow_replies": true,
"allow_votes": true,
"allow_curation_rewards": true,
diff --git a/_data/apidefinitions/transaction_status_api.yml b/_data/apidefinitions/transaction_status_api.yml
index 5e59cad4bca743732c6e103e31efeb411cafe397..255a9d72b2d25767e4cd2eed654200695a305e5f 100644
--- a/_data/apidefinitions/transaction_status_api.yml
+++ b/_data/apidefinitions/transaction_status_api.yml
@@ -5,7 +5,7 @@
description: |
This API is intended to evaluate a transaction status after calling [`condenser_api.broadcast_transaction`]({{ '/apidefinitions/#condenser_api.broadcast_transaction' | relative_url }}).
- To enable this API for `steemd`, the following is required in `config.ini` by specifying:
+ To enable this API for `hived`, the following is required in `config.ini` by specifying:
```ini
plugin = transaction_status_api
diff --git a/_data/glossary/index.yml b/_data/glossary/index.yml
index 848bd9032d01b8224fab622b1fc95ef74a36b019..3a062db03937c28cf5adef9e3d0113bb7b8896b1 100644
--- a/_data/glossary/index.yml
+++ b/_data/glossary/index.yml
@@ -114,7 +114,7 @@
- term: DAO
def: 'Decentralized Autonomous Organization (see: DHF).'
- term: HBD Haircut
- def: 'Rules to stop printing HBD when the supply is too high. Note: HBD printing for the DHF (@steem.dao) does not follow these rules and will continue to print HBD regardless of the supply.'
+ def: 'Rules to stop printing HBD when the supply is too high. Note: HBD printing for the DHF (@hive.fund) does not follow these rules and will continue to print HBD regardless of the supply.'
- name: Transactions
id: glossary-transactions
diff --git a/_data/objects/config.yml b/_data/objects/config.yml
index e1f3d88b61a0ba3dffffcbb2932aac475bea3856..fb9760c20376877ce64b06b0c67c34c31f369098 100644
--- a/_data/objects/config.yml
+++ b/_data/objects/config.yml
@@ -43,7 +43,7 @@
purpose: |
The chain ID to connect to, which is used to seed signing and prevent transaction crosstalk between two chains, typically mainnet and testnet.
examples:
- - "`0000000000000000000000000000000000000000000000000000000000000000` - mainnet"
+ - "`beeab0de00000000000000000000000000000000000000000000000000000000` - mainnet"
- "`18dcf0a285365fc58b71f18b3d3fec954aa0c141c44e4e5cb4cf777b9eab274e` - testnet"
links:
- Hive Testnet
@@ -73,7 +73,7 @@
- name: HIVE_GENESIS_TIME
purpose: |
Scheduled time that the blockchain waited until the first block was produced. It is represented as the unix epoch of `1458835200`, which is `Thu Mar 24 16:00:00 UTC 2016`. About five seconds later, the first block was produced.
- links: https://steemd.com/b/1
+ links: https://hiveblocks.com/b/1
- name: HIVE_HARDFORK_REQUIRED_WITNESSES
purpose: |
The minimum number of Delegated Proof of Stake witnesses required for hardfork. This guarantees 75% participation on all subsequent rounds.
@@ -362,7 +362,7 @@
- name: HIVE_PRODUCER_APR_PERCENT
- name: HIVE_PROXY_TO_SELF_ACCOUNT
purpose: An empty string represents the canonical account for specifying you will vote for directly (as opposed to a proxy).
- - name: HIVE_SBD_INTEREST_COMPOUND_INTERVAL_SEC
+ - name: HIVE_HBD_INTEREST_COMPOUND_INTERVAL_SEC
- name: HIVE_SECONDS_PER_YEAR
- name: HIVE_RECENT_RSHARES_DECAY_TIME_HF19
- name: HIVE_RECENT_RSHARES_DECAY_TIME_HF17
@@ -458,7 +458,7 @@
since: HF21
purpose: Account dedicated to holding treasury debt asset balance to distribute.
examples:
- - '`steem.dao`'
+ - '`hive.fund`'
links:
- PR#3272
- PR#3278
diff --git a/_data/objects/dgpo.yml b/_data/objects/dgpo.yml
index 40b5f5a40d0cd49a32c065ab564ef539cd1c8eec..70ee4757e6166f29b03c77f1aa3b145269818156 100644
--- a/_data/objects/dgpo.yml
+++ b/_data/objects/dgpo.yml
@@ -53,15 +53,15 @@
purpose: Total asset held in confidential balances.
examples:
- "`0.000 HIVE`"
- - name: current_sbd_supply
+ - name: current_hbd_supply
purpose: HBD currently in existence.
examples:
- "`15478883.968 HBD`"
- - name: confidential_sbd_supply
+ - name: confidential_hbd_supply
purpose: Total asset held in confidential balances.
examples:
- "`0.000 HBD`"
- - name: total_vesting_fund_steem
+ - name: total_vesting_fund_hive
deprecated: true
purpose: |
*Now deprecated way to get HIVE that is invested in HIVE POWER (powered up).*
@@ -73,7 +73,7 @@
purpose: VESTS that are invested in HIVE POWER (powered up).
examples:
- "`390950506702.452773 VESTS`"
- - name: total_reward_fund_steem
+ - name: total_reward_fund_hive
purpose: HIVE available in the reward pool.
examples:
- "`0.000 HIVE`"
@@ -85,7 +85,7 @@
Use [`condenser_api.get_reward_fund`]({{ '/apidefinitions/#condenser_api.get_reward_fund' | relative_url }}) instead.
examples:
- "`0`"
- - name: sbd_interest_rate
+ - name: hbd_interest_rate
purpose: This property defines the interest rate that HBD deposits receive.
examples:
- "`0`"
@@ -139,9 +139,9 @@
The maximum bandwidth the blockchain can support is `max_bandwidth = maximum_block_size * HIVE_BANDWIDTH_AVERAGE_WINDOW_SECONDS / HIVE_BLOCK_INTERVAL`; The maximum virtual bandwidth is: `max_bandwidth * current_reserve_ratio`
examples:
- "`264241152000000000000`"
- - name: init_sbd_supply
+ - name: init_hbd_supply
since: HF19
- # purpose: Originally called `virtual_sbd_supply`, ... TODO
+ # purpose: Originally called `virtual_hbd_supply`, ... TODO
examples:
- "`0.000 HBD`"
- name: required_actions_partition_percent
@@ -169,14 +169,14 @@
- "`23985882`"
links:
- #1770
- - name: sbd_stop_percent
+ - name: hbd_stop_percent
since: HF20
purpose: Stop printing HBD at *n*% marketcap.
examples:
- "`1000`"
links:
- #2140
- - name: sbd_start_percent
+ - name: hbd_start_percent
since: HF20
purpose: Start reducing printing of HBD at *n*% marketcap.
examples:
@@ -241,7 +241,7 @@
links:
- #3328
- #3346
- - name: pending_rewarded_vesting_steem
+ - name: pending_rewarded_vesting_hive
since: HF17
examples:
- "`185294.019 HIVE`"
@@ -249,7 +249,7 @@
- #659
- #3328
- #3346
- - name: sbd_print_rate
+ - name: hbd_print_rate
since: HF14
examples:
- "`2933`"
diff --git a/_data/testnet/tools.yml b/_data/testnet/tools.yml
index caa8ccccc22c93f32a4b24c903db70324b453df7..ac937a6b094dc400d5cf0f9dd4865a41e667cb92 100644
--- a/_data/testnet/tools.yml
+++ b/_data/testnet/tools.yml
@@ -1,7 +1,7 @@
# Be sure to group each tool by testnet_id.
# Possible places to watch for new testnet tools:
# https://hiveprojects.io/search/?q=testnet
-- name: Steemit, Inc. Live Testnet Endpoint
+- name: Hive Live Testnet Endpoint
testnet_id: 46d82ab
url: https://testnet.steemitdev.com/
purpose: For anyone who wants to start testing their node and applications.
diff --git a/_includes/api-template.html b/_includes/api-template.html
index 2f55008370f8236aefe8d068fe7b06ce93e04fbf..936bf6329d1deca46789456d67bdc02fe59cb61d 100644
--- a/_includes/api-template.html
+++ b/_includes/api-template.html
@@ -40,7 +40,7 @@ Methods:
Example curl
{% for curl in method.curl_examples %}
```bash
-curl -s --data '{{curl}}' https://api.openhive.network
+curl -s --data '{{curl}}' https://api.hive.blog
```
{% endfor %}
{% endif %}
diff --git a/_includes/tutorials-javascript/blog_feed.json b/_includes/tutorials-javascript/blog_feed.json
index 71ab0a9cb355b374a2cfa5eef2f5dd774de1661f..663905ce02db6fd3999b2b40c8fc2a2d2e962f22 100644
--- a/_includes/tutorials-javascript/blog_feed.json
+++ b/_includes/tutorials-javascript/blog_feed.json
@@ -6,8 +6,8 @@
"category": "steemit",
"parent_author": "",
"parent_permlink": "steemit",
- "title": "Join Team Steemit at TokenFest!",
- "body": "\n\nHello Steemians! If you’d like to meet Team Steemit live-in-person, or are just interested in attending what promises to be a great blockchain conference, join us at TokenFest in San Francisco from March 15th to 16th. \n\nSteemit CEO, Ned Scott, will be participating in a fireside chat alongside Steemit’s CTO, Harry Schmidt, as well as the creator of Utopian.io, Diego Pucci. Steemit will also be hosting the opening party on Thursday night and we’d certainly love to meet as many of you as possible IRL, so head on over to https://tokenfest.adria.digital/ and get your tickets while you can. \n\n*Team Steemit*",
+ "title": "Join Team Hive at TokenFest!",
+ "body": "\n\nHello Hiveians! If you’d like to meet Team Hive live-in-person, or are just interested in attending what promises to be a great blockchain conference, join us at TokenFest in San Francisco from March 15th to 16th. \n\nHive CEO, Ned Scott, will be participating in a fireside chat alongside Hive’s CTO, Harry Schmidt, as well as the creator of Utopian.io, Diego Pucci. Hive will also be hosting the opening party on Thursday night and we’d certainly love to meet as many of you as possible IRL, so head on over to https://tokenfest.adria.digital/ and get your tickets while you can. \n\n*Team Hive*",
"json_metadata": "{\"tags\":[\"steemit\",\"tokenfest\",\"conference\"],\"image\":[\"https://i.imgur.com/fOScDIW.png\"],\"links\":[\"https://tokenfest.adria.digital\",\"https://tokenfest.adria.digital/\"],\"app\":\"steemit/0.1\",\"format\":\"markdown\"}",
"last_update": "2018-03-07T23:22:54",
"created": "2018-03-07T20:56:36",
@@ -23,21 +23,21 @@
"max_cashout_time": "1969-12-31T23:59:59",
"total_vote_weight": 3462435,
"reward_weight": 10000,
- "total_payout_value": "0.000 SBD",
- "curator_payout_value": "0.000 SBD",
+ "total_payout_value": "0.000 HBD",
+ "curator_payout_value": "0.000 HBD",
"author_rewards": 0,
"net_votes": 77,
"root_comment": 37338948,
- "max_accepted_payout": "0.000 SBD",
- "percent_steem_dollars": 10000,
+ "max_accepted_payout": "0.000 HBD",
+ "percent_hbd": 10000,
"allow_replies": true,
"allow_votes": true,
"allow_curation_rewards": true,
"beneficiaries": [],
"url": "/steemit/@steemitblog/join-team-steemit-at-tokenfest",
- "root_title": "Join Team Steemit at TokenFest!",
- "pending_payout_value": "46.436 SBD",
- "total_pending_payout_value": "0.000 STEEM",
+ "root_title": "Join Team Hive at TokenFest!",
+ "pending_payout_value": "46.436 HBD",
+ "total_pending_payout_value": "0.000 HIVE",
"active_votes": [
{
"voter": "steemitblog",
@@ -58,7 +58,7 @@
],
"replies": [],
"author_reputation": "128210130644387",
- "promoted": "0.000 SBD",
+ "promoted": "0.000 HBD",
"body_length": 754,
"reblogged_by": []
}
diff --git a/_includes/tutorials-javascript/get_posts.json b/_includes/tutorials-javascript/get_posts.json
index 9ae3e0e42ce562874c07ccd5ef16781b0db56d6f..5c1d59c2b6b607d79a862a1a9e81d28c2a31dfe4 100644
--- a/_includes/tutorials-javascript/get_posts.json
+++ b/_includes/tutorials-javascript/get_posts.json
@@ -6,9 +6,9 @@
"category": "steemit",
"parent_author": "",
"parent_permlink": "steemit",
- "title": "Join Team Steemit at TokenFest!",
+ "title": "Join Team Hive at TokenFest!",
"body":
- "\n\nHello Steemians! If you’d like to meet Team Steemit live-in-person, or are just interested in attending what promises to be a great blockchain conference, join us at TokenFest in San Francisco from March 15th to 16th. \n\nSteemit CEO, Ned Scott, will be participating in a fireside chat alongside Steemit’s CTO, Harry Schmidt, as well as the creator of Utopian.io, Diego Pucci. Steemit will also be hosting the opening party on Thursday night and we’d certainly love to meet as many of you as possible IRL, so head on over to https://tokenfest.adria.digital/ and get your tickets while you can. \n\n*Team Steemit*",
+ "\n\nHello Hiveians! If you’d like to meet Team Hive live-in-person, or are just interested in attending what promises to be a great blockchain conference, join us at TokenFest in San Francisco from March 15th to 16th. \n\nHive CEO, Ned Scott, will be participating in a fireside chat alongside Hive’s CTO, Harry Schmidt, as well as the creator of Utopian.io, Diego Pucci. Hive will also be hosting the opening party on Thursday night and we’d certainly love to meet as many of you as possible IRL, so head on over to https://tokenfest.adria.digital/ and get your tickets while you can. \n\n*Team Hive*",
"json_metadata":
"{\"tags\":[\"steemit\",\"tokenfest\",\"conference\"],\"image\":[\"https://i.imgur.com/fOScDIW.png\"],\"links\":[\"https://tokenfest.adria.digital\",\"https://tokenfest.adria.digital/\"],\"app\":\"steemit/0.1\",\"format\":\"markdown\"}",
"last_update": "2018-03-07T23:22:54",
@@ -25,21 +25,21 @@
"max_cashout_time": "1969-12-31T23:59:59",
"total_vote_weight": 3462435,
"reward_weight": 10000,
- "total_payout_value": "0.000 SBD",
- "curator_payout_value": "0.000 SBD",
+ "total_payout_value": "0.000 HBD",
+ "curator_payout_value": "0.000 HBD",
"author_rewards": 0,
"net_votes": 77,
"root_comment": 37338948,
- "max_accepted_payout": "0.000 SBD",
- "percent_steem_dollars": 10000,
+ "max_accepted_payout": "0.000 HBD",
+ "percent_hbd": 10000,
"allow_replies": true,
"allow_votes": true,
"allow_curation_rewards": true,
"beneficiaries": [],
"url": "/steemit/@steemitblog/join-team-steemit-at-tokenfest",
- "root_title": "Join Team Steemit at TokenFest!",
- "pending_payout_value": "46.436 SBD",
- "total_pending_payout_value": "0.000 STEEM",
+ "root_title": "Join Team Hive at TokenFest!",
+ "pending_payout_value": "46.436 HBD",
+ "total_pending_payout_value": "0.000 HIVE",
"active_votes": [
{
"voter": "steemitblog",
@@ -60,7 +60,7 @@
],
"replies": [],
"author_reputation": "128210130644387",
- "promoted": "0.000 SBD",
+ "promoted": "0.000 HBD",
"body_length": 754,
"reblogged_by": []
},
diff --git a/_plugins/post_generator.rb b/_plugins/post_generator.rb
index f96e93ea9e1d9564b0231f130221241908f93b1f..04102bc8dafe5b839112667826c5655e6d79f9e2 100644
--- a/_plugins/post_generator.rb
+++ b/_plugins/post_generator.rb
@@ -1,4 +1,4 @@
-require 'steem'
+require 'hive'
module Jekyll
module HivePostGenerator
@@ -9,7 +9,7 @@ module Jekyll
permlink = slug[1..-1].join('/')
permlink = permlink.split('?').first
permlink = permlink.split('#').first
- api = Steem::CondenserApi.new(url: 'https://api.openhive.network')
+ api = Hive::CondenserApi.new(url: 'https://api.hive.blog')
api.get_content(author, permlink) do |content|
body = content.body
@@ -56,6 +56,6 @@ Liquid::Template.register_filter(Jekyll::HivePostGenerator)
#
# NOTE:
# For content prior to the Hive fork, please remember to maintain the correct
-# canonical_url, even if it appears on a Steem front-end, unless the original
-# author removed it from Steem. SEO will still consider Steem as the origin,
+# canonical_url, even if it appears on a Hive front-end, unless the original
+# author removed it from Hive. SEO will still consider Hive as the origin,
# even after the Hive fork.
diff --git a/_quickstart/choose_library.md b/_quickstart/choose_library.md
index 17d633b65aa1cbac1b5870bd698175bf369b44ea..2d3018cb5b5801baa5c2c6951c87590648960636 100644
--- a/_quickstart/choose_library.md
+++ b/_quickstart/choose_library.md
@@ -6,4 +6,4 @@ exclude: true
Getting started to develop robust and feature rich **Hive** applications couldn't be easier. Accessing hive data is easy from various options depending on your infrastructure and objectives.
-Building a picture discovery app is a breeze with the [JavaScript]({{ '/tutorials/#tutorials-javascript' | relative_url }}) library. There is also a [Python]({{ '/tutorials/#tutorials-python' | relative_url }}) library available, [Steemit.com]({{ '/services/#services-steemit' | relative_url }}) and [SBDS]({{ '/services/#services-sbds' | relative_url }}) services, as well as many [community projects]({{ '/resources/#resources-overview' | relative_url }}) which could be beneficial for your steem project.
+Building a picture discovery app is a breeze with the [JavaScript]({{ '/tutorials/#tutorials-javascript' | relative_url }}) library. There is also a [Python]({{ '/tutorials/#tutorials-python' | relative_url }}) library available, [Hive.com]({{ '/services/#services-steemit' | relative_url }}) and [HBDS]({{ '/services/#services-hbds' | relative_url }}) services, as well as many [community projects]({{ '/resources/#resources-overview' | relative_url }}) which could be beneficial for your steem project.
diff --git a/_quickstart/hive_full_nodes.md b/_quickstart/hive_full_nodes.md
index 2f4c80dbbf6ad2beab5f999e33660ef96fcc2272..fd5cb2323e5f7997bfc37aa76371895aaa0a5a0a 100644
--- a/_quickstart/hive_full_nodes.md
+++ b/_quickstart/hive_full_nodes.md
@@ -40,13 +40,13 @@ _to run a node with all the data (e.g. for supporting a content website) that us
### Syncing blockchain
-Normally syncing blockchain starts from very first, `0` genesis block. It might take long time to catch up with live network. Because it connectes to various p2p nodes in the Steem network and requests blocks from 0 to head block. It stores blocks in block log file and builds up the current state in the shared memory file. But there is a way to bootstrap syncing by using trusted `block_log` file. The block log is an external append only log of the blocks. It contains blocks that are only added to the log after they are irreversible because the log is append only.
+Normally syncing blockchain starts from very first, `0` genesis block. It might take long time to catch up with live network. Because it connectes to various p2p nodes in the Hive network and requests blocks from 0 to head block. It stores blocks in block log file and builds up the current state in the shared memory file. But there is a way to bootstrap syncing by using trusted `block_log` file. The block log is an external append only log of the blocks. It contains blocks that are only added to the log after they are irreversible because the log is append only.
Trusted block log file helps to download blocks faster. Various operators provide public block log file which can be downloaded from:
- http://files.privex.io
- https://gtg.steem.house/get/blockchain
-Both `block_log` files updated periodically, as of April 2020 uncompressed `block_log` file size ~260 GB. (Docker container on `stable` branch of Hive source code has option to use `USE_PUBLIC_BLOCKLOG=1` to download latest block log and start Steem node with replay.)
+Both `block_log` files updated periodically, as of April 2020 uncompressed `block_log` file size ~260 GB. (Docker container on `stable` branch of Hive source code has option to use `USE_PUBLIC_BLOCKLOG=1` to download latest block log and start Hive node with replay.)
Block log should be place in `blockchain` directory below `data_dir` and node should be started with `--replay-blockchain` to ensure block log is valid and continue to sync from the point of snapshot. Replay uses the downloaded block log file to build up the shared memory file up to the highest block stored in that snapshot and then continues with sync up to the head block.
@@ -66,7 +66,7 @@ Above bash script drops `block_log` from the OS cache, leaving more memory free
##### Few other tricks that might help:
-For Linux users, virtual memory writes dirty pages of the shared file out to disk more often than is optimal which results in steemd being slowed down by redundant IO operations. These settings are recommended to optimize reindex time.
+For Linux users, virtual memory writes dirty pages of the shared file out to disk more often than is optimal which results in hived being slowed down by redundant IO operations. These settings are recommended to optimize reindex time.
```
echo 75 | sudo tee /proc/sys/vm/dirty_background_ratio
@@ -80,16 +80,16 @@ Another settings that can be changed in `config.ini` is `flush` - it is to speci
(below info is outdated - need updating)
``` bash
docker run \
- -d -p 2001:2001 -p 8090:8090 --name steemd-default \
+ -d -p 2001:2001 -p 8090:8090 --name hived-default \
steemit/steem
-docker logs -f steemd-default # follow along
+docker logs -f hived-default # follow along
```
``` bash
docker run \
--env USE_WAY_TOO_MUCH_RAM=1 \
- -d -p 2001:2001 -p 8090:8090 --name steemd-full \
+ -d -p 2001:2001 -p 8090:8090 --name hived-full \
steemit/steem
-docker logs -f steemd-full
+docker logs -f hived-full
```
diff --git a/_quickstart/testnet.md b/_quickstart/testnet.md
index cb48eeff5adcb446e79116a9a6fef47df9b69492..184c38632be99e199472e55e4c516642709d4c9a 100644
--- a/_quickstart/testnet.md
+++ b/_quickstart/testnet.md
@@ -14,11 +14,11 @@ More info soon
### Features
*Old text: Will be replaced:*
-The official Steemit, Inc. Testnet is a mirror of the mainnet. This is achieved by copying the existing accounts and transactions from the mainnet state, as the they happen. Accounts are copied from a [snapshot](https://github.com/steemit/tinman#taking-a-snapshot) of mainnet while the module used to copy transactions in real time is called [`gatling`](https://github.com/steemit/tinman#gatling-transactions-from-mainnet). The `gatling` module runs at the final step of each testnet deployment.
+The official Hive Testnet is a mirror of the mainnet. This is achieved by copying the existing accounts and transactions from the mainnet state, as the they happen. Accounts are copied from a [snapshot](https://github.com/steemit/tinman#taking-a-snapshot) of mainnet while the module used to copy transactions in real time is called [`gatling`](https://github.com/steemit/tinman#gatling-transactions-from-mainnet). The `gatling` module runs at the final step of each testnet deployment.
The combination of `snapshot` and `gatling` means that this testnet approaches a subset of the same activity that the mainnet experiences. Not everything can be mirrored. For example, if someone comments or votes on a post that hasn't been mirrored to the testnet (because the post itself pre-dates the testnet deploy), those operations will also not be included.
-At the time of this writing, the connection information for Steemit's testnet is as follows:
+At the time of this writing, the connection information for Hive's testnet is as follows:
* ChainID: `d043ab83d223f25f37e1876fe48a240d49d8e4b1daa2342064990a8036a8bb5b`
* Address prefix: `TST`
@@ -26,11 +26,11 @@ At the time of this writing, the connection information for Steemit's testnet is
## Running a Testnet Node
-First, let's build `steemd` specifically for testnet. Recommended specs:
+First, let's build `hived` specifically for testnet. Recommended specs:
* `Ubuntu Server 18.04 LTS`
* `100GB HDD`
-* `16GB RAM` (mostly needed for `steemd` build)
+* `16GB RAM` (mostly needed for `hived` build)
```bash
sudo apt-get update && sudo apt-get dist-upgrade
@@ -50,12 +50,12 @@ mkdir -p build
cd build
cmake \
-DCMAKE_BUILD_TYPE=Release \
- -DBUILD_STEEM_TESTNET=ON \
+ -DBUILD_HIVE_TESTNET=ON \
-DLOW_MEMORY_NODE=ON \
-DCHAINBASE_CHECK_LOCKING=ON \
-DCLEAR_VOTES=ON \
-DSKIP_BY_TX_ID=ON \
- -DSTEEM_LINT_LEVEL=OFF \
+ -DHIVE_LINT_LEVEL=OFF \
..
make -j$(nproc) install
cd
@@ -88,22 +88,22 @@ p2p-seed-node = testnet.steemitdev.com:2001
Then execute:
```bash
-steemd --data-dir=. --chain-id=d043ab83d223f25f37e1876fe48a240d49d8e4b1daa2342064990a8036a8bb5b
+hived --data-dir=. --chain-id=d043ab83d223f25f37e1876fe48a240d49d8e4b1daa2342064990a8036a8bb5b
```
Now let it sync, and you'll have a shiny new testnet seed node to play with.
## Custom Testnet
-In order to create a custom, isolated, testnet separate from the Steemit's we need to modify a few things mentioned in the previous section.
+In order to create a custom, isolated, testnet separate from the Hive's we need to modify a few things mentioned in the previous section.
In the file named `steem/libraries/protocol/include/steem/protocol/config.hpp`, we can see the first few lines dedicated to the Testnet section. The line starts with `#ifdef IS_TEST_NET`.
-Let's say we want to create a custom testnet with an initial supply of **1,000,000 STEEM**. We can change `STEEM_INIT_SUPPLY 1,000,000` and by changing `STEEM_CHAIN_ID_NAME "testnet"`, **testnet** to **mytestnet** we will automatically get a unique Chain ID for our testnet. The address prefix can be set to something like **MTN** and of course, we need to change the public and private keys to the genesis account. Note that the genesis account will receive the entire pre-mined supply of 1,000,000. That way, you can execute a setup script to fund any newly created accounts. Such a custom testnet will not have any additional hardware requirements to run.
+Let's say we want to create a custom testnet with an initial supply of **1,000,000 HIVE**. We can change `HIVE_INIT_SUPPLY 1,000,000` and by changing `HIVE_CHAIN_ID_NAME "testnet"`, **testnet** to **mytestnet** we will automatically get a unique Chain ID for our testnet. The address prefix can be set to something like **MTN** and of course, we need to change the public and private keys to the genesis account. Note that the genesis account will receive the entire pre-mined supply of 1,000,000. That way, you can execute a setup script to fund any newly created accounts. Such a custom testnet will not have any additional hardware requirements to run.
A minimum of 8GB RAM should be sufficient to run a custom testnet. Currently, Hive only has Linux and Mac compiling guides to build. A testnet can either be hosted locally, on a rented AWS, or dedicated bare metal servers so one can start testing functionality, explore different APIs, and start developing.
-One more crucial point to modify is to change the number of witnesses required to accept hardforks for a custom testnet, by default it is set to 17, we can change it to **1** `STEEM_HARDFORK_REQUIRED_WITNESSES 1` so that only one node instance would be sufficient and the network will be still functional and fast.
+One more crucial point to modify is to change the number of witnesses required to accept hardforks for a custom testnet, by default it is set to 17, we can change it to **1** `HIVE_HARDFORK_REQUIRED_WITNESSES 1` so that only one node instance would be sufficient and the network will be still functional and fast.
Another thing to note is that you can start a new chain with all previous hardforks already accepted, by changing the file named `steem/blob/master/libraries/chain/database.cpp` with the following function:
@@ -113,13 +113,13 @@ Another thing to note is that you can start a new chain with all previous hardfo
This would mean that 19 hardforks have been accepted by witnesses and the new chain will start with all previous forks included.
-After these changes, all we have to do is compile the source code and get the `steemd` executable. And once we fire up the custom testnet we can start testing and experimenting.
+After these changes, all we have to do is compile the source code and get the `hived` executable. And once we fire up the custom testnet we can start testing and experimenting.
-If you want to port some data from Hive main network you can use [Tinman](https://github.com/steemit/tinman), also developed by Steemit, to help with taking snapshots of the main network.
+If you want to port some data from Hive main network you can use [Tinman](https://github.com/steemit/tinman), also developed by Hive, to help with taking snapshots of the main network.
#### Custom live testnet
-An example of a custom testnet run by Hive community member [@almost-digital](https://steemit.com/@almost-digital). It doesn't have a snapshot of the main network
+An example of a custom testnet run by Hive community member [@almost-digital](https://hive.blog/@almost-digital). It doesn't have a snapshot of the main network
* ChainID: `79276aea5d4877d9a25892eaa01b0adf019d3e5cb12a97478df3298ccdd01673`
* Address prefix: `STX`
diff --git a/_resources/_piston.md b/_resources/_piston.md
index da73efb28678403bfb90d922e9cc265ad5f2b500..9eb79e62eec5deadc43346336e843bc2a2184fe4 100644
--- a/_resources/_piston.md
+++ b/_resources/_piston.md
@@ -3,7 +3,7 @@ title: PistonCLI
position: 4
---
-Piston is a command line tool to interact with the STEEM network. Piston is
+Piston is a command line tool to interact with the HIVE network. Piston is
written in Python and highly customizable for building steem tools and performing
wallet operations.
diff --git a/_resources/bluepaper.md b/_resources/bluepaper.md
index c68d7aaf5213364c4120e3ecef2f585f3b6f56d4..6df7cc8b6eee36264768776c4a1c8f65ee805ae1 100644
--- a/_resources/bluepaper.md
+++ b/_resources/bluepaper.md
@@ -3,6 +3,6 @@ title: Bluepaper
position: 2
---
-The Steem Bluepaper describes how the Steem blockchain works, and provides an overview of the key features.
+The Hive Bluepaper describes how the Hive blockchain works, and provides an overview of the key features.
[https://steem.com/steem-bluepaper.pdf](https://steem.com/steem-bluepaper.pdf)
diff --git a/_resources/client_libs.md b/_resources/client_libs.md
index 1a2ee994789a53e02db8a7527e826c5f1d6693a1..0a78b24818dae60e97a4dca2b2638ac3521c4ca8 100644
--- a/_resources/client_libs.md
+++ b/_resources/client_libs.md
@@ -15,7 +15,7 @@ Pure JavaScript Hive crypto library for node.js and browsers. Can be used to con
---
-**Steem-TX-JS** - [https://github.com/mahdiyari/steem-tx-js](https://github.com/mahdiyari/steem-tx-js)
+**Hive-TX-JS** - [https://github.com/mahdiyari/steem-tx-js](https://github.com/mahdiyari/steem-tx-js)
Lightweight JavaScript library for creating and signing transactions. Works with frameworks like Nativescript. This library is a solution to such cases when other libraries are not working. And also an alternative for *only* creating, signing, and broadcasting transactions.
@@ -35,22 +35,22 @@ A python library to interact with the Hive blockchain. It includes the CLI tool
**PHP Hive** - [https://github.com/lukestokes/php-steem-tools](https://github.com/lukestokes/php-steem-tools)
-Various tools and scripts written in PHP for exploring the STEEM blockchain.
+Various tools and scripts written in PHP for exploring the HIVE blockchain.
---
-
+Client library for Hive blockchain built with Rust -->
diff --git a/_resources/developeradvocate.md b/_resources/developeradvocate.md
index b50ff17c6d909bd61f7a0f742083a194d2a1aac4..7069d0bacb0dec7c6131634e43af9a6cbd2e564e 100644
--- a/_resources/developeradvocate.md
+++ b/_resources/developeradvocate.md
@@ -5,9 +5,9 @@ position: 6
-
+
#### API
diff --git a/_services/hive.blog.md b/_services/hive.blog.md
index ed10df5ff54007f350c39a5c283222de0ae2e32f..28695646a194e60b6e0c4a95fd776dc35a0c146e 100644
--- a/_services/hive.blog.md
+++ b/_services/hive.blog.md
@@ -61,19 +61,19 @@ User object
"last_vote_time":"2018-06-21T19:42:33",
"balance":"24.519 HIVE",
"savings_balance":"0.000 HIVE",
- "sbd_balance":"36.736 HBD",
- "sbd_seconds":"11732264931",
- "sbd_seconds_last_update":"2018-06-21T19:35:00",
- "sbd_last_interest_payment":"2018-06-15T14:05:03",
- "savings_sbd_balance":"0.000 HBD",
- "savings_sbd_seconds":"0",
- "savings_sbd_seconds_last_update":"1970-01-01T00:00:00",
- "savings_sbd_last_interest_payment":"1970-01-01T00:00:00",
+ "hbd_balance":"36.736 HBD",
+ "hbd_seconds":"11732264931",
+ "hbd_seconds_last_update":"2018-06-21T19:35:00",
+ "hbd_last_interest_payment":"2018-06-15T14:05:03",
+ "savings_hbd_balance":"0.000 HBD",
+ "savings_hbd_seconds":"0",
+ "savings_hbd_seconds_last_update":"1970-01-01T00:00:00",
+ "savings_hbd_last_interest_payment":"1970-01-01T00:00:00",
"savings_withdraw_requests":0,
- "reward_sbd_balance":"0.000 HBD",
- "reward_steem_balance":"0.000 HIVE",
+ "reward_hbd_balance":"0.000 HBD",
+ "reward_hive_balance":"0.000 HIVE",
"reward_vesting_balance":"481.354811 VESTS",
- "reward_vesting_steem":"0.237 HIVE",
+ "reward_vesting_hive":"0.237 HIVE",
"vesting_shares":"128367480.795804 VESTS",
"delegated_vesting_shares":"0.000000 VESTS",
"received_vesting_shares":"17069919.621493 VESTS",
@@ -166,7 +166,7 @@ Post object
"root_author": "curie",
"root_permlink": "the-daily-curie-12-13-feb-2017",
"max_accepted_payout": "1000000.000 HBD",
- "percent_steem_dollars": 0,
+ "percent_hbd": 0,
"allow_replies": true,
"allow_votes": true,
"allow_curation_rewards": true,
diff --git a/_services/imageHoster.md b/_services/imageHoster.md
index 38127c0f48eb9094eb72afe361b9f5ec5c1ebba1..be4aa80bd65de33e96e9290bfeb646bd04694ddd 100644
--- a/_services/imageHoster.md
+++ b/_services/imageHoster.md
@@ -10,7 +10,7 @@ The purpose of this tool is to provide a way to host and proxy images used by [c
Using ImageHoster will help limit access to IP addresses of the general user. It will also strip [image metadata](https://en.wikipedia.org/wiki/Exif) related to the author's geographical location. It also helps to verify that the original author uploaded the image they intended.
-The ability to upload images on steemit.com was originally added in January, 2017. Please note that this tool **does not** store any image data on the blockchain.
+The ability to upload images on hive.blog was originally added in January, 2017. Please note that this tool **does not** store any image data on the blockchain.
Detaied information on Imagehoster can be found in its [repository](https://gitlab.syncad.com/hive/imagehoster/-/blob/master/README.md#imagehoster)
diff --git a/_services/jussi.md b/_services/jussi.md
index 87dab0940b71ebe688583180f1dad7932232064a..e63e0e83264c9edddc94438c9bbc70bfd08dc1a8 100644
--- a/_services/jussi.md
+++ b/_services/jussi.md
@@ -4,13 +4,13 @@ position: 3
description: A reverse proxy that forwards json-rpc requests.
---
-Jussi is a custom-built caching layer for use with `steemd` and other various services (such as [SBDS]({{ '/services/#services-sbds' | relative_url }})).
+Jussi is a custom-built caching layer for use with `hived` and other various services (such as [HBDS]({{ '/services/#services-hbds' | relative_url }})).
The purpose of this document is to help developers and node operators set up their own jussi node within a docker container.
### Intro
-Jussi is a reverse proxy that is situation between the API client and the `steemd` server. It allows node operators to route an API call to nodes that are optimized for the particular call, as if they are all hosted from the same place.
+Jussi is a reverse proxy that is situation between the API client and the `hived` server. It allows node operators to route an API call to nodes that are optimized for the particular call, as if they are all hosted from the same place.
### Sections
@@ -43,7 +43,7 @@ docker run -itp 9000:8080 "$USER/jussi:$(git rev-parse --abbrev-ref HEAD)"
curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.get_block", "params":[8675309], "id":1}' http://localhost:9000
```
-See: [Running Condenser, Jussi and a new service locally + adding feature flags to Condenser](https://steemit.com/steemdev/@maitland/running-condenser-jussi-and-a-new-service-locally-adding-feature-flags-to-condenser)
+See: [Running Condenser, Jussi and a new service locally + adding feature flags to Condenser](https://hive.blog/hivedev/@maitland/running-condenser-jussi-and-a-new-service-locally-adding-feature-flags-to-condenser)
---
@@ -56,40 +56,40 @@ The default `DEV_config.json` is:
"limits":{"blacklist_accounts":["non-steemit"]},
"upstreams":[
{
- "name":"steemd",
+ "name":"hived",
"translate_to_appbase":false,
- "urls":[["steemd", "https://steemd.steemitdev.com"]],
+ "urls":[["hived", "https://hived.steemitdev.com"]],
"ttls":[
- ["steemd", 3],
- ["steemd.login_api", -1],
- ["steemd.network_broadcast_api", -1],
- ["steemd.follow_api", 10],
- ["steemd.market_history_api", 1],
- ["steemd.database_api", 3],
- ["steemd.database_api.get_block", -2],
- ["steemd.database_api.get_block_header", -2],
- ["steemd.database_api.get_content", 1],
- ["steemd.database_api.get_state", 1],
- ["steemd.database_api.get_state.params=['/trending']", 30],
- ["steemd.database_api.get_state.params=['trending']", 30],
- ["steemd.database_api.get_state.params=['/hot']", 30],
- ["steemd.database_api.get_state.params=['/welcome']", 30],
- ["steemd.database_api.get_state.params=['/promoted']", 30],
- ["steemd.database_api.get_state.params=['/created']", 10],
- ["steemd.database_api.get_dynamic_global_properties", 1]
+ ["hived", 3],
+ ["hived.login_api", -1],
+ ["hived.network_broadcast_api", -1],
+ ["hived.follow_api", 10],
+ ["hived.market_history_api", 1],
+ ["hived.database_api", 3],
+ ["hived.database_api.get_block", -2],
+ ["hived.database_api.get_block_header", -2],
+ ["hived.database_api.get_content", 1],
+ ["hived.database_api.get_state", 1],
+ ["hived.database_api.get_state.params=['/trending']", 30],
+ ["hived.database_api.get_state.params=['trending']", 30],
+ ["hived.database_api.get_state.params=['/hot']", 30],
+ ["hived.database_api.get_state.params=['/welcome']", 30],
+ ["hived.database_api.get_state.params=['/promoted']", 30],
+ ["hived.database_api.get_state.params=['/created']", 10],
+ ["hived.database_api.get_dynamic_global_properties", 1]
],
"timeouts":[
- ["steemd", 5],
- ["steemd.network_broadcast_api", 0]
+ ["hived", 5],
+ ["hived.network_broadcast_api", 0]
],
"retries": [
- ["steemd", 3],
- ["steemd.network_broadcast_api", 0]
+ ["hived", 3],
+ ["hived.network_broadcast_api", 0]
]
},
{
"name":"appbase",
- "urls":[["appbase", "https://steemd.steemitdev.com"]],
+ "urls":[["appbase", "https://hived.steemitdev.com"]],
"ttls":[
["appbase", -2],
["appbase.block_api", -2],
@@ -136,25 +136,25 @@ Jussi can be configured with various `TTL` (Time To Live) schemes. A `TTL` is an
| Upstream | API | Method | Parameters | TTL (seconds) |
|------------|-------------------------|---------------------------------|--------------------|---------------|
-| `steemd` | `login_api` | _all_ | _all_ | -1 |
-| `steemd` | `network_broadcast_api` | _all_ | _all_ | -1 |
-| `steemd` | `follow_api` | _all_ | _all_ | 10 |
-| `steemd` | `market_history_api` | _all_ | _all_ | 1 |
-| `steemd` | `database_api` | _all_ | _all_ | 3 |
-| `steemd` | `database_api` | `get_block` | _all_ | -2 |
-| `steemd` | `database_api` | `get_block_header` | _all_ | -2 |
-| `steemd` | `database_api` | `get_content` | _all_ | 1 |
-| `steemd` | `database_api` | `get_state` | _all_ | 1 |
-| `steemd` | `database_api` | `get_state` | `'/trending'` | 30 |
-| `steemd` | `database_api` | `get_state` | `'trending'` | 30 |
-| `steemd` | `database_api` | `get_state` | `'/hot'` | 30 |
-| `steemd` | `database_api` | `get_state` | `'/welcome'` | 30 |
-| `steemd` | `database_api` | `get_state` | `'/promoted'` | 30 |
-| `steemd` | `database_api` | `get_state` | `'/created'` | 10 |
-| `steemd` | `database_api` | `get_dynamic_global_properties` | _all_ | 1 |
+| `hived` | `login_api` | _all_ | _all_ | -1 |
+| `hived` | `network_broadcast_api` | _all_ | _all_ | -1 |
+| `hived` | `follow_api` | _all_ | _all_ | 10 |
+| `hived` | `market_history_api` | _all_ | _all_ | 1 |
+| `hived` | `database_api` | _all_ | _all_ | 3 |
+| `hived` | `database_api` | `get_block` | _all_ | -2 |
+| `hived` | `database_api` | `get_block_header` | _all_ | -2 |
+| `hived` | `database_api` | `get_content` | _all_ | 1 |
+| `hived` | `database_api` | `get_state` | _all_ | 1 |
+| `hived` | `database_api` | `get_state` | `'/trending'` | 30 |
+| `hived` | `database_api` | `get_state` | `'trending'` | 30 |
+| `hived` | `database_api` | `get_state` | `'/hot'` | 30 |
+| `hived` | `database_api` | `get_state` | `'/welcome'` | 30 |
+| `hived` | `database_api` | `get_state` | `'/promoted'` | 30 |
+| `hived` | `database_api` | `get_state` | `'/created'` | 10 |
+| `hived` | `database_api` | `get_dynamic_global_properties` | _all_ | 1 |
| `overseer` | _all_ | _all_ | _all_ | 5 |
| `conveyor` | _all_ | _all_ | _all_ | -1 |
-| `sbds` | _all_ | _all_ | _all_ | 3 |
+| `hbds` | _all_ | _all_ | _all_ | 3 |
| `hivemind` | _all_ | _all_ | _all_ | 3 |
| `yo` | _all_ | _all_ | _all_ | 3 |
@@ -200,7 +200,7 @@ In these examples, the methods `get_account_history` and `get_ops_in_block` rout
Adding a `retries` element defines the number of retry attempts, where `0` (or absent) means no retry. The maximum number of retries is `3`.
-Note that retrying broadcast methods is not recommended, which is why the example explicitly sets `steemd.network_broadcast_api` to `0`.
+Note that retrying broadcast methods is not recommended, which is why the example explicitly sets `hived.network_broadcast_api` to `0`.
#### json-rpc batch
@@ -209,7 +209,7 @@ Normally, a request is made with a JSON Object (`{}`). But jussi also supports
For example, this would be a typical, non-batched JSON Object request that asks for a single block:
```bash
-curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.get_block", "params":[1], "id":1}' https://api.steemit.com
+curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.get_block", "params":[1], "id":1}' https://api.hive.blog
```
```json
@@ -240,7 +240,7 @@ curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.get_block", "params":[
To request more than one block using the batch construct, wrap each call in a JSON Array, that asks for two blocks in one request:
```bash
-curl -s --data '[{"jsonrpc":"2.0", "method":"condenser_api.get_block", "params":[1], "id":1},{"jsonrpc":"2.0", "method":"condenser_api.get_block", "params":[2], "id":2}]' https://api.steemit.com
+curl -s --data '[{"jsonrpc":"2.0", "method":"condenser_api.get_block", "params":[1], "id":1},{"jsonrpc":"2.0", "method":"condenser_api.get_block", "params":[2], "id":2}]' https://api.hive.blog
```
```json
@@ -295,7 +295,7 @@ curl -s --data '[{"jsonrpc":"2.0", "method":"condenser_api.get_block", "params":
Error responses are returned in the JSON Array response as well. Notice the `"WRONG"` parameter in the second element. The first block is returned as expected, the second one generates an error.
```bash
-curl -s --data '[{"jsonrpc":"2.0", "method":"condenser_api.get_block", "params":[1], "id":1},{"jsonrpc":"2.0", "method":"condenser_api.get_block", "params":["WRONG"], "id":2}]' https://api.steemit.com
+curl -s --data '[{"jsonrpc":"2.0", "method":"condenser_api.get_block", "params":[1], "id":1},{"jsonrpc":"2.0", "method":"condenser_api.get_block", "params":["WRONG"], "id":2}]' https://api.hive.blog
```
```json
diff --git a/_testnet/index.md b/_testnet/index.md
index 211de7a359b9f998e4ed92fc6949e79959d34037..b5a71297d776d7d35d12ca14ddcea44935ff95e5 100644
--- a/_testnet/index.md
+++ b/_testnet/index.md
@@ -1,15 +1,15 @@
---
-title: Steem Testnet
+title: Hive Testnet
position: 3
layout: full
---
-Steem blockchain software is written in C++ and in order to modify the source code you need some understanding of the C++ programming language. Each Steem node runs an instance of this software, so in order to test your changes, you will need to know how to install dependencies which can be found in the [Steem repo](https://github.com/steemit/steem/blob/master/doc/building.md). This also means that some knowledge of System administration is also required. There are multiple advantages of running a testnet, you can test your scripts or applications on a testnet without extra spam on the live network, which allows much more flexibility to try new things.
-Having access to a testnet also helps you to work on new features and possibly submit new or improved pull requests to official the Steem GitHub repository.
+Hive blockchain software is written in C++ and in order to modify the source code you need some understanding of the C++ programming language. Each Hive node runs an instance of this software, so in order to test your changes, you will need to know how to install dependencies which can be found in the [Hive repo](https://github.com/steemit/steem/blob/master/doc/building.md). This also means that some knowledge of System administration is also required. There are multiple advantages of running a testnet, you can test your scripts or applications on a testnet without extra spam on the live network, which allows much more flexibility to try new things.
+Having access to a testnet also helps you to work on new features and possibly submit new or improved pull requests to official the Hive GitHub repository.
## Running Testnet
-By following official [build steps](https://github.com/steemit/steem/blob/master/doc/building.md#build_steem_testnetoffon) and enabling the `BUILD_STEEM_TESTNET` flag during compilation, you should be able to run the Steem Testnet locally on your workstation and join the development testnet. Docker can also be used to get started quickly. Compilation generates the `steemd` executable which is the main daemon for the Steem network. Additional `cli_wallet` can also be compiled to test/connect to an instance of `steemd` and request some data from the network, but it is not necessary to run a node.
+By following official [build steps](https://github.com/steemit/steem/blob/master/doc/building.md#build_hive_testnetoffon) and enabling the `BUILD_HIVE_TESTNET` flag during compilation, you should be able to run the Hive Testnet locally on your workstation and join the development testnet. Docker can also be used to get started quickly. Compilation generates the `hived` executable which is the main daemon for the Hive network. Additional `cli_wallet` can also be compiled to test/connect to an instance of `hived` and request some data from the network, but it is not necessary to run a node.
The development testnet requires a certain minimum set of hardware requirements, depending on the type of compile flags that have been enabled. Because it is a mirror of the live network, private keys are the same for accounts up to the point of the snapshot timestamp of the testnet.
@@ -17,13 +17,13 @@ Joining/Running the development testnet requires around 10 GB for block log on a
Testnet has the following parameters by default (as of this writing):
-* Initial supply (250 billion) - `STEEM_INIT_SUPPLY 250,000,000,000`
+* Initial supply (250 billion) - `HIVE_INIT_SUPPLY 250,000,000,000`
* Max number of blocks to be produced - `TESTNET_BLOCK_LIMIT 3,000,000`
-* Address prefix, prefix on public addresses - `STEEM_ADDRESS_PREFIX "TST"`
-* Chain id name, used for chain id - `STEEM_CHAIN_ID_NAME "testnet"`
-* Chain id, unique id hash of chain - `STEEM_CHAIN_ID (fc::sha256::hash(STEEM_CHAIN_ID_NAME))`
-* Public key of genesis account - `STEEM_INIT_PUBLIC_KEY_STR `
-* Account creation fee - `STEEM_MIN_ACCOUNT_CREATION_FEE 0`
+* Address prefix, prefix on public addresses - `HIVE_ADDRESS_PREFIX "TST"`
+* Chain id name, used for chain id - `HIVE_CHAIN_ID_NAME "testnet"`
+* Chain id, unique id hash of chain - `HIVE_CHAIN_ID (fc::sha256::hash(HIVE_CHAIN_ID_NAME))`
+* Public key of genesis account - `HIVE_INIT_PUBLIC_KEY_STR `
+* Account creation fee - `HIVE_MIN_ACCOUNT_CREATION_FEE 0`
There are a number of other subtle changes that we don't need to focus on right now.
@@ -41,11 +41,11 @@ In order to create a custom testnet, separate from the development one, we need
In the file named `steem/libraries/protocol/include/steem/protocol/config.hpp`, we can see the first few lines dedicated to the Testnet section. The line starts with `#ifdef IS_TEST_NET`.
-Let's say we want to create a custom testnet with an initial supply of **1,000,000 STEEM**. We can change `STEEM_INIT_SUPPLY 1,000,000` and by changing `STEEM_CHAIN_ID_NAME "testnet"`, **testnet** to **mytestnet** we will automatically get a unique Chain ID for our testnet. The address prefix can be set to something like **MTN** and of course, we need to change the public and private keys to the genesis account. Note that the genesis account will receive the entire pre-mined supply of 1,000,000. That way, you can execute a setup script to fund any newly created accounts. Such a custom testnet will not have any additional hardware requirements to run.
+Let's say we want to create a custom testnet with an initial supply of **1,000,000 HIVE**. We can change `HIVE_INIT_SUPPLY 1,000,000` and by changing `HIVE_CHAIN_ID_NAME "testnet"`, **testnet** to **mytestnet** we will automatically get a unique Chain ID for our testnet. The address prefix can be set to something like **MTN** and of course, we need to change the public and private keys to the genesis account. Note that the genesis account will receive the entire pre-mined supply of 1,000,000. That way, you can execute a setup script to fund any newly created accounts. Such a custom testnet will not have any additional hardware requirements to run.
-A minimum of 8GB RAM should be sufficient to run a custom testnet. Currently, Steem only has Linux and Mac compiling guides to build. A testnet can either be hosted locally, on a rented AWS, or dedicated bare metal servers so one can start testing functionality, explore different APIs, and start developing.
+A minimum of 8GB RAM should be sufficient to run a custom testnet. Currently, Hive only has Linux and Mac compiling guides to build. A testnet can either be hosted locally, on a rented AWS, or dedicated bare metal servers so one can start testing functionality, explore different APIs, and start developing.
-One more crucial point to modify is to change the number of witnesses required to accept hardforks for a custom testnet, by default it is set to 17, we can change it to **1** `STEEM_HARDFORK_REQUIRED_WITNESSES 1` so that only one node instance would be sufficient and the network will be still functional and fast.
+One more crucial point to modify is to change the number of witnesses required to accept hardforks for a custom testnet, by default it is set to 17, we can change it to **1** `HIVE_HARDFORK_REQUIRED_WITNESSES 1` so that only one node instance would be sufficient and the network will be still functional and fast.
Another thing to note is that you can start a new chain with all previous hardforks already accepted, by changing the file named `steem/blob/master/libraries/chain/database.cpp` with the following function:
@@ -55,9 +55,9 @@ Another thing to note is that you can start a new chain with all previous hardfo
This would mean that 19 hardforks have been accepted by witnesses and the new chain will start with all previous forks included.
-After these changes, all we have to do is compile the source code and get the `steemd` executable. And once we fire up the custom testnet we can start testing and experimenting.
+After these changes, all we have to do is compile the source code and get the `hived` executable. And once we fire up the custom testnet we can start testing and experimenting.
-If you want to port some data from Steem main network you can use [Tinman](https://github.com/steemit/tinman), also developed by Steemit, to help with taking snapshots of the main network.
+If you want to port some data from Hive main network you can use [Tinman](https://github.com/steemit/tinman), also developed by Hive, to help with taking snapshots of the main network.
#### Custom live testnet
diff --git a/_tutorials-javascript/account_reputation.md b/_tutorials-javascript/account_reputation.md
index 3e611000366672bdf5e4919f735242b1e2cb3479..ece2d21d6f1e202f726e0617b71c09b02f70bf65 100644
--- a/_tutorials-javascript/account_reputation.md
+++ b/_tutorials-javascript/account_reputation.md
@@ -10,11 +10,11 @@ canonical_url: account_reputation.html
-This tutorial runs on the main Steem blockchain. And accounts queried are real users with reputation.
+This tutorial runs on the main Hive blockchain. And accounts queried are real users with reputation.
## Intro
-This tutorial will show the method of capturing a queried tag name and matching it to the Steem. We are using the `call` function provided by the `dsteem` library to pull accounts from the Steem blockchain. A simple HTML interface is used to both capture the string query as well as display the completed search.
+This tutorial will show the method of capturing a queried tag name and matching it to the Hive. We are using the `call` function provided by the `dsteem` library to pull accounts from the Hive blockchain. A simple HTML interface is used to both capture the string query as well as display the completed search.
## steps
@@ -33,9 +33,9 @@ let opts = {};
//connect to production server
opts.addressPrefix = 'STM';
opts.chainId =
- '0000000000000000000000000000000000000000000000000000000000000000';
+ 'beeab0de00000000000000000000000000000000000000000000000000000000';
//connect to server which is connected to the network/production
-const client = new dsteem.Client('https://api.steemit.com');
+const client = new dsteem.Client('https://api.hive.blog');
```
#### 2. Search account
@@ -56,7 +56,7 @@ In order to get accounts, we run the search with the `search field` and `maximum
const _accounts = await client.database.call('lookup_accounts',[accSearch, max]);
```
-The result of the search is an array of accounts. After that we use `get_accounts` to pull account data from Steem.
+The result of the search is an array of accounts. After that we use `get_accounts` to pull account data from Hive.
```javascript
const acc = await client.database.call('get_accounts',[_accounts]);
diff --git a/_tutorials-javascript/blog_feed.md b/_tutorials-javascript/blog_feed.md
index e3acfb0a7fafa60fdbffc0edf5d0d4c0932d45ff..4376dc4666f55349ea866bfb60cc5a359473a73c 100644
--- a/_tutorials-javascript/blog_feed.md
+++ b/_tutorials-javascript/blog_feed.md
@@ -30,7 +30,7 @@ In first couple lines we require package and define connection server:
```javascript
const { Client } = require("@hivechain/dhive");
-const client = new Client('https://api.openhive.network');
+const client = new Client('https://api.hive.blog');
```
#### 2. Query format
@@ -138,7 +138,7 @@ The result returned form the service is a `JSON` object with the following prope
"parent_author": "",
"parent_permlink": "hiveblockchain",
"pending_payout_value": "0.000 HBD",
- "percent_steem_dollars": 10000,
+ "percent_hbd": 10000,
"permlink": "huobi-global-official-hive-listing-announcement-giveaways-ama-chat-transcripts",
"promoted": "0.000 HBD",
"reblogged_by": [],
diff --git a/_tutorials-javascript/claim_rewards.md b/_tutorials-javascript/claim_rewards.md
index 485cb7ed5b51abac894067c4d7bce10c0ac7c2f4..a883c15dff9651a7a371e2b54d1dd66747c35419 100644
--- a/_tutorials-javascript/claim_rewards.md
+++ b/_tutorials-javascript/claim_rewards.md
@@ -1,7 +1,7 @@
---
title: 'JS: Claim Rewards'
position: 23
-description: "_Learn how to claim rewards from unclaimed reward balance using Steemconnect as well as client signing method._"
+description: "_Learn how to claim rewards from unclaimed reward balance using Hiveconnect as well as client signing method._"
layout: full
canonical_url: claim_rewards.html
---
@@ -10,18 +10,18 @@ canonical_url: claim_rewards.html
-This tutorial runs on the main Steem blockchain. And accounts queried are real users with unclaimed balances.
+This tutorial runs on the main Hive blockchain. And accounts queried are real users with unclaimed balances.
## Intro
-This tutorial will show few functions such as querying account by name and getting unclaimed rewards. We are using the `call` function provided by the `dsteem` library to pull accounts from the Steem blockchain. A simple HTML interface is used to capture the account and its unclaimed balance as well as allowing interactively claim rewards.
+This tutorial will show few functions such as querying account by name and getting unclaimed rewards. We are using the `call` function provided by the `dsteem` library to pull accounts from the Hive blockchain. A simple HTML interface is used to capture the account and its unclaimed balance as well as allowing interactively claim rewards.
## Steps
1. [**App setup**](#app-setup) Setup `dsteem` to use the proper connection and network.
2. [**Search account**](#search-account) Get account details after input has account name
3. [**Fill form**](#fill-form) Fill form with account reward balances
-4. [**Claim reward**](#claim-reward) Claim reward with Steemconnect or Client signing options
+4. [**Claim reward**](#claim-reward) Claim reward with Hiveconnect or Client signing options
#### 1. App setup
@@ -33,9 +33,9 @@ let opts = {};
//connect to production server
opts.addressPrefix = 'STM';
opts.chainId =
- '0000000000000000000000000000000000000000000000000000000000000000';
+ 'beeab0de00000000000000000000000000000000000000000000000000000000';
//connect to server which is connected to the network/production
-const client = new dsteem.Client('https://api.steemit.com');
+const client = new dsteem.Client('https://api.hive.blog');
```
#### 2. Search account
@@ -54,20 +54,20 @@ After we fetched account data, we will fill form with reward balance and show cu
```javascript
const name = _accounts[0].name;
-const reward_steem = _accounts[0].reward_steem_balance.split(' ')[0];
-const reward_sbd = _accounts[0].reward_sbd_balance.split(' ')[0];
-const reward_sp = _accounts[0].reward_vesting_steem.split(' ')[0];
+const reward_hive = _accounts[0].reward_hive_balance.split(' ')[0];
+const reward_hbd = _accounts[0].reward_hbd_balance.split(' ')[0];
+const reward_sp = _accounts[0].reward_vesting_hive.split(' ')[0];
const reward_vests = _accounts[0].reward_vesting_balance.split(' ')[0];
-const unclaimed_balance = `Unclaimed balance for ${name}: ${reward_steem} STEEM, ${reward_sbd} SBD, ${reward_sp} SP = ${reward_vests} VESTS `;
+const unclaimed_balance = `Unclaimed balance for ${name}: ${reward_hive} HIVE, ${reward_hbd} HBD, ${reward_sp} SP = ${reward_vests} VESTS `;
document.getElementById('accList').innerHTML = unclaimed_balance;
-document.getElementById('steem').value = reward_steem;
-document.getElementById('sbd').value = reward_sbd;
+document.getElementById('steem').value = reward_hive;
+document.getElementById('hbd').value = reward_hbd;
document.getElementById('sp').value = reward_vests;
```
#### 4. Claim reward
-We have 2 options on how to claim rewards. Steemconnect and Client signing options. We generate Steemconnect link to claim rewards, but you can also choose client signing option to claim rewards right inside tutorial.
+We have 2 options on how to claim rewards. Hiveconnect and Client signing options. We generate Hiveconnect link to claim rewards, but you can also choose client signing option to claim rewards right inside tutorial.
In order to enable client signing, we will generate operation and also show Posting Private key (wif) field to sign transaction right there client side.
Below you can see example of operation and signing transaction, after successful operation broadcast result will be shown in user interface. It will be block number that transaction was included.
@@ -81,8 +81,8 @@ window.submitTx = async () => {
'claim_reward_balance',
{
account: document.getElementById('username').value,
- reward_steem: document.getElementById('steem').value + ' STEEM',
- reward_sbd: document.getElementById('sbd').value + ' SBD',
+ reward_hive: document.getElementById('steem').value + ' HIVE',
+ reward_hbd: document.getElementById('hbd').value + ' HBD',
reward_vests: document.getElementById('sp').value + ' VESTS',
},
];
diff --git a/_tutorials-javascript/convert_sbd_to_steem.md b/_tutorials-javascript/convert_sbd_to_steem.md
index 43c6f8a78ac3f1df35a142b959d4762ff9355f7b..1588d6928fe191ce88b823a7fdeca3398202cdd8 100644
--- a/_tutorials-javascript/convert_sbd_to_steem.md
+++ b/_tutorials-javascript/convert_sbd_to_steem.md
@@ -1,39 +1,39 @@
---
-title: 'JS: Convert Sbd To Steem'
+title: 'JS: Convert Hbd To Hive'
position: 32
-description: "_How to convert SBD to STEEM for a specified account._"
+description: "_How to convert HBD to HIVE for a specified account._"
layout: full
-canonical_url: convert_sbd_to_steem.html
+canonical_url: convert_hbd_to_hive.html
---
-Full, runnable src of [Convert Sbd To Steem](https://gitlab.syncad.com/hive/devportal/-/tree/master/tutorials/javascript/tutorials/32_convert_sbd_to_steem) can be downloaded as part of: [tutorials/javascript](https://gitlab.syncad.com/hive/devportal/-/tree/master/tutorials/javascript).
+Full, runnable src of [Convert Hbd To Hive](https://gitlab.syncad.com/hive/devportal/-/tree/master/tutorials/javascript/tutorials/32_convert_hbd_to_hive) can be downloaded as part of: [tutorials/javascript](https://gitlab.syncad.com/hive/devportal/-/tree/master/tutorials/javascript).
-This tutorial will take you through the process of checking a specific users' balances and then broadcasting the intended SBD conversion to the blockchain. Demo account information has been provided to assist with the tutorial. This tutorial has been set up for the `testnet` but can be easily be changed for `production`.
+This tutorial will take you through the process of checking a specific users' balances and then broadcasting the intended HBD conversion to the blockchain. Demo account information has been provided to assist with the tutorial. This tutorial has been set up for the `testnet` but can be easily be changed for `production`.
-It should be noted that the converted STEEM will not be available instantly as it takes 3.5 days for the transaction to be processed. It is also not possible to stop a conversion once initialised. During the 3.5 days for it to be converted and as the conversion price fluctuates you could actually be receiving less STEEM than what you should. Because of this, the method in this tutorial is NOT the preferred or most efficient way of converting SBD to STEEM. This tutorial just illustrates that it can be done in this manner.
+It should be noted that the converted HIVE will not be available instantly as it takes 3.5 days for the transaction to be processed. It is also not possible to stop a conversion once initialised. During the 3.5 days for it to be converted and as the conversion price fluctuates you could actually be receiving less HIVE than what you should. Because of this, the method in this tutorial is NOT the preferred or most efficient way of converting HBD to HIVE. This tutorial just illustrates that it can be done in this manner.
-There is a marketplace on Steemit that allows you to "sell" your SBD instantly. With this process you can get your STEEM immediately and at the exact price that you expect. The market place is the better way to convert your SBD. [This article](https://steemit.com/steem/@epico/convert-sbd-to-steem-and-steem-power-guide-2017625t103821622z) provides more information on using the market to exchange your SBD to STEEM
+There is a marketplace on Hive that allows you to "sell" your HBD instantly. With this process you can get your HIVE immediately and at the exact price that you expect. The market place is the better way to convert your HBD. [This article](https://hive.blog/steem/@epico/convert-hbd-to-steem-and-steem-power-guide-2017625t103821622z) provides more information on using the market to exchange your HBD to HIVE
-Steemconnect offers an alternative to converting SBD with a "simple link" solution. Instead of running through a list of operations on your account, you can simply use a link similar to the one below substituting the three parameters for your own details. You will be prompted to enter your username and password before the transaction will be executed.
-https://steemconnect.com/sign/convert?owner=username&requestid=1234567&amount=0.000%20SBD
+Hiveconnect offers an alternative to converting HBD with a "simple link" solution. Instead of running through a list of operations on your account, you can simply use a link similar to the one below substituting the three parameters for your own details. You will be prompted to enter your username and password before the transaction will be executed.
+https://steemconnect.com/sign/convert?owner=username&requestid=1234567&amount=0.000%20HBD
This is similar to the steemconnect links that have been covered in previous tutorials. For a list of signing operations that work in this manner you can go to https://v2.steemconnect.com/sign
-[This article](https://steemit.com/sbd/@timcliff/how-to-convert-sbd-into-steem-using-steemconnect) has more information on using steemconnect
+[This article](https://hive.blog/hbd/@timcliff/how-to-convert-hbd-into-steem-using-steemconnect) has more information on using steemconnect
## Intro
-This tutorial uses the `database API` to gather account information for the current SBD and STEEM balances of the specified user. This information is then used to assist the user in completing the conversion request. The values are then captured and the operation is transmitted via the `broadcast` API. The parameters for this `convert` function are:
+This tutorial uses the `database API` to gather account information for the current HBD and HIVE balances of the specified user. This information is then used to assist the user in completing the conversion request. The values are then captured and the operation is transmitted via the `broadcast` API. The parameters for this `convert` function are:
1. _owner_ - The account for which the conversion is being done
1. _requestid_ - Integer identifier for tracking the conversion. This needs to be a unique number for a specified user
-1. _amount_ - The amount of SBD to withdraw
+1. _amount_ - The amount of HBD to withdraw
The only other information required is the private active key of the user.
## Steps
-1. [**Configure connection**](#connection) Configuration of `dsteem` to communicate with a Steem blockchain
+1. [**Configure connection**](#connection) Configuration of `dsteem` to communicate with a Hive blockchain
1. [**User account**](#user) User account is captured and balances displayed
1. [**Input variables**](#input) Collecting the required inputs via an HTML UI
1. [**Broadcast operation**](#broadcast) Broadcasting the operation to the blockchain
@@ -44,7 +44,7 @@ As usual, we have a `public/app.js` file which holds the Javascript segment of t
```javascript
import { Client, PrivateKey } from 'dsteem';
-import { Testnet as NetConfig } from '../../configuration'; //A Steem Testnet. Replace 'Testnet' with 'Mainnet' to connect to the main Steem blockchain.
+import { Testnet as NetConfig } from '../../configuration'; //A Hive Testnet. Replace 'Testnet' with 'Mainnet' to connect to the main Hive blockchain.
let opts = { ...NetConfig.net };
@@ -56,7 +56,7 @@ Above, we have `dsteem` pointing to the testnet with the proper chainId, address
#### 2. User account
-The user account is input through the UI. Once entered, the user can select the `search` button to display the SBD and STEEM balances for that account. During this step, a random number is also generated for the `requestid`. This value can be changed to any integer value as long as it is unique for the specific account. If the requestid is duplicated an error to do with "uniqueness constraint" will be displayed in the console. For ease of use values for a demo account has already been entered in the relevant fields once the page loads.
+The user account is input through the UI. Once entered, the user can select the `search` button to display the HBD and HIVE balances for that account. During this step, a random number is also generated for the `requestid`. This value can be changed to any integer value as long as it is unique for the specific account. If the requestid is duplicated an error to do with "uniqueness constraint" will be displayed in the console. For ease of use values for a demo account has already been entered in the relevant fields once the page loads.
```javascript
window.onload = async () => {
@@ -75,10 +75,10 @@ window.submitAcc = async () => {
const _account = await client.database.call('get_accounts', [[accSearch]]);
console.log(`_account:`, _account);
- const availSBD = _account[0].sbd_balance
- const availSTEEM = _account[0].balance
+ const availHBD = _account[0].hbd_balance
+ const availHIVE = _account[0].balance
- const balance = `Available balance: ${availSBD} and ${availSTEEM} `;
+ const balance = `Available balance: ${availHBD} and ${availHIVE} `;
document.getElementById('accBalance').innerHTML = balance;
//create random number for requestid paramter
@@ -102,7 +102,7 @@ const privateKey = PrivateKey.fromString(
//get convert amount
const quantity = document.getElementById('quantity').value;
//create correct format
-const convert = quantity.concat(' SBD');
+const convert = quantity.concat(' HBD');
//assign integer value of ID
const requestid = parseInt(document.getElementById('requestID').value);
```
@@ -145,7 +145,7 @@ The results of the operation is displayed on the UI along with a block number in
### To run this tutorial
1. `git clone https://gitlab.syncad.com/hive/devportal.git`
-1. `cd devportal/tutorials/javascript/32_convert_sbd_to_steem`
+1. `cd devportal/tutorials/javascript/32_convert_hbd_to_hive`
1. `npm i`
1. `npm run dev-server` or `npm run start`
1. After a few moments, the server should be running at http://localhost:3000/
diff --git a/_tutorials-javascript/create_account.md b/_tutorials-javascript/create_account.md
index 83f14b6255399bd7b042605a6a34023876212e05..bf864eb8f482c682eb89ca55731c3edd544da7a1 100644
--- a/_tutorials-javascript/create_account.md
+++ b/_tutorials-javascript/create_account.md
@@ -1,7 +1,7 @@
---
title: 'JS: Create Account'
position: 26
-description: "_Create Steem account using Steemconnect as well as with client-side signing._"
+description: "_Create Hive account using Hiveconnect as well as with client-side signing._"
layout: full
canonical_url: create_account.html
---
@@ -10,18 +10,18 @@ canonical_url: create_account.html
-This tutorial will show how to search for a valid account name and then create a new account by means of Resource Credits or STEEM. This tutorial runs on the main Steem blockchain so extra care needs to be taken as any operation will affect real accounts.
+This tutorial will show how to search for a valid account name and then create a new account by means of Resource Credits or HIVE. This tutorial runs on the main Hive blockchain so extra care needs to be taken as any operation will affect real accounts.
## Intro
-This tutorial will show few functions such as querying account by name and check if username is taken or available to register. We are using the `call` function provided by the `dsteem` library to pull account from the Steem blockchain. We then create proper private keys for new account. A simple HTML interface is used to enter payment of account creation fee and create account right inside tutorial. We use the `account_create` function to commit the transaction to the blockchain. This function is used to create what is called a "non-discounted account". This means that the creator account needs to supply the exact `account_creation_fee` in STEEM in order for the transaction to process successfully. Currently this value is set to 3 STEEM. There is a second method of creating accounts using tokens. These are called "discounted accounts". In stead of STEEM, the `account_creation_fee` is paid in RC (resource credits). There are however a limited amount of discounted accounts that can be claimed which is decided upon by the witnesses. This account creation process is done in two steps, first claiming an account and then creating the account.
+This tutorial will show few functions such as querying account by name and check if username is taken or available to register. We are using the `call` function provided by the `dsteem` library to pull account from the Hive blockchain. We then create proper private keys for new account. A simple HTML interface is used to enter payment of account creation fee and create account right inside tutorial. We use the `account_create` function to commit the transaction to the blockchain. This function is used to create what is called a "non-discounted account". This means that the creator account needs to supply the exact `account_creation_fee` in HIVE in order for the transaction to process successfully. Currently this value is set to 3 HIVE. There is a second method of creating accounts using tokens. These are called "discounted accounts". In stead of HIVE, the `account_creation_fee` is paid in RC (resource credits). There are however a limited amount of discounted accounts that can be claimed which is decided upon by the witnesses. This account creation process is done in two steps, first claiming an account and then creating the account.
## Steps
1. [**App setup**](#app-setup) Setup `dsteem` to use the proper connection and network.
2. [**Search account**](#search-account) Get account details after input has account name
3. [**Generate private keys**](#generate-keys) Generate proper keys for new account
-4. [**Create account**](#create-account) Create account via Client-side or Steemconnect
+4. [**Create account**](#create-account) Create account via Client-side or Hiveconnect
#### 1. App setup
@@ -33,9 +33,9 @@ let opts = {};
//connect to production server
opts.addressPrefix = 'STM';
opts.chainId =
- '0000000000000000000000000000000000000000000000000000000000000000';
+ 'beeab0de00000000000000000000000000000000000000000000000000000000';
//connect to server which is connected to the network/production
-const client = new dsteem.Client('https://api.steemit.com');
+const client = new dsteem.Client('https://api.hive.blog');
```
#### 2. Search account
@@ -62,7 +62,7 @@ We will then do simple check if account is taken or not.
#### 3. Generate private keys
-After we know that account is available to register, we will fill form with password we wish for that account and enter creation fee. Note, that creation fees are "burned" once the new account is created. The creator account wishes to provide the new account with VEST (as per previous account creation process) they can do so by following the `delegate_vesting_shares` process (refer tutorial [#27](https://developers.steem.io/tutorials-javascript/delegate_power)). Irrespective of which account creation method is being followed, the process for generating new accounts keys is the same for both.
+After we know that account is available to register, we will fill form with password we wish for that account and enter creation fee. Note, that creation fees are "burned" once the new account is created. The creator account wishes to provide the new account with VEST (as per previous account creation process) they can do so by following the `delegate_vesting_shares` process (refer tutorial [#27](https://developers.hive.io/tutorials-javascript/delegate_power)). Irrespective of which account creation method is being followed, the process for generating new accounts keys is the same for both.
```javascript
const username = document.getElementById('username').value;
@@ -154,7 +154,7 @@ if (_account[0].pending_claimed_accounts == 0) {
'claim_account',
{
creator: creator,
- fee: '0.000 STEEM',
+ fee: '0.000 HIVE',
extensions: [],
}
];
diff --git a/_tutorials-javascript/delegate_power.md b/_tutorials-javascript/delegate_power.md
index 8afcccecb9c8d44bd36cefa869c989ad4d113006..613681ee2e454f60a8369ccb7cf9948a04baae1a 100644
--- a/_tutorials-javascript/delegate_power.md
+++ b/_tutorials-javascript/delegate_power.md
@@ -1,7 +1,7 @@
---
title: 'JS: Delegate Power'
position: 27
-description: "_Delegate power to other users using Steemconnect or Client-side signing._"
+description: "_Delegate power to other users using Hiveconnect or Client-side signing._"
layout: full
canonical_url: delegate_power.html
---
@@ -10,18 +10,18 @@ canonical_url: delegate_power.html
-This tutorial runs on the main Steem blockchain. And accounts queried/searched are real accounts with their available VESTS balances and estimated STEEM POWER holdings.
+This tutorial runs on the main Hive blockchain. And accounts queried/searched are real accounts with their available VESTS balances and estimated HIVE POWER holdings.
## Intro
-This tutorial will show few functions such as querying account by name and getting account vesting balance. We then convert VESTS to STEEM POWER for convenience of user. And allow user to choose portion or all holdings of VESTS to delegate other users. A simple HTML interface is provided to capture the account with search and its VESTS balance as well as allowing interactively delegate. It should be noted that when a delegation is cancelled, the VESTS will only be available again after a 5 day cool-down period.
+This tutorial will show few functions such as querying account by name and getting account vesting balance. We then convert VESTS to HIVE POWER for convenience of user. And allow user to choose portion or all holdings of VESTS to delegate other users. A simple HTML interface is provided to capture the account with search and its VESTS balance as well as allowing interactively delegate. It should be noted that when a delegation is cancelled, the VESTS will only be available again after a 5 day cool-down period.
## Steps
1. [**App setup**](#app-setup) Setup `dsteem` to use the proper connection and network.
2. [**Search account**](#search-account) Get account details after input has account name
3. [**Calculate and Fill form**](#fill-form) Calculate available vesting shares and Fill form with details
-4. [**Delegate power**](#delegate-power) Delegate VESTS with Steemconnect or Client-side signing.
+4. [**Delegate power**](#delegate-power) Delegate VESTS with Hiveconnect or Client-side signing.
#### 1. App setup
@@ -33,9 +33,9 @@ let opts = {};
//connect to production server
opts.addressPrefix = 'STM';
opts.chainId =
- '0000000000000000000000000000000000000000000000000000000000000000';
+ 'beeab0de00000000000000000000000000000000000000000000000000000000';
//connect to server which is connected to the network/production
-const client = new dsteem.Client('https://api.steemit.com');
+const client = new dsteem.Client('https://api.hive.blog');
```
#### 2. Search account
@@ -50,17 +50,17 @@ After account name field is filled with some name, we do automatic search for ac
#### 3. Calculate and Fill form
-After we fetched account data, we will fill form with VESTS balance and show current balance details. Note, that in order to get available VESTS balance we will have to check if account is already powering down and how much is powering down, how much of VESTS were delegated out which locks them from being powered down. Available balance will be in `avail` variable, next for convenience of user, we convert available VESTS to STEEM with `getDynamicGlobalProperties` function and fill form fields accordingly.
+After we fetched account data, we will fill form with VESTS balance and show current balance details. Note, that in order to get available VESTS balance we will have to check if account is already powering down and how much is powering down, how much of VESTS were delegated out which locks them from being powered down. Available balance will be in `avail` variable, next for convenience of user, we convert available VESTS to HIVE with `getDynamicGlobalProperties` function and fill form fields accordingly.
```javascript
const name = _account[0].name;
const avail = parseFloat(_account[0].vesting_shares) - (parseFloat(_account[0].to_withdraw) - parseFloat(_account[0].withdrawn)) / 1e6 - parseFloat(_account[0].delegated_vesting_shares);
const props = await client.database.getDynamicGlobalProperties();
- const vestSteem = parseFloat(parseFloat(props.total_vesting_fund_steem) *
+ const vestHive = parseFloat(parseFloat(props.total_vesting_fund_hive) *
(parseFloat(avail) / parseFloat(props.total_vesting_shares)),6);
- const balance = `Available Vests for ${name}: ${avail} VESTS ~ ${vestSteem} STEEM POWER
`;
+ const balance = `Available Vests for ${name}: ${avail} VESTS ~ ${vestHive} HIVE POWER
`;
document.getElementById('accBalance').innerHTML = balance;
document.getElementById('steem').value = avail+' VESTS';
```
@@ -69,7 +69,7 @@ Once form is filled with maximum available VESTS balance, you can choose portion
#### 4. Delegate power
-We have 2 options on how to delegate others. Steemconnect and Client-side signing options. By default we generate Steemconnect link to delegate power (delegate vesting shares), but you can choose client signing option to delegate right inside tutorial, note client-side signing will require Active Private key to perform the operation.
+We have 2 options on how to delegate others. Hiveconnect and Client-side signing options. By default we generate Hiveconnect link to delegate power (delegate vesting shares), but you can choose client signing option to delegate right inside tutorial, note client-side signing will require Active Private key to perform the operation.
In order to enable client signing, we will generate operation and also show Active Private key (wif) field to sign transaction client side.
Below you can see example of operation and signing transaction, after successful operation broadcast result will be shown in user interface. It will be block number that transaction was included.
diff --git a/_tutorials-javascript/edit_content_patching.md b/_tutorials-javascript/edit_content_patching.md
index 0d26c3d7928e4039d8ca3a6dc485c0f1feed3372..ac48944d27df6456c83f6a499100f63661ea3278 100644
--- a/_tutorials-javascript/edit_content_patching.md
+++ b/_tutorials-javascript/edit_content_patching.md
@@ -1,7 +1,7 @@
---
title: 'JS: Edit Content Patching'
position: 12
-description: "_By the end of this tutorial you should know how to patch post edits to Steem._"
+description: "_By the end of this tutorial you should know how to patch post edits to Hive._"
layout: full
canonical_url: edit_content_patching.html
---
@@ -10,15 +10,15 @@ canonical_url: edit_content_patching.html
-This tutorial will take you through the process of preparing and patching post using the `broadcast.comment` operation. Being able to patch a post is critical to save resources on Steem.
+This tutorial will take you through the process of preparing and patching post using the `broadcast.comment` operation. Being able to patch a post is critical to save resources on Hive.
## Intro
-Tutorial is demonstrating the typical process of editing content that has been previously posted on the blockchain. Instead of replacing the entire body of the post, the Steem blockchain offers an alternative strategy. In this tutorial, we will focus on properly patching existing content and then broadcasting the patch with a `demo` account on a testnet.
+Tutorial is demonstrating the typical process of editing content that has been previously posted on the blockchain. Instead of replacing the entire body of the post, the Hive blockchain offers an alternative strategy. In this tutorial, we will focus on properly patching existing content and then broadcasting the patch with a `demo` account on a testnet.
***Note for long time community members:** Since HF20 even archived content (older than 7 days) can be changed/updated. Editing content will also use less RC (resource credits) than creating new posts entirely.*
-We are using the `broadcast.comment` function provided by `dsteem` which generates, signs, and broadcast the transaction to the network. On the Steem platform, posts and comments are all internally stored as a `comment` object, differentiated by whether or not a `parent_author` exists. When there is no `parent_author`, it's a post, when there is, it's a comment. When editing a post, we need to make sure that we don't resubmit the same post over and over again, which will spam the network and adds additional cost to operate the platform. Instead we will use a package called `diff-match-patch`, which allows us to only apply changes and save resources on the Steem platform.
+We are using the `broadcast.comment` function provided by `dsteem` which generates, signs, and broadcast the transaction to the network. On the Hive platform, posts and comments are all internally stored as a `comment` object, differentiated by whether or not a `parent_author` exists. When there is no `parent_author`, it's a post, when there is, it's a comment. When editing a post, we need to make sure that we don't resubmit the same post over and over again, which will spam the network and adds additional cost to operate the platform. Instead we will use a package called `diff-match-patch`, which allows us to only apply changes and save resources on the Hive platform.
## Steps
diff --git a/_tutorials-javascript/follow_a_user.md b/_tutorials-javascript/follow_a_user.md
index 612d4d63b5848a0a7a6b7a48cb4ddf4cbf9f95f2..e1b13974261673d93e0d4003ae1fa8edaaa01736 100644
--- a/_tutorials-javascript/follow_a_user.md
+++ b/_tutorials-javascript/follow_a_user.md
@@ -25,7 +25,7 @@ A simple HTML UI is used to capture the required information, after which the br
## Steps
-1. [**Configure connection**](#connection) Configuration of `dsteem` to communicate with the Steem blockchain
+1. [**Configure connection**](#connection) Configuration of `dsteem` to communicate with the Hive blockchain
1. [**Input variables**](#input) Collecting the required inputs via an HTML UI
1. [**Get status**](#status) Get the follow status for the specified author
1. [**Follow operation**](#follow) Execute the `follow` operation
@@ -36,7 +36,7 @@ As usual, we have a `public/app.js` file which holds the Javascript segment of t
```javascript
import { Client, PrivateKey } from 'dsteem';
-import { Testnet as NetConfig } from '../../configuration'; //A Steem Testnet. Replace 'Testnet' with 'Mainnet' to connect to the main Steem blockchain.
+import { Testnet as NetConfig } from '../../configuration'; //A Hive Testnet. Replace 'Testnet' with 'Mainnet' to connect to the main Hive blockchain.
let opts = { ...NetConfig.net };
diff --git a/_tutorials-javascript/get_account_comments.md b/_tutorials-javascript/get_account_comments.md
index 47b0f8af6c0a3ca57b11e99ab79d018ef98b6603..1c5e3ae6d451ac32714df3f7bbb4750e9f08b9b8 100644
--- a/_tutorials-javascript/get_account_comments.md
+++ b/_tutorials-javascript/get_account_comments.md
@@ -30,9 +30,9 @@ let opts = {};
//connect to production server
opts.addressPrefix = 'STM';
opts.chainId =
- '0000000000000000000000000000000000000000000000000000000000000000';
+ 'beeab0de00000000000000000000000000000000000000000000000000000000';
//connect to server which is connected to the network/production
-const client = new dhive.Client('https://api.openhive.network');
+const client = new dhive.Client('https://api.hive.blog');
const Remarkable = require('remarkable');
const md = new Remarkable({ html: true, linkify: true });
@@ -70,16 +70,16 @@ The following is an example of the returned object:
"virtual_supply":"271970374.699 HIVE",
"current_supply":"268140818.508 HIVE",
"confidential_supply":"0.000 HIVE",
- "current_sbd_supply":"13342173.771 HBD",
- "confidential_sbd_supply":"0.000 HBD",
- "total_vesting_fund_steem":"191002132.498 HIVE",
+ "current_hbd_supply":"13342173.771 HBD",
+ "confidential_hbd_supply":"0.000 HBD",
+ "total_vesting_fund_hive":"191002132.498 HIVE",
"total_vesting_shares":"388786707656.308148 VESTS",
- "total_reward_fund_steem":"0.000 HIVE",
+ "total_reward_fund_hive":"0.000 HIVE",
"total_reward_shares2":"0",
"pending_rewarded_vesting_shares":"366359809.533218 VESTS",
- "pending_rewarded_vesting_steem":"178575.754 HIVE",
- "sbd_interest_rate":0,
- "sbd_print_rate":10000,
+ "pending_rewarded_vesting_hive":"178575.754 HIVE",
+ "hbd_interest_rate":0,
+ "hbd_print_rate":10000,
"maximum_block_size":65536,
"current_aslot":22373110,
"recent_slots_filled":"340282366920938463463374607431768211455",
@@ -124,7 +124,7 @@ The following is an example of the returned object:
"root_author":"hiveio",
"root_permlink":"devportal-update-3-ux-improvements-more-javascript-tutorials-and-more",
"max_accepted_payout":"1000000.000 HBD",
- "percent_steem_dollars":10000,
+ "percent_hbd":10000,
"allow_replies":true,
"allow_votes":true,
"allow_curation_rewards":true,
@@ -171,7 +171,7 @@ The following is an example of the returned object:
"root_author":"hiveio",
"root_permlink":"devportal-update-3-ux-improvements-more-javascript-tutorials-and-more",
"max_accepted_payout":"1000000.000 HBD",
- "percent_steem_dollars":10000,
+ "percent_hbd":10000,
"allow_replies":true,
"allow_votes":true,
"allow_curation_rewards":true,
@@ -205,7 +205,7 @@ The following is an example of the returned object:
"median_props":{
"account_creation_fee":"0.100 HIVE",
"maximum_block_size":65536,
- "sbd_interest_rate":0
+ "hbd_interest_rate":0
},
"majority_version":"0.19.3",
"max_voted_witnesses":20,
diff --git a/_tutorials-javascript/get_account_replies.md b/_tutorials-javascript/get_account_replies.md
index d7ec6dd533b7694bd3d661b100660a7c4b587f9c..01ab51af99a004a872402bc008f8c0338b3b3431 100644
--- a/_tutorials-javascript/get_account_replies.md
+++ b/_tutorials-javascript/get_account_replies.md
@@ -31,9 +31,9 @@ let opts = {};
//connect to production server
opts.addressPrefix = 'STM';
opts.chainId =
- '0000000000000000000000000000000000000000000000000000000000000000';
+ 'beeab0de00000000000000000000000000000000000000000000000000000000';
//connect to server which is connected to the network/production
-const client = new dhive.Client('https://api.openhive.network');
+const client = new dhive.Client('https://api.hive.blog');
const Remarkable = require('remarkable');
const md = new Remarkable({ html: true, linkify: true });
@@ -72,16 +72,16 @@ Following is example of returned object:
"virtual_supply":"271970374.699 HIVE",
"current_supply":"268140818.508 HIVE",
"confidential_supply":"0.000 HIVE",
- "current_sbd_supply":"13342173.771 HBD",
- "confidential_sbd_supply":"0.000 HBD",
- "total_vesting_fund_steem":"191002132.498 HIVE",
+ "current_hbd_supply":"13342173.771 HBD",
+ "confidential_hbd_supply":"0.000 HBD",
+ "total_vesting_fund_hive":"191002132.498 HIVE",
"total_vesting_shares":"388786707656.308148 VESTS",
- "total_reward_fund_steem":"0.000 HIVE",
+ "total_reward_fund_hive":"0.000 HIVE",
"total_reward_shares2":"0",
"pending_rewarded_vesting_shares":"366359809.533218 VESTS",
- "pending_rewarded_vesting_steem":"178575.754 HIVE",
- "sbd_interest_rate":0,
- "sbd_print_rate":10000,
+ "pending_rewarded_vesting_hive":"178575.754 HIVE",
+ "hbd_interest_rate":0,
+ "hbd_print_rate":10000,
"maximum_block_size":65536,
"current_aslot":22373110,
"recent_slots_filled":"340282366920938463463374607431768211455",
@@ -126,7 +126,7 @@ Following is example of returned object:
"root_author":"hiveio",
"root_permlink":"devportal-update-3-ux-improvements-more-javascript-tutorials-and-more",
"max_accepted_payout":"1000000.000 HBD",
- "percent_steem_dollars":10000,
+ "percent_hbd":10000,
"allow_replies":true,
"allow_votes":true,
"allow_curation_rewards":true,
@@ -173,7 +173,7 @@ Following is example of returned object:
"root_author":"hiveio",
"root_permlink":"devportal-update-3-ux-improvements-more-javascript-tutorials-and-more",
"max_accepted_payout":"1000000.000 HBD",
- "percent_steem_dollars":10000,
+ "percent_hbd":10000,
"allow_replies":true,
"allow_votes":true,
"allow_curation_rewards":true,
@@ -210,7 +210,7 @@ Following is example of returned object:
"median_props":{
"account_creation_fee":"0.100 HIVE",
"maximum_block_size":65536,
- "sbd_interest_rate":0
+ "hbd_interest_rate":0
},
"majority_version":"0.19.3",
"max_voted_witnesses":20,
diff --git a/_tutorials-javascript/get_delegations_by_user.md b/_tutorials-javascript/get_delegations_by_user.md
index 949fd0044e80737a94847c2e162b39bdf7a0003e..413df33819cdf7dedf37708960b35d9b8caa7bb2 100644
--- a/_tutorials-javascript/get_delegations_by_user.md
+++ b/_tutorials-javascript/get_delegations_by_user.md
@@ -28,7 +28,7 @@ The second function is `getExpiringVestingDelegations` with parameters:
## Steps
-1. [**Configure connection**](#connection) Configuration of `dsteem` to communicate with a Steem blockchain
+1. [**Configure connection**](#connection) Configuration of `dsteem` to communicate with a Hive blockchain
2. [**Input variables**](#input) Collecting the required inputs via an HTML UI
3. [**Database query**](#query) Sending a query to the blockchain for the user delegations
4. [**Display results**](#display) Display the results of the blockchain query
@@ -43,9 +43,9 @@ let opts = {};
//define network parameters
opts.addressPrefix = 'STM';
opts.chainId =
- '0000000000000000000000000000000000000000000000000000000000000000';
+ 'beeab0de00000000000000000000000000000000000000000000000000000000';
//connect to a steem node, production in this case
-const client = new dsteem.Client('https://api.steemit.com');
+const client = new dsteem.Client('https://api.hive.blog');
```
Above, we have `dsteem` pointing to the production network with the proper chainId, addressPrefix, and endpoint.
diff --git a/_tutorials-javascript/get_follower_and_following_list.md b/_tutorials-javascript/get_follower_and_following_list.md
index 6d95154eed1fee2d17ca9e08c18f43544b433fc8..7ce34ac089e161221cb6ead9824bbe07934b81e9 100644
--- a/_tutorials-javascript/get_follower_and_following_list.md
+++ b/_tutorials-javascript/get_follower_and_following_list.md
@@ -10,7 +10,7 @@ canonical_url: get_follower_and_following_list.html
-This tutorial will take you through the process of calling both the `follower` and `following` functions from the STEEM API.
+This tutorial will take you through the process of calling both the `follower` and `following` functions from the HIVE API.
## Intro
@@ -25,7 +25,7 @@ A simple HTML interface is used to capture the required information after which
## Steps
-1. [**Configure connection**](#connection) Configuration of `dsteem` to communicate with the Steem blockchain
+1. [**Configure connection**](#connection) Configuration of `dsteem` to communicate with the Hive blockchain
2. [**Input variables**](#input) Collecting the required inputs via an HTML UI
3. [**Get followers/following**](#query) Get the followers or users being followed
4. [**Display**](#display) Display the array of results on the UI
@@ -40,9 +40,9 @@ let opts = {};
//define network parameters
opts.addressPrefix = 'STM';
opts.chainId =
- '0000000000000000000000000000000000000000000000000000000000000000';
+ 'beeab0de00000000000000000000000000000000000000000000000000000000';
//connect to a steem node, production in this case
-const client = new dsteem.Client('https://api.steemit.com');
+const client = new dsteem.Client('https://api.hive.blog');
```
Above, we have `dsteem` pointing to the production network with the proper chainId, addressPrefix, and endpoint.
@@ -70,7 +70,7 @@ window.submitFollower = async () => {
#### 3. Get followers/following
-A list of followers or users being followed is called from the database with the `follow_api` available in the `SteemJS` library.
+A list of followers or users being followed is called from the database with the `follow_api` available in the `HiveJS` library.
```javascript
//get list of followers
diff --git a/_tutorials-javascript/get_post_comments.md b/_tutorials-javascript/get_post_comments.md
index 47db6ceb237c7c20c662d4a75a0f56ca6c82ff7b..6f8e97543abcb55a7e61ae300574b3450c2594f0 100644
--- a/_tutorials-javascript/get_post_comments.md
+++ b/_tutorials-javascript/get_post_comments.md
@@ -130,7 +130,7 @@ The result is returned from the post content as a `JSON` object with the followi
"parent_author": "",
"parent_permlink": "hiveblockchain",
"pending_payout_value": "0.000 HBD",
- "percent_steem_dollars": 10000,
+ "percent_hbd": 10000,
"permlink": "huobi-global-official-hive-listing-announcement-giveaways-ama-chat-transcripts",
"promoted": "0.000 HBD",
"reblogged_by": [],
diff --git a/_tutorials-javascript/get_post_details.md b/_tutorials-javascript/get_post_details.md
index 03a8afee326ce7c832cc28315574f9448def09d9..f3e5c0dcaffb9f44a0957f5f46234f9b66e77b17 100644
--- a/_tutorials-javascript/get_post_details.md
+++ b/_tutorials-javascript/get_post_details.md
@@ -130,7 +130,7 @@ The result is returned from the post content as a `JSON` object with the followi
"parent_author": "",
"parent_permlink": "hiveblockchain",
"pending_payout_value": "0.000 HBD",
- "percent_steem_dollars": 10000,
+ "percent_hbd": 10000,
"permlink": "huobi-global-official-hive-listing-announcement-giveaways-ama-chat-transcripts",
"promoted": "0.000 HBD",
"reblogged_by": [],
@@ -180,7 +180,7 @@ From this result, you have access to everything associated with the selected pos
* `net_votes` - Net positive votes
* `root_comment` - ID of the original content.
* `max_accepted_payout` - Value of the maximum payout this content will receive.
-* `percent_steem_dollars` - The percent of Hive Dollars to key, unkept amounts will be received as HIVE Power.
+* `percent_hbd` - The percent of Hive Dollars to key, unkept amounts will be received as HIVE Power.
* `allow_replies` - Allows content to disable replies.
* `allow_votes` - Allows content to receive votes.
* `allow_curation_rewards` - Allows curators of this content receive rewards.
diff --git a/_tutorials-javascript/get_posts.md b/_tutorials-javascript/get_posts.md
index 8a13863e1776eef532d734e6c82b995e89452277..e27db6fdcc41350d8be2576bbd76974b47aaf325 100644
--- a/_tutorials-javascript/get_posts.md
+++ b/_tutorials-javascript/get_posts.md
@@ -183,7 +183,7 @@ The result returned from the service is a `JSON` list. This is an example list w
"parent_author": "",
"parent_permlink": "hiveblockchain",
"pending_payout_value": "0.000 HBD",
- "percent_steem_dollars": 10000,
+ "percent_hbd": 10000,
"permlink": "huobi-global-official-hive-listing-announcement-giveaways-ama-chat-transcripts",
"promoted": "0.000 HBD",
"reblogged_by": [],
diff --git a/_tutorials-javascript/get_state_replacement_api.md b/_tutorials-javascript/get_state_replacement_api.md
index a9248a33fc8b5420cefaba2094a5050670ba8ddb..acfc202ae0ac1ba40ee9a599e3efcaed05f0a233 100644
--- a/_tutorials-javascript/get_state_replacement_api.md
+++ b/_tutorials-javascript/get_state_replacement_api.md
@@ -39,19 +39,19 @@ The call `routes` that will be covered are for:
"current_witness": "",
"total_pow": "18446744073709551615",
"num_pow_witnesses": 0,
- "virtual_supply": "0.000 STEEM",
- "current_supply": "0.000 STEEM",
- "confidential_supply": "0.000 STEEM",
- "current_sbd_supply": "0.000 STEEM",
- "confidential_sbd_supply": "0.000 STEEM",
- "total_vesting_fund_steem": "0.000 STEEM",
- "total_vesting_shares": "0.000 STEEM",
- "total_reward_fund_steem": "0.000 STEEM",
+ "virtual_supply": "0.000 HIVE",
+ "current_supply": "0.000 HIVE",
+ "confidential_supply": "0.000 HIVE",
+ "current_hbd_supply": "0.000 HIVE",
+ "confidential_hbd_supply": "0.000 HIVE",
+ "total_vesting_fund_hive": "0.000 HIVE",
+ "total_vesting_shares": "0.000 HIVE",
+ "total_reward_fund_hive": "0.000 HIVE",
"total_reward_shares2": "0",
- "pending_rewarded_vesting_shares": "0.000 STEEM",
- "pending_rewarded_vesting_steem": "0.000 STEEM",
- "sbd_interest_rate": 0,
- "sbd_print_rate": 10000,
+ "pending_rewarded_vesting_shares": "0.000 HIVE",
+ "pending_rewarded_vesting_hive": "0.000 HIVE",
+ "hbd_interest_rate": 0,
+ "hbd_print_rate": 10000,
"maximum_block_size": 0,
"current_aslot": 0,
"recent_slots_filled": "0",
@@ -79,9 +79,9 @@ The call `routes` that will be covered are for:
"miner_weight": 1,
"witness_pay_normalization_factor": 25,
"median_props": {
- "account_creation_fee": "0.000 STEEM",
+ "account_creation_fee": "0.000 HIVE",
"maximum_block_size": 131072,
- "sbd_interest_rate": 1000
+ "hbd_interest_rate": 1000
},
"majority_version": "0.0.0",
"max_voted_witnesses": 19,
@@ -89,7 +89,7 @@ The call `routes` that will be covered are for:
"max_runner_witnesses": 1,
"hardfork_required_witnesses": 17
},
- "feed_price": {"base": "0.000 STEEM", "quote": "0.000 STEEM"},
+ "feed_price": {"base": "0.000 HIVE", "quote": "0.000 HIVE"},
"error": ""
}
```
@@ -119,7 +119,7 @@ In order to get the full compliment of account information for a specified accou
},
"average_bandwidth": 0,
"average_market_bandwidth": 0,
- "balance": "0.000 STEEM",
+ "balance": "0.000 HIVE",
"can_vote": true,
"comment_count": 0,
"created": "2016-03-26T08:26:21",
@@ -166,24 +166,24 @@ In order to get the full compliment of account information for a specified accou
"recovery_account": "steem",
"reputation": "",
"reset_account": "null",
- "reward_sbd_balance": "0.000 SBD",
- "reward_steem_balance": "0.000 STEEM",
+ "reward_hbd_balance": "0.000 HBD",
+ "reward_hive_balance": "0.000 HIVE",
"reward_vesting_balance": "967.889424 VESTS",
- "reward_vesting_steem": "0.479 STEEM",
- "savings_balance": "0.000 STEEM",
- "savings_sbd_balance": "0.000 SBD",
- "savings_sbd_last_interest_payment": "1970-01-01T00:00:00",
- "savings_sbd_seconds": "0",
- "savings_sbd_seconds_last_update": "1970-01-01T00:00:00",
+ "reward_vesting_hive": "0.479 HIVE",
+ "savings_balance": "0.000 HIVE",
+ "savings_hbd_balance": "0.000 HBD",
+ "savings_hbd_last_interest_payment": "1970-01-01T00:00:00",
+ "savings_hbd_seconds": "0",
+ "savings_hbd_seconds_last_update": "1970-01-01T00:00:00",
"savings_withdraw_requests": 0,
- "sbd_balance": "0.000 SBD",
- "sbd_last_interest_payment": "2018-09-08T13:46:15",
- "sbd_seconds": "79984344",
- "sbd_seconds_last_update": "2018-09-26T17:36:15",
+ "hbd_balance": "0.000 HBD",
+ "hbd_last_interest_payment": "2018-09-08T13:46:15",
+ "hbd_seconds": "79984344",
+ "hbd_seconds_last_update": "2018-09-26T17:36:15",
"tags_usage": [],
"to_withdraw": 0,
"transfer_history": [],
- "vesting_balance": "0.000 STEEM",
+ "vesting_balance": "0.000 HIVE",
"vesting_shares": "26772189.757016 VESTS",
"vesting_withdraw_rate": "0.000000 VESTS",
"vote_history": [],
@@ -206,7 +206,7 @@ In order to get the full compliment of account information for a specified accou
databaseAPI.call('get_discussions_by_trending',[{limit:20}])
```
-While `getState()` truncates the post body at 1024 characters, `getDiscussionsBy` will not truncate the body unless you provide a truncate_body value in the query structure. `getDiscussionsBy` can be executed by trending, created, active, cashout, payout, votes, children, hot, feed, blog or comments. This provides a wide range by which the posts can be called depending on the specific needs. Within the `query` parameter specific tags, filters, authors and permlinks can be provided. The limit can also be increased to a maximum of 100 posts where `getState` is limited to the first 20. You can also refer to the [get post](https://developers.steem.io/tutorials-javascript/get_posts) tutorial for a simplified database call for posts. The detail provided by this statement can be used to track pending payouts, curator rewards and votes for the trending, or specified posts.
+While `getState()` truncates the post body at 1024 characters, `getDiscussionsBy` will not truncate the body unless you provide a truncate_body value in the query structure. `getDiscussionsBy` can be executed by trending, created, active, cashout, payout, votes, children, hot, feed, blog or comments. This provides a wide range by which the posts can be called depending on the specific needs. Within the `query` parameter specific tags, filters, authors and permlinks can be provided. The limit can also be increased to a maximum of 100 posts where `getState` is limited to the first 20. You can also refer to the [get post](https://developers.hive.io/tutorials-javascript/get_posts) tutorial for a simplified database call for posts. The detail provided by this statement can be used to track pending payouts, curator rewards and votes for the trending, or specified posts.
- Expected result:
@@ -229,22 +229,22 @@ While `getState()` truncates the post body at 1024 characters, `getDiscussionsBy
"children": 7,
"children_abs_rshares": "60493226759117",
"created": "2018-09-25T13:52:24",
- "curator_payout_value": "0.000 SBD",
+ "curator_payout_value": "0.000 HBD",
"depth": 0,
"id": 63318715,
"json_metadata": {"tags":[]},
"last_payout": "1970-01-01T00:00:00",
"last_update": "2018-09-26T19:17:33",
- "max_accepted_payout": "100000.000 SBD",
+ "max_accepted_payout": "100000.000 HBD",
"max_cashout_time": "1969-12-31T23:59:59",
"net_rshares": "60411661082705",
"net_votes": 179,
"parent_author": "",
"parent_permlink": "witness-update",
- "pending_payout_value": "80.490 SBD",
- "percent_steem_dollars": 10000,
+ "pending_payout_value": "80.490 HBD",
+ "percent_hbd": 10000,
"permlink": "witness-essentials-hf20-ready",
- "promoted": "0.000 SBD",
+ "promoted": "0.000 HBD",
"reblogged_by": [],
"replies": [],
"reward_weight": 10000,
@@ -252,8 +252,8 @@ While `getState()` truncates the post body at 1024 characters, `getDiscussionsBy
"root_permlink": "witness-essentials-hf20-ready",
"root_title": "Witness Essentials: HF20 Ready",
"title": "Witness Essentials: HF20 Ready",
- "total_payout_value": "0.000 SBD",
- "total_pending_payout_value": "0.000 STEEM",
+ "total_payout_value": "0.000 HBD",
+ "total_pending_payout_value": "0.000 HIVE",
"total_vote_weight": 7795119,
"url": "/witness-update/@therealwolf/witness-essentials-hf20-ready",
"vote_rshares": "60411661082705"
@@ -262,7 +262,7 @@ While `getState()` truncates the post body at 1024 characters, `getDiscussionsBy
#### Route: getState('feed_price')
-- Purpose: The price feed is used by the Steem blockchain when it calculates how many SBD it owes for its author rewards. It is also used to calculate the worth in $US displayed in the wallet. The price feed is the median price feed of the last 3.5 days of all the top 20 witnesses' price feed.
+- Purpose: The price feed is used by the Hive blockchain when it calculates how many HBD it owes for its author rewards. It is also used to calculate the worth in $US displayed in the wallet. The price feed is the median price feed of the last 3.5 days of all the top 20 witnesses' price feed.
- Replacement API call:
@@ -276,14 +276,14 @@ This provides the same data as `getState` but is executed much faster due to the
```json
{
- "base": {"amount": 0.887, "symbol": "SBD"},
- "quote": {"amount": 1, "symbol": "STEEM"}
+ "base": {"amount": 0.887, "symbol": "HBD"},
+ "quote": {"amount": 1, "symbol": "HIVE"}
}
```
#### Route: getState('props')
-- Purpose: Provides detailed information of the block properties. Block number, witness, current STEEM and SBD supply, pending rewards and total vesting fund and shares among others.
+- Purpose: Provides detailed information of the block properties. Block number, witness, current HIVE and HBD supply, pending rewards and total vesting fund and shares among others.
- Replacement API call:
@@ -303,12 +303,12 @@ databaseAPI.getBlock(HeadBlockNum)
```json
{
"average_block_size":122,
- "confidential_sbd_supply":"0.000 SBD",
- "confidential_supply":"0.000 STEEM",
+ "confidential_hbd_supply":"0.000 HBD",
+ "confidential_supply":"0.000 HIVE",
"current_aslot":26372251,
"current_reserve_ratio":200000000,
- "current_sbd_supply":"14921682.900 SBD",
- "current_supply":"277501868.004 STEEM",
+ "current_hbd_supply":"14921682.900 HBD",
+ "current_supply":"277501868.004 HIVE",
"current_witness":"ausbitbank",
"delegation_return_period":432000,
"head_block_id":"0190f89c584661d6ffc78e17395df17ea5653197",
@@ -319,20 +319,20 @@ databaseAPI.getBlock(HeadBlockNum)
"num_pow_witnesses":172,
"participation_count":126,
"pending_rewarded_vesting_shares":"483834672.069834 VESTS",
- "pending_rewarded_vesting_steem":"237227.812 STEEM",
+ "pending_rewarded_vesting_hive":"237227.812 HIVE",
"recent_slots_filled":"340282366911034938426725082362930003967",
"reverse_auction_seconds":900,
- "sbd_interest_rate":0,
- "sbd_print_rate":10000,
- "sbd_start_percent":900,
- "sbd_stop_percent":1000,
+ "hbd_interest_rate":0,
+ "hbd_print_rate":10000,
+ "hbd_start_percent":900,
+ "hbd_stop_percent":1000,
"time":"2018-09-26T08:52:33",
"total_pow":514415,
- "total_reward_fund_steem":"0.000 STEEM",
+ "total_reward_fund_hive":"0.000 HIVE",
"total_reward_shares2":"0",
- "total_vesting_fund_steem":"196777383.890 STEEM",
+ "total_vesting_fund_hive":"196777383.890 HIVE",
"total_vesting_shares":"397621943253.336916 VESTS",
- "virtual_supply":"294324509.379 STEEM",
+ "virtual_supply":"294324509.379 HIVE",
"vote_power_reserve_rate":10
}
```
@@ -357,7 +357,7 @@ The `getTrendingTags` function calls the same information as with `getState` but
"name": "life",
"net_votes": 54671586,
"top_posts": 4996200,
- "total_payouts": "61584243.124 SBD",
+ "total_payouts": "61584243.124 HBD",
"trending": "114450355665"
}
```
@@ -372,7 +372,7 @@ The `getTrendingTags` function calls the same information as with `getState` but
databaseAPI.call('get_trending_tags',[startingValue, limit])
```
-This information can be gained by the using the same method as for `getState('tags')` and then only displaying the `name` object of the array of tags provided. You can refer to the tutorial [search tags](https://developers.steem.io/tutorials-javascript/search_tags) for a detailed example of this.
+This information can be gained by the using the same method as for `getState('tags')` and then only displaying the `name` object of the array of tags provided. You can refer to the tutorial [search tags](https://developers.hive.io/tutorials-javascript/search_tags) for a detailed example of this.
- Expected result:
@@ -429,9 +429,9 @@ If required you can also call the `median_props` values as standalone via the se
"max_runner_witnesses": 1,
"max_voted_witnesses": 20,
"median_props": {
- "account_creation_fee": "3.000 STEEM",
+ "account_creation_fee": "3.000 HIVE",
"maximum_block_size": 65536,
- "sbd_interest_rate": 0,
+ "hbd_interest_rate": 0,
"account_subsidy_budget": 797,
"account_subsidy_decay": 347321
},
@@ -454,7 +454,7 @@ If required you can also call the `median_props` values as standalone via the se
databaseAPI.call('get_witnesses_by_vote',['',limit])
```
-This detailed information can be used to track the performance of a specific witness when deciding for who to vote or for your own witness statistics. The detail includes the amount of votes, blocks missed and also the SBD exchange rate (feed price) that this witness is reporting. This function calls the info listed according to total votes.
+This detailed information can be used to track the performance of a specific witness when deciding for who to vote or for your own witness statistics. The detail includes the amount of votes, blocks missed and also the HBD exchange rate (feed price) that this witness is reporting. This function calls the info listed according to total votes.
- Expected result:
@@ -467,22 +467,22 @@ This detailed information can be used to track the performance of a specific wit
"id": 9493,
"last_aslot": 26387405,
"last_confirmed_block_num": 26293189,
- "last_sbd_exchange_update": "2018-09-26T19:54:36",
+ "last_hbd_exchange_update": "2018-09-26T19:54:36",
"last_work": "0000000048bf77f525731f28db7c1aa9ad853a475ccc78e71ea952a7782e5459",
"owner": "gtg",
"pow_worker": 0,
"props": {
- "account_creation_fee": "3.000 STEEM",
+ "account_creation_fee": "3.000 HIVE",
"maximum_block_size": 65536,
- "sbd_interest_rate": 0,
+ "hbd_interest_rate": 0,
"account_subsidy_budget": 797,
"account_subsidy_decay": 347321
},
"running_version": "0.20.3",
- "sbd_exchange_rate": {"base": "0.893 SBD", "quote": "1.000 STEEM"},
+ "hbd_exchange_rate": {"base": "0.893 HBD", "quote": "1.000 HIVE"},
"signing_key": "STM5T98tp8jZRbs7zzyCg74o2siqBw2SXxoYaE1MCuwuCPeQwKrju",
"total_missed": 535,
- "url": "https://steemit.com/witness-category/@gtg/witness-gtg",
+ "url": "https://hive.blog/witness-category/@gtg/witness-gtg",
"virtual_last_update": "376717145948220892034052885",
"virtual_position": "240558419146717570415939163840356145056",
"virtual_scheduled_time": "376718433464807443533288610",
diff --git a/_tutorials-javascript/grant_active_permission.md b/_tutorials-javascript/grant_active_permission.md
index 43234b6d0b5e063bcb8d098a110bd1fe3453d74e..0eaa438a82be445b8992142869091bb1e0c150bb 100644
--- a/_tutorials-javascript/grant_active_permission.md
+++ b/_tutorials-javascript/grant_active_permission.md
@@ -16,9 +16,9 @@ Providing another user active permission for your account enables them to do fun
One of the common practice nowadays is to lend/delegate SP to another account, above same technique can be used to create market around it with minimum 3rd party trust. All your funds stay in your account. You can use/create automated system where you can lease for certain period of time and system can take care of payments and release of delegations (notify clients). Even better, you can use multi-signature feature to establish 100% trust where clients will have to confirm, approve transactions.
-Active permissions and authority should be used with utmost care, you don't want to loose your funds. It is really not easy to hack Steem accounts, let alone take control over it. But without careful use (revealing private keys) loosing liquid funds are not that difficult and it takes only couple seconds to do that, keeping most value powered up always helps.
+Active permissions and authority should be used with utmost care, you don't want to loose your funds. It is really not easy to hack Hive accounts, let alone take control over it. But without careful use (revealing private keys) loosing liquid funds are not that difficult and it takes only couple seconds to do that, keeping most value powered up always helps.
-[this article](https://steemit.com/steem/@good-karma/steem-multi-authority-permissions-and-how-active-authority-works-part-2-f158813ec0ec1) has more detail around active authorities
+[this article](https://hive.blog/steem/@good-karma/steem-multi-authority-permissions-and-how-active-authority-works-part-2-f158813ec0ec1) has more detail around active authorities
## Intro
@@ -38,7 +38,7 @@ The tutorial is set up with three individual functions for each of the required
## Steps
-1. [**Configure connection**](#connection) Configuration of `dsteem` to communicate with a Steem blockchain
+1. [**Configure connection**](#connection) Configuration of `dsteem` to communicate with a Hive blockchain
1. [**Input variables**](#input) Collecting the required inputs via an HTML UI.
1. [**Database query**](#query) Sending a query to the blockchain for the active permissions (status)
1. [**Object creation**](#object) Create the array and subsequent data object for the broadcast operation
@@ -50,7 +50,7 @@ As usual, we have a `public/app.js` file which holds the Javascript segment of t
```javascript
import { Client, PrivateKey } from 'dsteem';
-import { Testnet as NetConfig } from '../../configuration'; //A Steem Testnet. Replace 'Testnet' with 'Mainnet' to connect to the main Steem blockchain.
+import { Testnet as NetConfig } from '../../configuration'; //A Hive Testnet. Replace 'Testnet' with 'Mainnet' to connect to the main Hive blockchain.
let opts = { ...NetConfig.net };
@@ -134,7 +134,7 @@ activeAuth.account_auths.sort();
activeAuth.account_auths.splice(arrayindex, 1);
```
-When adding to the array (creaing permission) it is required to sort the array before we can broadcast. The Steem blockchain does not accept the new fields in the array if it's not alphabetically sorted.
+When adding to the array (creaing permission) it is required to sort the array before we can broadcast. The Hive blockchain does not accept the new fields in the array if it's not alphabetically sorted.
After the active array has been defined, the broadcast object can be created. This holds all the required information for a successful transaction to be sent to the blockchain. Where there is no change in the authority types, the parameter can be omitted or in the case of required parameters, allocated directly from the database query.
```javascript
@@ -174,7 +174,7 @@ client.broadcast.updateAccount(accObj, privateKey).then(
The results of the operation is displayed on the UI along with a block number in the console to confirm a successful operation. If you add permission to an account that already has permission, or if your private key has been entered incorrectly, an error of "Missing Active Authority" will be displayed.
-Steemconnect offers an alternative to revoking active permission with a "simple link" solution. Instead of running through a list of operations on your account, you can simply use a link similar to the one below. You will be prompted to enter your usename and password and the specified user will have their permissions removed instantly.
+Hiveconnect offers an alternative to revoking active permission with a "simple link" solution. Instead of running through a list of operations on your account, you can simply use a link similar to the one below. You will be prompted to enter your usename and password and the specified user will have their permissions removed instantly.
https://v2.steemconnect.com/revoke/@username
This is similar to the steemconnect links that have been covered in previous tutorials. For a list of signing operations that work in this manner you can go to https://v2.steemconnect.com/sign
diff --git a/_tutorials-javascript/grant_posting_permission.md b/_tutorials-javascript/grant_posting_permission.md
index f3a7408af1fc1d567433757d3e87a449ab89c081..88293a9cf05d43f8c968769ea56a254eb2f84f28 100644
--- a/_tutorials-javascript/grant_posting_permission.md
+++ b/_tutorials-javascript/grant_posting_permission.md
@@ -32,7 +32,7 @@ The tutorial is set up with three individual functions for each of the required
## Steps
-1. [**Configure connection**](#connection) Configuration of `dsteem` to communicate with a Steem blockchain
+1. [**Configure connection**](#connection) Configuration of `dsteem` to communicate with a Hive blockchain
2. [**Input variables**](#input) Collecting the required inputs via an HTML UI.
3. [**Database query**](#query) Sending a query to the blockchain for the posting permissions (status)
4. [**Object creation**](#object) Create the array and subsequent data object for the broadcast operation
@@ -163,7 +163,7 @@ client.broadcast.updateAccount(accObj, privateKey).then(
The results of the operation is displayed on the UI along with a block number in the console to confirm a successful operation. If you add permission to an account that already has permission will display an error of "Missing Active Authority".
-Steemconnect offers an alternative to revoking posting permission with a "simple link" solution. Instead of running through a list of opetions on your account, you can simply use a link similar to the one below. You will be prompted to enter your usename and password and the specified user will have their posting permission removed instantly.
+Hiveconnect offers an alternative to revoking posting permission with a "simple link" solution. Instead of running through a list of opetions on your account, you can simply use a link similar to the one below. You will be prompted to enter your usename and password and the specified user will have their posting permission removed instantly.
https://v2.steemconnect.com/revoke/@username
This is similar to the steemconnect links that have been covered in previous tutorials. For a list of signing operations that work in this manner you can go to https://v2.steemconnect.com/sign
diff --git a/_tutorials-javascript/power_down.md b/_tutorials-javascript/power_down.md
index 820d53cb97ce97c7ae69a3490d9ebf8897ac25e9..e582ad3785f8c715d0bf7846181f5626565efc9a 100644
--- a/_tutorials-javascript/power_down.md
+++ b/_tutorials-javascript/power_down.md
@@ -1,7 +1,7 @@
---
title: 'JS: Power Down'
position: 25
-description: "_Perform a power down on all or part of an account's VESTS using either Steemconnect or client-side signing._"
+description: "_Perform a power down on all or part of an account's VESTS using either Hiveconnect or client-side signing._"
layout: full
canonical_url: power_down.html
---
@@ -10,18 +10,18 @@ canonical_url: power_down.html
-This tutorial runs on the main Steem blockchain. Therefore, any accounts used here will affect real funds on the live network. **Use with caution.**
+This tutorial runs on the main Hive blockchain. Therefore, any accounts used here will affect real funds on the live network. **Use with caution.**
## Intro
-This tutorial will demonstrate a few functions such as querying account by name and determining the vesting balance of the related account. We are using the `call` function provided by the `dsteem` library to pull account data from the Steem blockchain. We then calculate STEEM Power from the VESTS (vesting shares) for the convenience of the user. We will use a simple HTML interface to capture the account and its VESTS. It also has an interactive UI to perform a power down in full or in part.
+This tutorial will demonstrate a few functions such as querying account by name and determining the vesting balance of the related account. We are using the `call` function provided by the `dsteem` library to pull account data from the Hive blockchain. We then calculate HIVE Power from the VESTS (vesting shares) for the convenience of the user. We will use a simple HTML interface to capture the account and its VESTS. It also has an interactive UI to perform a power down in full or in part.
## Steps
1. [**App setup**](#app-setup) Setup `dsteem` to use the proper connection and network.
2. [**Search account**](#search-account) Get account details after input has account name
3. [**Calculate and Fill form**](#fill-form) Calculate available vesting shares and fill the form with details
-4. [**Power down**](#power-down) Power down VESTS with Steemconnect or client-side signing.
+4. [**Power down**](#power-down) Power down VESTS with Hiveconnect or client-side signing.
#### 1. App setup
@@ -33,9 +33,9 @@ let opts = {};
//connect to production server
opts.addressPrefix = 'STM';
opts.chainId =
- '0000000000000000000000000000000000000000000000000000000000000000';
+ 'beeab0de00000000000000000000000000000000000000000000000000000000';
//connect to server which is connected to the network/production
-const client = new dsteem.Client('https://api.steemit.com');
+const client = new dsteem.Client('https://api.hive.blog');
```
#### 2. Search account
@@ -58,17 +58,17 @@ Once the account data has been fetched, we will fill the form with VESTS balance
Available balance will be in the `avail` variable.
-For the convenience of the user, we will convert available VESTS to STEEM with `getDynamicGlobalProperties` function and fill the form fields accordingly.
+For the convenience of the user, we will convert available VESTS to HIVE with `getDynamicGlobalProperties` function and fill the form fields accordingly.
```javascript
const name = _account[0].name;
const avail = parseFloat(_account[0].vesting_shares) - (parseFloat(_account[0].to_withdraw) - parseFloat(_account[0].withdrawn)) / 1e6 - parseFloat(_account[0].delegated_vesting_shares);
const props = await client.database.getDynamicGlobalProperties();
- const vestSteem = parseFloat(parseFloat(props.total_vesting_fund_steem) *
+ const vestHive = parseFloat(parseFloat(props.total_vesting_fund_hive) *
(parseFloat(avail) / parseFloat(props.total_vesting_shares)),6);
- const balance = `Available Vests for ${name}: ${avail} VESTS ~ ${vestSteem} STEEM POWER
`;
+ const balance = `Available Vests for ${name}: ${avail} VESTS ~ ${vestHive} HIVE POWER
`;
document.getElementById('accBalance').innerHTML = balance;
document.getElementById('steem').value = avail+' VESTS';
```
@@ -77,7 +77,7 @@ Once form is filled with the maximum available VESTS balance, we can choose the
#### 4. Power down
-We have two options on how to Power down: Steemconnect and client-side signing. By default we generate a Steemconnect link to Power down (withdraw vesting), but we can also choose the client signing option to Power down right inside tutorial. **Note:** client-side signing will require Active Private key to perform the operation.
+We have two options on how to Power down: Hiveconnect and client-side signing. By default we generate a Hiveconnect link to Power down (withdraw vesting), but we can also choose the client signing option to Power down right inside tutorial. **Note:** client-side signing will require Active Private key to perform the operation.
In order to enable client signing, we will generate the operation and also show Active Private key (wif) field to sign transaction right there, client side.
diff --git a/_tutorials-javascript/power_up_steem.md b/_tutorials-javascript/power_up_steem.md
index 8e6a8d58fe3c69453b3c826783128ecf3ee03b23..d91103a2f0c333d1d4c1ac0d4d2cb809a180812d 100644
--- a/_tutorials-javascript/power_up_steem.md
+++ b/_tutorials-javascript/power_up_steem.md
@@ -1,27 +1,27 @@
---
-title: 'JS: Power Up Steem'
+title: 'JS: Power Up Hive'
position: 24
-description: "_Power up an account's Steem using either Steemconnect or a client-side signing._"
+description: "_Power up an account's Hive using either Hiveconnect or a client-side signing._"
layout: full
-canonical_url: power_up_steem.html
+canonical_url: power_up_hive.html
---
-Full, runnable src of [Power Up Steem](https://gitlab.syncad.com/hive/devportal/-/tree/master/tutorials/javascript/tutorials/24_power_up_steem) can be downloaded as part of: [tutorials/javascript](https://gitlab.syncad.com/hive/devportal/-/tree/master/tutorials/javascript).
+Full, runnable src of [Power Up Hive](https://gitlab.syncad.com/hive/devportal/-/tree/master/tutorials/javascript/tutorials/24_power_up_hive) can be downloaded as part of: [tutorials/javascript](https://gitlab.syncad.com/hive/devportal/-/tree/master/tutorials/javascript).
-This tutorial runs on the main Steem blockchain. And accounts queried are real users with liquid STEEM balances.
+This tutorial runs on the main Hive blockchain. And accounts queried are real users with liquid HIVE balances.
## Intro
-This tutorial will show few functions such as querying account by name and getting account balance. We are using the `call` function provided by the `dsteem` library to pull account from the Steem blockchain. A simple HTML interface is used to capture the account and its STEEM balance as well as allowing interactively power up part or all of STEEM to choose account.
+This tutorial will show few functions such as querying account by name and getting account balance. We are using the `call` function provided by the `dsteem` library to pull account from the Hive blockchain. A simple HTML interface is used to capture the account and its HIVE balance as well as allowing interactively power up part or all of HIVE to choose account.
## Steps
1. [**App setup**](#app-setup) Setup `dsteem` to use the proper connection and network.
2. [**Search account**](#search-account) Get account details after input has account name
3. [**Fill form**](#fill-form) Fill form with account reward balances
-4. [**Power up**](#power-up) Power up STEEM with Steemconnect or Client-side signing.
+4. [**Power up**](#power-up) Power up HIVE with Hiveconnect or Client-side signing.
#### 1. App setup
@@ -33,9 +33,9 @@ let opts = {};
//connect to production server
opts.addressPrefix = 'STM';
opts.chainId =
- '0000000000000000000000000000000000000000000000000000000000000000';
+ 'beeab0de00000000000000000000000000000000000000000000000000000000';
//connect to server which is connected to the network/production
-const client = new dsteem.Client('https://api.steemit.com');
+const client = new dsteem.Client('https://api.hive.blog');
```
#### 2. Search account
@@ -50,20 +50,20 @@ After account name field is filled with some name, we do automatic search for ac
#### 3. Fill form
-After we fetched account data, we will fill form with STEEM balance and show current balance details.
+After we fetched account data, we will fill form with HIVE balance and show current balance details.
```javascript
const name = _account[0].name;
-const steem_balance = _account[0].balance;
-const balance = `Available Steem balance for ${name}: ${steem_balance} `;
+const hive_balance = _account[0].balance;
+const balance = `Available Hive balance for ${name}: ${hive_balance} `;
document.getElementById('accBalance').innerHTML = balance;
-document.getElementById('steem').value = steem_balance;
+document.getElementById('steem').value = hive_balance;
const receiver = document.getElementById('receiver').value;
```
#### 4. Power up
-We have 2 options on how to Power up. Steemconnect and Client-side signing options. By default we generate Steemconnect link to Power up (transfer to vesting), but you can use client signing option to Power up right inside tutorial, note client-side signing will require Active private key to perform operation.
+We have 2 options on how to Power up. Hiveconnect and Client-side signing options. By default we generate Hiveconnect link to Power up (transfer to vesting), but you can use client signing option to Power up right inside tutorial, note client-side signing will require Active private key to perform operation.
In order to enable client signing, we will generate operation and also show Active Private key (wif) field to sign transaction right there client side.
Below you can see example of operation and signing transaction, after successful operation broadcast result will be shown in user interface. It will be block number that transaction was included.
@@ -102,7 +102,7 @@ That's it!
### To run this tutorial
1. `git clone https://gitlab.syncad.com/hive/devportal.git`
-1. `cd devportal/tutorials/javascript/22_power_up_steem`
+1. `cd devportal/tutorials/javascript/22_power_up_hive`
1. `npm i`
1. `npm run dev-server` or `npm run start`
1. After a few moments, the server should be running at [http://localhost:3000/](http://localhost:3000/)
diff --git a/_tutorials-javascript/reblogging_post.md b/_tutorials-javascript/reblogging_post.md
index 14651d26294ef105bb944e42931ed8067f348026..1d752680d1993a75fc0469842b8183f45c45329b 100644
--- a/_tutorials-javascript/reblogging_post.md
+++ b/_tutorials-javascript/reblogging_post.md
@@ -1,7 +1,7 @@
---
title: 'JS: Reblogging Post'
position: 14
-description: "_By the end of this tutorial you should know how to reblog (resteem) a blog from steem_"
+description: "_By the end of this tutorial you should know how to reblog (resteem) a blog from hive_"
layout: full
canonical_url: reblogging_post.html
---
@@ -21,7 +21,7 @@ We are using the `client.broadcast` function provided by `dsteem` to reblog the
* The author of the post that is being reblogged
* The title of the post that is being reblogged
-A simple HTML interface is used to capture the required information after which the transaction is submitted. There are two prerequisites within the reblog process in Steem that have to be adhered to, namely, the post must not be older than 7 days, and the post can only be reblogged once by a specific account. The fields have been populated with information to give an example of what it would look like but care has to be taken to provide correct details before the function is executed.
+A simple HTML interface is used to capture the required information after which the transaction is submitted. There are two prerequisites within the reblog process in Hive that have to be adhered to, namely, the post must not be older than 7 days, and the post can only be reblogged once by a specific account. The fields have been populated with information to give an example of what it would look like but care has to be taken to provide correct details before the function is executed.
This tutorial makes use of the This function is taken from the tutorial [Blog Feed](https://github.com/steemit/devportal-tutorials-js/blob/master/tutorials/01_blog_feed/) to get a list of trending posts.
@@ -43,9 +43,9 @@ const dsteem = require('dsteem');
let opts = {};
opts.addressPrefix = 'STM';
opts.chainId =
- '0000000000000000000000000000000000000000000000000000000000000000';
-//connect to a Steem node. This is currently setup on production, but we recommend using a testnet like https://testnet.steem.vc
-const client = new dsteem.Client('https://api.steemit.com', opts);
+ 'beeab0de00000000000000000000000000000000000000000000000000000000';
+//connect to a Hive node. This is currently setup on production, but we recommend using a testnet like https://testnet.steem.vc
+const client = new dsteem.Client('https://api.hive.blog', opts);
```
#### 2. Collecting information
@@ -134,7 +134,7 @@ If the reblog fails the `console.log` will present a long line of error code:
There is a line in the error log indicating "Account has already reblogged this post" indicating exactly that. This process can be run until a positive result is found.
-It should be noted that reblogging a post does not create a new post on the blockchain but merely shares the post to whomever is following the user doing the reblog. Along with `reblogging` the `custom_json` broadcast operation also includes options for following users and editing blog content. More information on how to use the `broadcast` operation and options surrounding the operation can be found on the Steem [Devportal](https://developers.steem.io/apidefinitions/#apidefinitions-broadcast-ops-comment)
+It should be noted that reblogging a post does not create a new post on the blockchain but merely shares the post to whomever is following the user doing the reblog. Along with `reblogging` the `custom_json` broadcast operation also includes options for following users and editing blog content. More information on how to use the `broadcast` operation and options surrounding the operation can be found on the Hive [Devportal](https://developers.hive.io/apidefinitions/#apidefinitions-broadcast-ops-comment)
## To run this tutorial
diff --git a/_tutorials-javascript/search_accounts.md b/_tutorials-javascript/search_accounts.md
index 3c7bd3f49631ccaa22a3396821aad96010e968cf..92252e0769cdf4aec070493c61394748f1776d37 100644
--- a/_tutorials-javascript/search_accounts.md
+++ b/_tutorials-javascript/search_accounts.md
@@ -39,9 +39,9 @@ let opts = {};
//connect to production server
opts.addressPrefix = 'STM';
opts.chainId =
- '0000000000000000000000000000000000000000000000000000000000000000';
+ 'beeab0de00000000000000000000000000000000000000000000000000000000';
//connect to server which is connected to the network/production
-const client = new dsteem.Client('https://api.steemit.com');
+const client = new dsteem.Client('https://api.hive.blog');
```
#### 2. **Collecting input variables**
diff --git a/_tutorials-javascript/search_tags.md b/_tutorials-javascript/search_tags.md
index 386322ef066205190944c21ebd93e663442d76e1..5d163007dd06fdf615f28d081ca23948ddba5a63 100644
--- a/_tutorials-javascript/search_tags.md
+++ b/_tutorials-javascript/search_tags.md
@@ -10,7 +10,7 @@ canonical_url: search_tags.html
-This tutorial runs on the main Steem blockchain.
+This tutorial runs on the main Hive blockchain.
## Intro
@@ -33,9 +33,9 @@ let opts = {};
//connect to production server
opts.addressPrefix = 'STM';
opts.chainId =
- '0000000000000000000000000000000000000000000000000000000000000000';
+ 'beeab0de00000000000000000000000000000000000000000000000000000000';
//connect to server which is connected to the network/production
-const client = new dsteem.Client('https://api.steemit.com');
+const client = new dsteem.Client('https://api.hive.blog');
```
#### 2. Search input
diff --git a/_tutorials-javascript/set_withdraw_route.md b/_tutorials-javascript/set_withdraw_route.md
index 9737cbec88411d9108bb0789640c6417fd3821a2..a64f23791549f421a0ec5fdcc76d4f777aaa27aa 100644
--- a/_tutorials-javascript/set_withdraw_route.md
+++ b/_tutorials-javascript/set_withdraw_route.md
@@ -10,18 +10,18 @@ canonical_url: set_withdraw_route.html
-We will learn how to allocate a percentage for withdrawal to other accounts using Steemconnect as well as with the client-side signing method. This tutorial runs on the main Steem blockchain. Therefore, any accounts used here will affect real funds on the live network. **Use with caution.**
+We will learn how to allocate a percentage for withdrawal to other accounts using Hiveconnect as well as with the client-side signing method. This tutorial runs on the main Hive blockchain. Therefore, any accounts used here will affect real funds on the live network. **Use with caution.**
## Intro
-This tutorial will demonstrate a few functions such as querying account by name and determining the vesting balance of the related account. This will allow us to set "withdraw routes" to other accounts with a percent selection and auto power up function. This feature is quite useful if you want to withdraw a portion of your STEEM to a separate account or POWER UP other accounts as you withdraw from one account.
+This tutorial will demonstrate a few functions such as querying account by name and determining the vesting balance of the related account. This will allow us to set "withdraw routes" to other accounts with a percent selection and auto power up function. This feature is quite useful if you want to withdraw a portion of your HIVE to a separate account or POWER UP other accounts as you withdraw from one account.
## Steps
1. [**App setup**](#app-setup) Setup `dsteem` to use the proper connection and network.
2. [**Get account routes**](#search-account) Get account's current routes
3. [**Fill form**](#fill-form) Fill form with appropriate data
-4. [**Set withdraw route**](#withdraw-route) Set route with Steemconnect or client-side signing
+4. [**Set withdraw route**](#withdraw-route) Set route with Hiveconnect or client-side signing
#### 1. App setup
@@ -33,9 +33,9 @@ let opts = {};
//connect to production server
opts.addressPrefix = 'STM';
opts.chainId =
- '0000000000000000000000000000000000000000000000000000000000000000';
+ 'beeab0de00000000000000000000000000000000000000000000000000000000';
//connect to server which is connected to the network/production
-const client = new dsteem.Client('https://api.steemit.com');
+const client = new dsteem.Client('https://api.hive.blog');
```
#### 2. Get account routes
@@ -70,7 +70,7 @@ document.getElementById('accInfo').innerHTML = info;
Previous routes can be overwritten by changing and submitting a new transaction to the same account.
-We also generate a Steemconnect signing link.
+We also generate a Hiveconnect signing link.
```javascript
window.openSC = async () => {
@@ -85,7 +85,7 @@ window.openSC = async () => {
#### 4. Set withdraw route
-We have two options on how to Power down: Steemconnect and client-side signing. Since this action requires Active authority, both client-side and Stemconnect signing will require the Active Private key to sign the transaction. The transaction submission function appears as follows:
+We have two options on how to Power down: Hiveconnect and client-side signing. Since this action requires Active authority, both client-side and Stemconnect signing will require the Active Private key to sign the transaction. The transaction submission function appears as follows:
```javascript
window.submitTx = async () => {
diff --git a/_tutorials-javascript/stream_blockchain_transactions.md b/_tutorials-javascript/stream_blockchain_transactions.md
index 438dfcb4273da8a3a379bb258d1f428447b8f321..6598a8b1f2b2c50155e3debe3f69341470ae08cc 100644
--- a/_tutorials-javascript/stream_blockchain_transactions.md
+++ b/_tutorials-javascript/stream_blockchain_transactions.md
@@ -1,7 +1,7 @@
---
title: 'JS: Stream Blockchain Transactions'
position: 13
-description: "_By the end of this tutorial you should know how to stream transactions and blocks from Steem blockchain._"
+description: "_By the end of this tutorial you should know how to stream transactions and blocks from Hive blockchain._"
layout: full
canonical_url: stream_blockchain_transactions.html
---
@@ -14,7 +14,7 @@ This tutorial will take you through the process of preparing and streaming block
## Intro
-Tutorial is demonstrating the typical process of streaming blocks on Steem. We will show some information from each block that is being streamed to give you an idea. Each block contains transactions objects as well but we will not show each of this data in user interface.
+Tutorial is demonstrating the typical process of streaming blocks on Hive. We will show some information from each block that is being streamed to give you an idea. Each block contains transactions objects as well but we will not show each of this data in user interface.
We are using the `blockchain.getBlockStream` function provided by `dsteem` which returns each block after it has been accepted by witnesses. By default it follows irreversible blocks which was accepted by all witnesses. Function follows or gets blocks every 3 seconds so it would not miss any new blocks. We will then extract part of this data and show it in list.
@@ -36,10 +36,10 @@ let opts = {};
//connect to production server
opts.addressPrefix = 'STM';
opts.chainId =
- '0000000000000000000000000000000000000000000000000000000000000000';
+ 'beeab0de00000000000000000000000000000000000000000000000000000000';
//connect to server which is connected to the network/production
-const client = new dsteem.Client('https://api.steemit.com');
+const client = new dsteem.Client('https://api.hive.blog');
```
Above, we have `dsteem` pointing to the live network with the proper chainId, addressPrefix, and endpoint. Because this tutorial requires active transactions to see some data.
diff --git a/_tutorials-javascript/submit_comment_reply.md b/_tutorials-javascript/submit_comment_reply.md
index 7cd57ebcd14e022042ee4d8dfd907fe8252783d4..dc2f39e9910fd98177bbaa03db1d11c2ccf0931a 100644
--- a/_tutorials-javascript/submit_comment_reply.md
+++ b/_tutorials-javascript/submit_comment_reply.md
@@ -1,7 +1,7 @@
---
title: 'JS: Submit Comment Reply'
position: 11
-description: "_By the end of this tutorial you should know how to post a simple comment to Steem._"
+description: "_By the end of this tutorial you should know how to post a simple comment to Hive._"
layout: full
canonical_url: submit_comment_reply.html
---
@@ -11,15 +11,15 @@ canonical_url: submit_comment_reply.html
This tutorial will take you through the process of preparing and posting comment using the `broadcast.comment` operation.
-Being able to post a comment is critical to most social applications built on Steem.
+Being able to post a comment is critical to most social applications built on Hive.
## Intro
-We are using the `broadcast.comment` function provided by the `dsteem` library which generates, signs, and broadcasts the transaction to the network. On the Steem platform, posts and comments are all internally stored as a `comment` object, differentiated by whether or not a `parent_author` exists. When there is no `parent_author`, the it's a post, when there is, it's a comment. An account can broadcast a comment on the blockchain every 3 seconds (with every new block) enabling the user to comment as they wish with almost no wait time between commits.
+We are using the `broadcast.comment` function provided by the `dsteem` library which generates, signs, and broadcasts the transaction to the network. On the Hive platform, posts and comments are all internally stored as a `comment` object, differentiated by whether or not a `parent_author` exists. When there is no `parent_author`, the it's a post, when there is, it's a comment. An account can broadcast a comment on the blockchain every 3 seconds (with every new block) enabling the user to comment as they wish with almost no wait time between commits.
## Steps
-1. [**App setup**](#app-setup) Import `dsteem` into `app.js` and prepare it to communicate with a Steem blockchain
+1. [**App setup**](#app-setup) Import `dsteem` into `app.js` and prepare it to communicate with a Hive blockchain
1. [**Choose parent post**](#choose-post) Choose a parent post on which to comment. Parse the author and permlink from it.
1. [**Add content**](#add-content) Add `body` content to your comment
1. [**Get comment data**](#get-comment) Collect values from the UI
@@ -138,7 +138,7 @@ A successful comment will output something like the following to the console:
That's all there is to it.
-The `broadcast` operation has more to offer than just committing a post/comment to the blockchain. It provides a mulititude of options that can accompany this commit. The max payout and percent of steem dollars can be set. When authors don't want all of the benifits from a post, they can set the payout factors to zero or beneficiaries can be set to receive part of the rewards. You can also set whether votes are allowed or not. The broadcast to the blockchain can be modified to meet the exact requirements of the author. More information on how to use the `broadcast` operation can be found on the Steem [Devportal](https://developers.steem.io/apidefinitions/#apidefinitions-broadcast-ops-comment) with a list of the available broadcast options under the specific [Appbase API](https://developers.steem.io/apidefinitions/#broadcast_ops_comment_options)
+The `broadcast` operation has more to offer than just committing a post/comment to the blockchain. It provides a mulititude of options that can accompany this commit. The max payout and percent of steem dollars can be set. When authors don't want all of the benifits from a post, they can set the payout factors to zero or beneficiaries can be set to receive part of the rewards. You can also set whether votes are allowed or not. The broadcast to the blockchain can be modified to meet the exact requirements of the author. More information on how to use the `broadcast` operation can be found on the Hive [Devportal](https://developers.hive.io/apidefinitions/#apidefinitions-broadcast-ops-comment) with a list of the available broadcast options under the specific [Appbase API](https://developers.hive.io/apidefinitions/#broadcast_ops_comment_options)
### To Run the tutorial
diff --git a/_tutorials-javascript/submit_post.md b/_tutorials-javascript/submit_post.md
index 8f7578e2e76d28c698a24f0ecf54bcfc9323c742..23724dcb5cb3d04c2fc515138b9635ec30ce50b5 100644
--- a/_tutorials-javascript/submit_post.md
+++ b/_tutorials-javascript/submit_post.md
@@ -1,7 +1,7 @@
---
title: 'JS: Submit Post'
position: 10
-description: "_By the end of this tutorial you should know how to prepare comments for Steem and then submit using the broadcast.comment function._"
+description: "_By the end of this tutorial you should know how to prepare comments for Hive and then submit using the broadcast.comment function._"
layout: full
canonical_url: submit_post.html
---
@@ -14,12 +14,12 @@ This tutorial will show the method of properly formatting content followed by br
## Intro
-We are using the `client.broadcast.comment` function provided by `dsteem` which generates, signs, and broadcasts the transaction to the network. On the Steem platform, posts and comments are all internally stored as a `comment` object, differentiated by whether or not a `parent_author` exists. When there is no `parent_author`, then it's a post, otherwise it's a comment.
+We are using the `client.broadcast.comment` function provided by `dsteem` which generates, signs, and broadcasts the transaction to the network. On the Hive platform, posts and comments are all internally stored as a `comment` object, differentiated by whether or not a `parent_author` exists. When there is no `parent_author`, then it's a post, otherwise it's a comment.
## Steps
1. [**App setup**](#app-setup) Configuration of `dsteem` to use the proper connection and network.
-1. [**Fetch Steem Post or Comment data**](#fetch-content) Defining information variables with the `submitpost` function.
+1. [**Fetch Hive Post or Comment data**](#fetch-content) Defining information variables with the `submitpost` function.
1. [**Format and Broadcast**](#format-broadcast) Formatting the comments and submitting to the blockchain.
#### 1. App setup
@@ -38,7 +38,7 @@ opts.chainId =
const client = new dsteem.Client('https://testnet.steem.vc', opts);
```
-#### 2. Fetch Steem Post or Comment data
+#### 2. Fetch Hive Post or Comment data
Next, we have the `submitPost` function which executes when the Submit post button is clicked.
@@ -109,7 +109,7 @@ Note that the `parent_author` and `parent_permlink` fields are used for replies
After the post has been broadcast to the network, we can simply set all the fields to empty strings and show the post link to check it from a condenser instance running on the selected testnet.
-The `broadcast` operation has more to offer than just committing a post/comment to the blockchain. It provides a mulititude of options that can accompany this commit. The max payout and percent of steem dollars can be set. When authors don't want all of the benifits from a post, they can set the payout factors to zero or beneficiaries can be set to receive part of the rewards. You can also set whether votes are allowed or not. The broadcast to the blockchain can be modified to meet the exact requirements of the author. More information on how to use the `broadcast` operation can be found on the Steem [Devportal](https://developers.steem.io/apidefinitions/#apidefinitions-broadcast-ops-comment) with a list of the available broadcast options under the specific [Appbase API](https://developers.steem.io/apidefinitions/#broadcast_ops_comment_options)
+The `broadcast` operation has more to offer than just committing a post/comment to the blockchain. It provides a mulititude of options that can accompany this commit. The max payout and percent of steem dollars can be set. When authors don't want all of the benifits from a post, they can set the payout factors to zero or beneficiaries can be set to receive part of the rewards. You can also set whether votes are allowed or not. The broadcast to the blockchain can be modified to meet the exact requirements of the author. More information on how to use the `broadcast` operation can be found on the Hive [Devportal](https://developers.hive.io/apidefinitions/#apidefinitions-broadcast-ops-comment) with a list of the available broadcast options under the specific [Appbase API](https://developers.hive.io/apidefinitions/#broadcast_ops_comment_options)
### To Run the tutorial
diff --git a/_tutorials-javascript/transfer_steem_and_sbd.md b/_tutorials-javascript/transfer_steem_and_sbd.md
index 37df7f108e947fa3669f3254ce27537fbc21608d..a0cd5617ead820953c7af9dff2da35036be7ba87 100644
--- a/_tutorials-javascript/transfer_steem_and_sbd.md
+++ b/_tutorials-javascript/transfer_steem_and_sbd.md
@@ -1,18 +1,18 @@
---
-title: 'JS: Transfer Steem And Sbd'
+title: 'JS: Transfer Hive And Hbd'
position: 21
-description: "_Transfer both STEEM and SBD from one account to another._"
+description: "_Transfer both HIVE and HBD from one account to another._"
layout: full
-canonical_url: transfer_steem_and_sbd.html
+canonical_url: transfer_hive_and_hbd.html
---
-Full, runnable src of [Transfer Steem And Sbd](https://gitlab.syncad.com/hive/devportal/-/tree/master/tutorials/javascript/tutorials/21_transfer_steem_and_sbd) can be downloaded as part of: [tutorials/javascript](https://gitlab.syncad.com/hive/devportal/-/tree/master/tutorials/javascript).
+Full, runnable src of [Transfer Hive And Hbd](https://gitlab.syncad.com/hive/devportal/-/tree/master/tutorials/javascript/tutorials/21_transfer_hive_and_hbd) can be downloaded as part of: [tutorials/javascript](https://gitlab.syncad.com/hive/devportal/-/tree/master/tutorials/javascript).
This tutorial will take you through the process of preparing and submitting a `transfer` using the `broadcast` operation. Two demo accounts are provided to use on the `testnet` but all variables can be easily changed and applied to the `production server`.
-There is also an alternative method to transfer from one account to another using a `hot signing` link that can be generated via [Steemconnect](https://steemconnect.com/sign/). You create a link using the `to` account, the amount, and a `memo` (optional comments). This [link](https://steemconnect.com/sign/transfer?to=steemitblog&amount=1.000%20STEEM) then allows you to do a transfer simply by adding the login details of the `from` account. This is a very simple way to send a payment request to any other user with the correct details already provided by the link.
+There is also an alternative method to transfer from one account to another using a `hot signing` link that can be generated via [Hiveconnect](https://steemconnect.com/sign/). You create a link using the `to` account, the amount, and a `memo` (optional comments). This [link](https://steemconnect.com/sign/transfer?to=steemitblog&amount=1.000%20HIVE) then allows you to do a transfer simply by adding the login details of the `from` account. This is a very simple way to send a payment request to any other user with the correct details already provided by the link.
## Intro
@@ -20,16 +20,16 @@ We are using the `broadcast.transfer` function provided by the `dsteem` library
1. _Username_ - The username of the account making the transfer (`from` account)
2. _Privatekey_ - This is the private `active` key of the sender
-3. _Recipient_ - The account that is receiving the STEEM or SBD (`to` account)
+3. _Recipient_ - The account that is receiving the HIVE or HBD (`to` account)
4. _Memo_ - This is a text field which can be used for a comment on the transfer or it can be left empty
-5. _Amount_ - This is the amount of STEEM to transfer. This has to be a positive value with 3 decimals in order for the transaction to be completed
-6. _Type_ - This is the currency of the transfer, STEEM or SBD. This value has to be written ALL CAPS in order for the transaction to be completed
+5. _Amount_ - This is the amount of HIVE to transfer. This has to be a positive value with 3 decimals in order for the transaction to be completed
+6. _Type_ - This is the currency of the transfer, HIVE or HBD. This value has to be written ALL CAPS in order for the transaction to be completed
-It is noteworthy that Steem Power (VESTS) cannot be transferred with this operation.
+It is noteworthy that Hive Power (VESTS) cannot be transferred with this operation.
## Steps
-1. [**Configure connection**](#connection) Configuration of `dsteem` to communicate with a Steem blockchain
+1. [**Configure connection**](#connection) Configuration of `dsteem` to communicate with a Hive blockchain
2. [**Input variables**](#input) Collecting the required inputs via an HTML UI
3. [**Object creation**](#object) Creating an object to use in the broadcast operation
4. [**Broadcast**](#broadcast) Broadcasting the transfer to the blockchain
@@ -54,7 +54,7 @@ Because this tutorial modifies the blockchain, we will use a testnet and predefi
#### 2. Input variables
-The required parameters for the transfer operation is recorded via an HTML UI that can be found in the `public/index.html` file. The values are prepopulated in this case with testnet `demo` accounts. The transfer amount is set to `1.000` but any value can be input as long as the sender has enough STEEM to send.
+The required parameters for the transfer operation is recorded via an HTML UI that can be found in the `public/index.html` file. The values are prepopulated in this case with testnet `demo` accounts. The transfer amount is set to `1.000` but any value can be input as long as the sender has enough HIVE to send.
The parameter values are allocated as seen below, once the user clicks on the "Transfer" button.
@@ -124,7 +124,7 @@ client.broadcast.transfer(transf, privateKey).then(
### To run this tutorial
1. `git clone https://gitlab.syncad.com/hive/devportal.git`
-2. `cd devportal/tutorials/javascript/20_transfer_STEEM_and_SBD`
+2. `cd devportal/tutorials/javascript/20_transfer_HIVE_and_HBD`
3. `npm i`
4. `npm run dev-server` or `npm run start`
5. After a few moments, the server should be running at http://localhost:3000/
diff --git a/_tutorials-javascript/vote_on_content.md b/_tutorials-javascript/vote_on_content.md
index a4d630db50bf12668b63b54d228f3578a1a14f97..590dd7d0ec97f986bb89be383ba6224d45943c6b 100644
--- a/_tutorials-javascript/vote_on_content.md
+++ b/_tutorials-javascript/vote_on_content.md
@@ -11,7 +11,7 @@ canonical_url: vote_on_content.html
This tutorial will take you through the process of preparing and submitting a `vote` using the `broadcast` operation.
-Because this tutorial essentially produces spam, it will be pointed at a Steem testnet. The testnet is an open resource,
+Because this tutorial essentially produces spam, it will be pointed at a Hive testnet. The testnet is an open resource,
so the default account and posting key in this tutorial may have been changed by another developer learning the ropes.
If that happens, you'll want to create a new account on the testnet and use that account's credentials instead.
@@ -20,7 +20,7 @@ To learn more about the testnet, including an easy way to create a play account,
## Intro
We are using the `broadcast.vote` function provided by the `dsteem` library to send the transaction through to the
-network. On the Steem platform, posts and comments are all internally stored as a `comment` object, differentiated by
+network. On the Hive platform, posts and comments are all internally stored as a `comment` object, differentiated by
whether or not a `parent_author` exists. When there is no `parent_author`, then it's a post, when there is, it's a
comment. Voting is done on either of the two based on the author and permlink of the comment. There are 5 parameters
required for the voting operation:
@@ -31,11 +31,11 @@ required for the voting operation:
1. _Permlink_ - The unique identifier of the comment/post of the author
1. _Weight_ - This is the weight that the vote will carry. The value ranges from -10000 (100% flag) to 10000 (100% upvote)
-Due to the low amount of posts on the testnet we added an additional step to create a post before we vote on it. The values are auto loaded in the respective input boxes. A full tutorial on how to create a new post can be found on the [Steem Devportal](https://developers.steem.io/tutorials-javascript/submit_post)
+Due to the low amount of posts on the testnet we added an additional step to create a post before we vote on it. The values are auto loaded in the respective input boxes. A full tutorial on how to create a new post can be found on the [Hive Devportal](https://developers.hive.io/tutorials-javascript/submit_post)
## Steps
-1. [**Configure connection**](#connection) Configuration of `dsteem` to communicate with a Steem blockchain
+1. [**Configure connection**](#connection) Configuration of `dsteem` to communicate with a Hive blockchain
1. [**Create new post**](#createpost) Creating a new post on the testnet
1. [**Input variables**](#input) Collecting the required inputs via an HTML UI
1. [**Broadcast**](#broadcast) Creating an object and broadcasting the vote to the blockchain
@@ -46,7 +46,7 @@ As usual, we have a `public/app.js` file which holds the Javascript segment of t
```javascript
import { Client, PrivateKey } from 'dsteem';
-import { Testnet as NetConfig } from '../../configuration'; //A Steem Testnet. Replace 'Testnet' with 'Mainnet' to connect to the main Steem blockchain.
+import { Testnet as NetConfig } from '../../configuration'; //A Hive Testnet. Replace 'Testnet' with 'Mainnet' to connect to the main Hive blockchain.
let opts = { ...NetConfig.net };
@@ -79,9 +79,9 @@ window.createPost = async () => {
//for content
const time = new Date().getTime();
//get title
- const title = `developers.steem.io - JS-T:17 ${time}`;
+ const title = `developers.hive.io - JS-T:17 ${time}`;
//get body
- const body = `Go to [developers.steem.io](https://developers.steem.io) for the latest in Steem tutorials! This post was created by someone using the active version of those tutorials at [https://github.com/steemit/devportal-tutorials-js](https://github.com/steemit/devportal-tutorials-js)
+ const body = `Go to [developers.hive.io](https://developers.hive.io) for the latest in Hive tutorials! This post was created by someone using the active version of those tutorials at [https://github.com/steemit/devportal-tutorials-js](https://github.com/steemit/devportal-tutorials-js)
${time}`;
//get tags and convert to array list
@@ -216,7 +216,7 @@ window.onload = () => {
};
```
-More information on how to use the `broadcast` operation and options surrounding the operation can be found on the [Steem Devportal](https://developers.steem.io/apidefinitions/#broadcast_ops_vote)
+More information on how to use the `broadcast` operation and options surrounding the operation can be found on the [Hive Devportal](https://developers.hive.io/apidefinitions/#broadcast_ops_vote)
### To run this tutorial
diff --git a/_tutorials-javascript/witness_listing_and_voting.md b/_tutorials-javascript/witness_listing_and_voting.md
index ed5f42639c1c842a2348e81d6f4f5e11d083f872..eb4ee551ab888711a8b1abde896f023e87feadb0 100644
--- a/_tutorials-javascript/witness_listing_and_voting.md
+++ b/_tutorials-javascript/witness_listing_and_voting.md
@@ -12,7 +12,7 @@ canonical_url: witness_listing_and_voting.html
This tutorial will take you through the process of preparing and submitting a `vote` using the `broadcast` operation. A demo account is provided to use on the `testnet` but all variables can be easily changed and applied to the `production server`.
-There is also an alternative method to vote for a witness using a `hot signing` link that can be generated via [Steemconnect](https://steemconnect.com/sign/). You create a link using the `witness` name and the `approve` fields which denotes whether you want to vote for or remove the vote. This [link](https://v2.steemconnect.com/sign/account-witness-vote?witness=grg&approve=approve) then allows you to vote simply by signing in with your account details. This is a very simple way to send a vote request to any other user with the correct details already provided by the link.
+There is also an alternative method to vote for a witness using a `hot signing` link that can be generated via [Hiveconnect](https://steemconnect.com/sign/). You create a link using the `witness` name and the `approve` fields which denotes whether you want to vote for or remove the vote. This [link](https://v2.steemconnect.com/sign/account-witness-vote?witness=grg&approve=approve) then allows you to vote simply by signing in with your account details. This is a very simple way to send a vote request to any other user with the correct details already provided by the link.
## Intro
@@ -26,7 +26,7 @@ We are using the `account witness vote` function to create the vote which we the
## Steps
-1. [**Configure connection**](#connection) Configuration of `dsteem` to communicate with a Steem blockchain
+1. [**Configure connection**](#connection) Configuration of `dsteem` to communicate with a Hive blockchain
1. [**Create witness list**](#createlist) Displaying a list of active witnesses
1. [**Input variables**](#input) Collecting the required inputs via an HTML UI
1. [**Voting status**](#status) Confirming the current vote status for the selected witness
@@ -38,7 +38,7 @@ As usual, we have a `public/app.js` file which holds the Javascript segment of t
```javascript
import { Client, PrivateKey } from 'dsteem';
-import { Testnet as NetConfig } from '../../configuration'; //A Steem Testnet. Replace 'Testnet' with 'Mainnet' to connect to the main Steem blockchain.
+import { Testnet as NetConfig } from '../../configuration'; //A Hive Testnet. Replace 'Testnet' with 'Mainnet' to connect to the main Hive blockchain.
let opts = { ...NetConfig.net };
//connect to a steem node, testnet in this case
diff --git a/_tutorials-python/account_recovery.md b/_tutorials-python/account_recovery.md
index 626e4092f0b6041cb87c7974580b5473426bd5dd..7d610ce21a8da9593597677f93bc1ae0e1d6f9eb 100644
--- a/_tutorials-python/account_recovery.md
+++ b/_tutorials-python/account_recovery.md
@@ -10,13 +10,13 @@ canonical_url: account_recovery.html
-In this tutorial we show you how to request account recovery for a user and also recover that account on the **Steem** blockchain using the [beem-python](https://github.com/holgern/beem) library.
+In this tutorial we show you how to request account recovery for a user and also recover that account on the **Hive** blockchain using the [beem-python](https://github.com/holgern/beem) library.
The recovery system is used to recover hacked accounts. In the event that you lose your password, your account is lost forever. You must know at least one old password that was used on your account within 30 days. This recovery process can only be executed once an hour. Stolen Account Recovery gives the rightful account owner 30 days to recover their account from the moment the thief changed their owner key.
## Intro
-There are two parties involved in recovering an account. The user that requires their account to be recovered, and the recovery account (or trustee) which is the account that created the username on the blockchain. For anyone creating their account through the main Steemit webiste, their recovery account would be Steemit. If however your account was created for you by another user, that user is the one that would have to initialize your account recovery. The recovery account can be changed however to whichever user you require.
+There are two parties involved in recovering an account. The user that requires their account to be recovered, and the recovery account (or trustee) which is the account that created the username on the blockchain. For anyone creating their account through the main Hive webiste, their recovery account would be Hive. If however your account was created for you by another user, that user is the one that would have to initialize your account recovery. The recovery account can be changed however to whichever user you require.
For this tutorial we are using the `beem-python` library which contains the required functions to execute this recovery process. There are two main sections to this process. Firstly, there is the `request_account_recovery` function where the owner is verified and the intent for account recovery is transmitted to the blockchain. The second part is the actual `recover_account` process. Along with this we also create a complete set of new account keys (posting, active, owner and memo) in order for the account to function properly. If these keys are not generated you will receive an error when trying to log in with your new password: `This password is bound to your account's owner key and can not be used to login to this site. However, you can use it to update your password to obtain a more secure set of keys`
@@ -58,7 +58,7 @@ We import the libraries for the application.
```python
import beembase
from beem.account import Account
-from beem import Steem
+from beem import Hive
from beem.transactionbuilder import TransactionBuilder
from beemgraphenebase.account import PasswordKey
from beembase.objects import Permission
@@ -76,14 +76,14 @@ recovery_account = input('account owner (recovery account): ')
recovery_account_private_key = input('account owner private ACTIVE key: ')
#connect to production server with active key
-s = Steem(node=['https://api.steemit.com'], keys=[recovery_account_private_key])
+s = Hive(node=['https://api.hive.blog'], keys=[recovery_account_private_key])
```
The new password for the account to be recovered must be at least 32 characters long.
#### 2. Owner key creation
-Both new and old owner keys are generated from the passwords supplied in the first step. For a more in depth look at creating keys please refer to [this](https://developers.steem.io/tutorials-python/password_key_change) tutorial on changing your password and keys.
+Both new and old owner keys are generated from the passwords supplied in the first step. For a more in depth look at creating keys please refer to [this](https://developers.hive.io/tutorials-python/password_key_change) tutorial on changing your password and keys.
```python
#create new account owner keys
@@ -97,7 +97,7 @@ old_account_owner_private_key_string = str(old_account_owner_private_key)
old_account_owner_public_key = str(old_account_owner_private_key.pubkey)
```
-The Steem blockchain knows the history of your account, and every owner key that has ever been used for it. When you enter your recent password, it uses that to generate an owner key that can match up to a previous owner public key on the account. Without that password and owner key, the recovery account can't do anything to recover your account.
+The Hive blockchain knows the history of your account, and every owner key that has ever been used for it. When you enter your recent password, it uses that to generate an owner key that can match up to a previous owner public key on the account. Without that password and owner key, the recovery account can't do anything to recover your account.
#### 3. Recovery request operation and transmission
@@ -183,7 +183,7 @@ op_account_update_data = {
The steem class is initialised once more but with the required WIF for this specific section. This is necessary when different keys are required at various steps. The `recover_account` function is transmitted to the blockchain via the `TransactionBuilder` operation in order to append the new private keys. The operation is then broadcast.
```python
-s = Steem(node=['https://api.steemit.com'], keys=[recovery_account_private_key])
+s = Hive(node=['https://api.hive.blog'], keys=[recovery_account_private_key])
op_recover_account = beembase.operations.Recover_account(**op_recover_account_data)
@@ -206,7 +206,7 @@ print(result)
The same basic process is followed as in the previous step. For this step however we require the new owner private key which is initialised in the steem class. The `TransactionBuilder` operation is used once more for the transmission to the blockchain.
```python
-s = Steem(node=['https://api.steemit.com'], keys=[new_account_owner_private_key])
+s = Hive(node=['https://api.hive.blog'], keys=[new_account_owner_private_key])
op_account_update = beembase.operations.Account_update(**op_account_update_data)
diff --git a/_tutorials-python/account_reputation.md b/_tutorials-python/account_reputation.md
index f9186521ba8d0e3d2bf519aed0fc08a29cc175e5..962d86defce92a8ff1241fd454089b4acc88a492 100644
--- a/_tutorials-python/account_reputation.md
+++ b/_tutorials-python/account_reputation.md
@@ -25,17 +25,17 @@ Account reputation is long integer string which requires special function or for
In this tutorial we will use 4 packages, `pick` - helps us to select filter interactively. `steem` - steem-python library, interaction with Blockchain. `pprint` - print results in better format and `math` to perform some math calculations.
-First we import all libraries and initialize Steem class
+First we import all libraries and initialize Hive class
```python
import pprint
import math
from pick import pick
- # initialize Steem class
- from steem import Steem
+ # initialize Hive class
+ from steem import Hive
- s = Steem()
+ s = Hive()
```
#### 2. Account list
@@ -66,7 +66,7 @@ Next we will define reputation interpreter:
```python
def rep_log10(rep):
- """Convert raw steemd rep into a UI-ready value centered at 25."""
+ """Convert raw hived rep into a UI-ready value centered at 25."""
def log10(string):
leading_digits = int(string[0:4])
log = math.log10(leading_digits) + 0.00000001
diff --git a/_tutorials-python/claim_rewards.md b/_tutorials-python/claim_rewards.md
index 62768dcff39923cd8e4e6337380fdb509aa97b7c..a0a7c29187d4e137b94ecaafe812e261598b1771 100644
--- a/_tutorials-python/claim_rewards.md
+++ b/_tutorials-python/claim_rewards.md
@@ -10,21 +10,21 @@ canonical_url: claim_rewards.html
-In this tutorial we show you how to check the STEEM, SBD and STEEM POWER rewards balances of an account on the **Steem** blockchain, and how to claim either a portion or all of the rewards for an account using the `commit` class found within the [steem-python](https://github.com/steemit/steem-python) library.
+In this tutorial we show you how to check the HIVE, HBD and HIVE POWER rewards balances of an account on the **Hive** blockchain, and how to claim either a portion or all of the rewards for an account using the `commit` class found within the [steem-python](https://github.com/steemit/steem-python) library.
## Intro
-The Steem python library has a built-in function to transmit transactions to the blockchain. We are using the `claim_reward_balance` method found within the `commit` class in the library. Before we transmit a claim, we use the `get_account` function to check the current rewards balance of the account to see what is available to claim. The `claim` method has 4 parameters:
+The Hive python library has a built-in function to transmit transactions to the blockchain. We are using the `claim_reward_balance` method found within the `commit` class in the library. Before we transmit a claim, we use the `get_account` function to check the current rewards balance of the account to see what is available to claim. The `claim` method has 4 parameters:
-1. _reward steem_ - The amount of STEEM to claim
-1. _reward sbd_ - The amount of SBD to claim
-1. _reward vests_ - The amount of VESTS (STEEM POWER) to claim
+1. _reward hive_ - The amount of HIVE to claim
+1. _reward hbd_ - The amount of HBD to claim
+1. _reward vests_ - The amount of VESTS (HIVE POWER) to claim
1. _account_ - The source account for the claim
## Steps
1. [**App setup**](#setup) - Library install and import. Connection to testnet
-1. [**User information and steem node**](#userinfo) - Input user information and connection to Steem node
+1. [**User information and steem node**](#userinfo) - Input user information and connection to Hive node
1. [**Check reward balance**](#balance) - Check current rewards balances of user account
1. [**Claim commit**](#commit) - Input amount of rewards to claim and commit to blockchain
1. [**Balance update**](#update) - Check new rewards balances after completed claim
@@ -44,9 +44,9 @@ import steem
from pick import pick
from steem.amount import Amount
-steembase.chains.known_chains['STEEM'] = {
+steembase.chains.known_chains['HIVE'] = {
'chain_id': '79276aea5d4877d9a25892eaa01b0adf019d3e5cb12a97478df3298ccdd01673',
- 'prefix': 'STX', 'steem_symbol': 'STEEM', 'sbd_symbol': 'SBD', 'vests_symbol': 'VESTS'
+ 'prefix': 'STX', 'hive_symbol': 'HIVE', 'hbd_symbol': 'HBD', 'vests_symbol': 'VESTS'
}
```
@@ -62,7 +62,7 @@ username = input('Enter username: ') #demo account: cdemo
wif = input('Enter private ACTIVE key: ') #demo account: 5KaNM84WWSqzwKzY82fXPaUW43idbLnPqf5SfjGxLfw6eV2kAP3
#connect node
-client = steem.Steem(nodes=['https://testnet.steem.vc'],keys=[wif])
+client = steem.Hive(nodes=['https://testnet.steem.vc'],keys=[wif])
```
#### 3. Check reward balance
@@ -77,15 +77,15 @@ if(userinfo is None) :
print('Oops. Looks like user ' + username + ' doesn\'t exist on this chain!')
exit()
-reward_steem = userinfo['reward_steem_balance']
-reward_sbd = userinfo['reward_sbd_balance']
-reward_sp = userinfo['reward_vesting_steem']
+reward_hive = userinfo['reward_hive_balance']
+reward_hbd = userinfo['reward_hbd_balance']
+reward_sp = userinfo['reward_vesting_hive']
reward_vests = userinfo['reward_vesting_balance']
print('Reward Balances:' + '\n' +
- 'STEEM: ' + reward_steem + '\n' +
- 'SBD: ' + reward_sbd + '\n' +
- 'STEEM POWER: ' + reward_sp + '\n' +
+ 'HIVE: ' + reward_hive + '\n' +
+ 'HBD: ' + reward_hbd + '\n' +
+ 'HIVE POWER: ' + reward_sp + '\n' +
'VESTS: ' + reward_vests
)
@@ -94,7 +94,7 @@ input('\n' + 'Press enter to continue to claim selection')
#### 4. Claim commit
-An option is provided to either claim all rewards at once or to specify specific amounts to be claimed for each individual reward balance. If you are using one of Steemit's demo accounts, please leave some rewards for others to claim!
+An option is provided to either claim all rewards at once or to specify specific amounts to be claimed for each individual reward balance. If you are using one of Hive's demo accounts, please leave some rewards for others to claim!
```python
#choice of claim
@@ -108,29 +108,29 @@ When the option to claim all rewards is selected, the claim parameters are autom
```python
#commit claim based on selection
if option == 'ALL':
- if Amount(reward_steem).amount + Amount(reward_sbd).amount + Amount(reward_vests).amount == 0:
+ if Amount(reward_hive).amount + Amount(reward_hbd).amount + Amount(reward_vests).amount == 0:
print('\n' + 'No rewards to claim')
exit()
else:
- client.claim_reward_balance(reward_steem, reward_sbd, reward_vests, username)
+ client.claim_reward_balance(reward_hive, reward_hbd, reward_vests, username)
print('\n' + 'All reward balances have been claimed. New reward balances are:' + '\n')
else:
if option == 'CANCEL':
print('\n' + 'Operation cancelled')
exit()
else:
- claim_steem = input('\n' + 'Please enter the amount of STEEM to claim: ') + ' STEEM'
- claim_sbd = input('Please enter the amount of SBD to claim: ') + ' SBD'
+ claim_hive = input('\n' + 'Please enter the amount of HIVE to claim: ') + ' HIVE'
+ claim_hbd = input('Please enter the amount of HBD to claim: ') + ' HBD'
claim_vests = input('Please enter the amount of VESTS to claim: ') + ' VESTS'
- if Amount(claim_steem).amount + Amount(claim_sbd).amount + Amount(claim_vests).amount == 0:
+ if Amount(claim_hive).amount + Amount(claim_hbd).amount + Amount(claim_vests).amount == 0:
print('\n' + 'Zero values entered, no claim to submit')
exit()
else:
- if claim_steem > reward_steem or claim_sbd > reward_sbd or claim_vests > reward_vests:
+ if claim_hive > reward_hive or claim_hbd > reward_hbd or claim_vests > reward_vests:
print('\n' + 'Requested claim value higher than available rewards')
exit()
else:
- client.claim_reward_balance(claim_steem, claim_sbd, claim_vests, username)
+ client.claim_reward_balance(claim_hive, claim_hbd, claim_vests, username)
print('\n' + 'Claim has been processed. New reward balances are:' + '\n')
```
@@ -147,14 +147,14 @@ input("Press enter for new account balances")
userinfo = client.get_account(username)
-reward_steem = userinfo['reward_steem_balance']
-reward_sbd = userinfo['reward_sbd_balance']
-reward_sp = userinfo['reward_vesting_steem']
+reward_hive = userinfo['reward_hive_balance']
+reward_hbd = userinfo['reward_hbd_balance']
+reward_sp = userinfo['reward_vesting_hive']
reward_vests = userinfo['reward_vesting_balance']
-print('STEEM: ' + reward_steem + '\n' +
- 'SBD: ' + reward_sbd + '\n' +
- 'STEEM POWER: ' + reward_sp + '\n' +
+print('HIVE: ' + reward_hive + '\n' +
+ 'HBD: ' + reward_hbd + '\n' +
+ 'HIVE POWER: ' + reward_sp + '\n' +
'VESTS: ' + reward_vests
)
```
diff --git a/_tutorials-python/convert_sbd_to_steem.md b/_tutorials-python/convert_sbd_to_steem.md
index a793e5cc7b326c60b570bc66a824782b62e2d5b0..13035f5e09532c2309ae15fcab4209da343094ea 100644
--- a/_tutorials-python/convert_sbd_to_steem.md
+++ b/_tutorials-python/convert_sbd_to_steem.md
@@ -1,40 +1,40 @@
---
-title: 'PY: Convert Sbd To Steem'
+title: 'PY: Convert Hbd To Hive'
position: 32
-description: "How to convert your SBD to STEEM using Python."
+description: "How to convert your HBD to HIVE using Python."
layout: full
-canonical_url: convert_sbd_to_steem.html
+canonical_url: convert_hbd_to_hive.html
---
-Full, runnable src of [Convert Sbd To Steem](https://gitlab.syncad.com/hive/devportal/-/tree/master/tutorials/python/tutorials/32_convert_sbd_to_steem) can be downloaded as part of: [tutorials/python](https://gitlab.syncad.com/hive/devportal/-/tree/master/tutorials/python).
+Full, runnable src of [Convert Hbd To Hive](https://gitlab.syncad.com/hive/devportal/-/tree/master/tutorials/python/tutorials/32_convert_hbd_to_hive) can be downloaded as part of: [tutorials/python](https://gitlab.syncad.com/hive/devportal/-/tree/master/tutorials/python).
-In this tutorial we will explain and show you how to convert some or all of your available SBD balance into STEEM on the **Steem** blockchain using the `commit` class found within the [steem-python](https://github.com/steemit/steem-python) library.
+In this tutorial we will explain and show you how to convert some or all of your available HBD balance into HIVE on the **Hive** blockchain using the `commit` class found within the [steem-python](https://github.com/steemit/steem-python) library.
-It should be noted that the converted STEEM will not be available instantly as it takes 3.5 days for the transaction to be processed. It is also not possible to stop a conversion once initialised. During the 3.5 days for it to be converted and as the conversion price fluctuates you could actually be receiving less STEEM than what you should. Because of this, the method in this tutorial is NOT the preferred or most efficient way of converting SBD to STEEM. This tutorial just illustrates that it can be done in this manner.
+It should be noted that the converted HIVE will not be available instantly as it takes 3.5 days for the transaction to be processed. It is also not possible to stop a conversion once initialised. During the 3.5 days for it to be converted and as the conversion price fluctuates you could actually be receiving less HIVE than what you should. Because of this, the method in this tutorial is NOT the preferred or most efficient way of converting HBD to HIVE. This tutorial just illustrates that it can be done in this manner.
-There is a marketplace on Steemit that allows you to "sell" your SBD instantly. With this process you can get your STEEM immediately and at the exact price that you expect. The market place is the better way to convert your SBD. [This article](https://steemit.com/steem/@epico/convert-sbd-to-steem-and-steem-power-guide-2017625t103821622z) provides more information on using the market to exchange your SBD to STEEM
+There is a marketplace on Hive that allows you to "sell" your HBD instantly. With this process you can get your HIVE immediately and at the exact price that you expect. The market place is the better way to convert your HBD. [This article](https://hive.blog/steem/@epico/convert-hbd-to-steem-and-steem-power-guide-2017625t103821622z) provides more information on using the market to exchange your HBD to HIVE
-Steemconnect offers an alternative to converting SBD with a "simple link" solution. Instead of running through a list of operations on your account, you can simply use a link similar to the one below substituting the three parameters for your own details. You will be prompted to enter your username and password before the transaction will be executed.
-https://steemconnect.com/sign/convert?owner=username&requestid=1234567&amount=0.000%20SBD
+Hiveconnect offers an alternative to converting HBD with a "simple link" solution. Instead of running through a list of operations on your account, you can simply use a link similar to the one below substituting the three parameters for your own details. You will be prompted to enter your username and password before the transaction will be executed.
+https://steemconnect.com/sign/convert?owner=username&requestid=1234567&amount=0.000%20HBD
This is similar to the steemconnect links that have been covered in previous tutorials. For a list of signing operations that work in this manner you can go to https://v2.steemconnect.com/sign
-[This article](https://steemit.com/sbd/@timcliff/how-to-convert-sbd-into-steem-using-steemconnect) has more information on using steemconnect
+[This article](https://hive.blog/hbd/@timcliff/how-to-convert-hbd-into-steem-using-steemconnect) has more information on using steemconnect
## Intro
-The Steem python library has a built-in function to transmit transactions to the blockchain. We are using the `convert` method found within the `commit` class in the library. Before we do the conversion, we check the current balance of the account to check how much SBD is available. This is not strictly necessary as the process will automatically abort with the corresponding error, but it does give some insight into the process as a whole. We use the `get_account` function to check for this. The `convert` method has 3 parameters:
+The Hive python library has a built-in function to transmit transactions to the blockchain. We are using the `convert` method found within the `commit` class in the library. Before we do the conversion, we check the current balance of the account to check how much HBD is available. This is not strictly necessary as the process will automatically abort with the corresponding error, but it does give some insight into the process as a whole. We use the `get_account` function to check for this. The `convert` method has 3 parameters:
-1. _amount_ - The amount of SBD that will be converted
+1. _amount_ - The amount of HBD that will be converted
1. _account_ - The specified user account for the conversion
1. _request-id_ - An identifier for tracking the conversion. This parameter is optional
## Steps
1. [**App setup**](#setup) - Library install and import. Connection to testnet
-1. [**User information and steem node**](#userinfo) - Input user information and connection to Steem node
-1. [**Check balance**](#balance) - Check current STEEM and SBD balance of user account
-1. [**Conversion amount and commit**](#convert) - Input of SBD amount to convert and commit to blockchain
+1. [**User information and steem node**](#userinfo) - Input user information and connection to Hive node
+1. [**Check balance**](#balance) - Check current HIVE and HBD balance of user account
+1. [**Conversion amount and commit**](#convert) - Input of HBD amount to convert and commit to blockchain
#### 1. App setup
@@ -48,9 +48,9 @@ We import the libraries and connect to the `testnet`.
import steembase
import steem
-steembase.chains.known_chains['STEEM'] = {
+steembase.chains.known_chains['HIVE'] = {
'chain_id': '79276aea5d4877d9a25892eaa01b0adf019d3e5cb12a97478df3298ccdd01673',
- 'prefix': 'STX', 'steem_symbol': 'STEEM', 'sbd_symbol': 'SBD', 'vests_symbol': 'VESTS'
+ 'prefix': 'STX', 'hive_symbol': 'HIVE', 'hbd_symbol': 'HBD', 'vests_symbol': 'VESTS'
}
```
@@ -66,7 +66,7 @@ username = input('Enter username: ') #demo account: demo01
wif = input('Enter private ACTIVE key: ') #demo account: 5HxTntgeoLm4trnTz94YBsY6MpAap1qRVXEKsU5n1v2du1gAgVH
#connect node and private active key
-client = steem.Steem(nodes=['https://testnet.steem.vc'], keys=[wif])
+client = steem.Hive(nodes=['https://testnet.steem.vc'], keys=[wif])
```
#### 3. Check balance
@@ -74,12 +74,12 @@ client = steem.Steem(nodes=['https://testnet.steem.vc'], keys=[wif])
In order to give the user enough information to make the conversion we check the current balance of the account using the `get_account` function.
```python
-#get account balance for STEEM and SBD
+#get account balance for HIVE and HBD
userinfo = client.get_account(username)
-total_steem = userinfo['balance']
-total_sbd = userinfo['sbd_balance']
+total_hive = userinfo['balance']
+total_hbd = userinfo['hbd_balance']
-print('CURRENT ACCOUNT BALANCE:' + '\n' + total_steem + '\n' + total_sbd + '\n')
+print('CURRENT ACCOUNT BALANCE:' + '\n' + total_hive + '\n' + total_hbd + '\n')
```
The result of the query is displayed in the console/terminal.
@@ -90,7 +90,7 @@ The final step before we can commit the transaction to the blockchain is to assi
```python
#get recipient name
-convert_amount = input('Enter the amount of SBD to convert to STEEM: ')
+convert_amount = input('Enter the amount of HBD to convert to HIVE: ')
```
This value must be greater than zero in order for the transaction to execute without any errors. Now that we have all the parameters we can do the actual transmission of the transaction to the blockchain.
@@ -99,7 +99,7 @@ This value must be greater than zero in order for the transaction to execute wit
#parameters: amount, account, request_id
client.convert(float(convert_amount), username)
-print('\n' + convert_amount + ' SBD has been converted to STEEM')
+print('\n' + convert_amount + ' HBD has been converted to HIVE')
```
If no errors are encountered a simple confirmation is printed on the UI.
@@ -107,15 +107,15 @@ If no errors are encountered a simple confirmation is printed on the UI.
As an added confirmation we check the balance of the user again and display it on the UI. This is not required at all but it serves as a more definitive confirmation that the conversion has been completed correctly.
```python
-#get remaining account balance for STEEM and SBD
+#get remaining account balance for HIVE and HBD
userinfo = client.get_account(username)
-total_steem = userinfo['balance']
-total_sbd = userinfo['sbd_balance']
+total_hive = userinfo['balance']
+total_hbd = userinfo['hbd_balance']
-print('\n' + 'REMAINING ACCOUNT BALANCE:' + '\n' + total_steem + '\n' + total_sbd)
+print('\n' + 'REMAINING ACCOUNT BALANCE:' + '\n' + total_hive + '\n' + total_hbd)
```
-The STEEM balance will not yet have been updated as it takes 3.5 days to settle. The SBD will however show the new balance.
+The HIVE balance will not yet have been updated as it takes 3.5 days to settle. The HBD will however show the new balance.
We encourage users to play around with different values and data types to fully understand how this process works. You can also check the balances and transaction history on the [testnet portal](http://condenser.steem.vc/).
@@ -123,7 +123,7 @@ We encourage users to play around with different values and data types to fully
1. [review dev requirements](getting_started.html)
1. `git clone https://gitlab.syncad.com/hive/devportal.git`
-1. `cd devportal/tutorials/python/32_convert_sbd_to_steem`
+1. `cd devportal/tutorials/python/32_convert_hbd_to_hive`
1. `pip install -r requirements.txt`
1. `python index.py`
1. After a few moments, you should see a prompt for input in terminal screen.
diff --git a/_tutorials-python/delegate_power.md b/_tutorials-python/delegate_power.md
index ac4b46f87bf59084a8d2d4e4c9d19077f77c364a..537d59e7f5f42e13c5bb3ae9e77f60ebc8a0854a 100644
--- a/_tutorials-python/delegate_power.md
+++ b/_tutorials-python/delegate_power.md
@@ -1,7 +1,7 @@
---
title: 'PY: Delegate Power'
position: 27
-description: "How to delegate or remove delegation of STEEM POWER to another user using Python."
+description: "How to delegate or remove delegation of HIVE POWER to another user using Python."
layout: full
canonical_url: delegate_power.html
---
@@ -10,11 +10,11 @@ canonical_url: delegate_power.html
-In this tutorial we show you how to delegate a portion of an accounts available VESTS (STEEM POWER) to another user on the **Steem** blockchain using the `commit` class found within the [steem-python](https://github.com/steemit/steem-python) library.
+In this tutorial we show you how to delegate a portion of an accounts available VESTS (HIVE POWER) to another user on the **Hive** blockchain using the `commit` class found within the [steem-python](https://github.com/steemit/steem-python) library.
## Intro
-The Steem python library has a built-in function to transmit transactions to the blockchain. We are using the `delegate_vesting_shares` method found within the `commit` class in the library. When you delegate power you make a portion of your VESTS available to another user. This can empower an application, author, or curator to make higher votes. Before we do the delegation, we use the `get_account` function to check the current VESTS balance of the account to see what is available. This is not strictly necessary but adds to the useability of the process. It should be noted that when a delegation is cancelled the VESTS will only be available again after 7 days. The `delegate_vesting_shares` method has 3 parameters:
+The Hive python library has a built-in function to transmit transactions to the blockchain. We are using the `delegate_vesting_shares` method found within the `commit` class in the library. When you delegate power you make a portion of your VESTS available to another user. This can empower an application, author, or curator to make higher votes. Before we do the delegation, we use the `get_account` function to check the current VESTS balance of the account to see what is available. This is not strictly necessary but adds to the useability of the process. It should be noted that when a delegation is cancelled the VESTS will only be available again after 7 days. The `delegate_vesting_shares` method has 3 parameters:
1. _to_account_ - The account we are delegating shares to (delegatee)
1. _vesting_shares_ - The amount of VESTS to delegate. This is required to be a string value
@@ -23,7 +23,7 @@ The Steem python library has a built-in function to transmit transactions to the
## Steps
1. [**App setup**](#setup) - Library install and import. Connection to testnet
-1. [**User information and steem node**](#userinfo) - Input user information and connection to Steem node
+1. [**User information and steem node**](#userinfo) - Input user information and connection to Hive node
1. [**Check balance**](#balance) - Check current VESTS balance of user account
1. [**Delegation amount and commit**](#delegate) - Input delegation amount and commit to blockchain
@@ -44,9 +44,9 @@ from pick import pick
import pprint
from steem.amount import Amount
-steembase.chains.known_chains['STEEM'] = {
+steembase.chains.known_chains['HIVE'] = {
'chain_id': '79276aea5d4877d9a25892eaa01b0adf019d3e5cb12a97478df3298ccdd01673',
- 'prefix': 'STX', 'steem_symbol': 'STEEM', 'sbd_symbol': 'SBD', 'vests_symbol': 'VESTS'
+ 'prefix': 'STX', 'hive_symbol': 'HIVE', 'hbd_symbol': 'HBD', 'vests_symbol': 'VESTS'
}
```
@@ -62,7 +62,7 @@ username = input('Enter username: ') #demo account: cdemo
wif = input('Enter private ACTIVE key: ') #demo account: 5KaNM84WWSqzwKzY82fXPaUW43idbLnPqf5SfjGxLfw6eV2kAP3
#connect node and private active key
-client = steem.Steem(nodes=['https://testnet.steem.vc'], keys=[wif])
+client = steem.Hive(nodes=['https://testnet.steem.vc'], keys=[wif])
#check valid user
userinfo = client.get_account(username)
@@ -116,7 +116,7 @@ if(delegatee_userinfo is None) :
exit()
```
-Any amount of VESTS delegated to a user will overwrite the amount of VESTS currently delegated to that user. This means that to cancel a delegation we transmit to the blockchain a `vesting_shares` value of zero. The inputs and function execution is based on the users choice. If you are using one of Steemit's demo accounts, please leave some VESTS for others to delegate!
+Any amount of VESTS delegated to a user will overwrite the amount of VESTS currently delegated to that user. This means that to cancel a delegation we transmit to the blockchain a `vesting_shares` value of zero. The inputs and function execution is based on the users choice. If you are using one of Hive's demo accounts, please leave some VESTS for others to delegate!
```python
if (option == 'DELEGATE POWER') :
diff --git a/_tutorials-python/edit_content_patching.md b/_tutorials-python/edit_content_patching.md
index e940b813dfb791d841a35aa69504caa1f497f0b0..1d85ddb774ee6e0e501a56d0ce9386fb7a5d9fbe 100644
--- a/_tutorials-python/edit_content_patching.md
+++ b/_tutorials-python/edit_content_patching.md
@@ -10,11 +10,11 @@ canonical_url: edit_content_patching.html
-In this tutorial we show you how to patch and update posts/comments on the **Steem** blockchain using the `commit` class found within the [steem-python](https://github.com/steemit/steem-python) library.
+In this tutorial we show you how to patch and update posts/comments on the **Hive** blockchain using the `commit` class found within the [steem-python](https://github.com/steemit/steem-python) library.
## Intro
-Being able to patch a post is critical to save resources on Steem. The Steem python library has a built-in function to transmit transactions to the blockchain. We are using the `diff_match_patch` class for python to create a `patch` for a post or comment. We then use the `post` method found within the `commit` class in the library. It should be noted that comments and new post are both treated as `commit.post` operation with the only difference being that a comment/reply has got an additional parameter containing the `parent post/comment`. There is already a tutorial on how to create a new post so the focus of this tutorial will be on `patching` the content of the post. We will be using a couple of methods within the `diff_match_patch` class.
+Being able to patch a post is critical to save resources on Hive. The Hive python library has a built-in function to transmit transactions to the blockchain. We are using the `diff_match_patch` class for python to create a `patch` for a post or comment. We then use the `post` method found within the `commit` class in the library. It should be noted that comments and new post are both treated as `commit.post` operation with the only difference being that a comment/reply has got an additional parameter containing the `parent post/comment`. There is already a tutorial on how to create a new post so the focus of this tutorial will be on `patching` the content of the post. We will be using a couple of methods within the `diff_match_patch` class.
`diff_main` - This compares two text fields to find the differences.
`diff_cleanupSemantic` - This reduces the number of edits by eliminating semantically trivial equalities.
@@ -25,7 +25,7 @@ Being able to patch a post is critical to save resources on Steem. The Steem pyt
## Steps
1. [**App setup**](#setup) - Library install and import. Connection to testnet
-1. [**User information and steem node**](#userinfo) - Input user information and connection to Steem node
+1. [**User information and steem node**](#userinfo) - Input user information and connection to Hive node
1. [**Post to update**](#post) - Input and retrieve post information
1. [**Patching**](#patch) - Create the patch to update the post
1. [**New post commit**](#commit) - Commit the post to the blockchain
@@ -44,9 +44,9 @@ import steembase
import steem
from diff_match_patch import diff_match_patch
-steembase.chains.known_chains['STEEM'] = {
+steembase.chains.known_chains['HIVE'] = {
'chain_id': '79276aea5d4877d9a25892eaa01b0adf019d3e5cb12a97478df3298ccdd01673',
- 'prefix': 'STX', 'steem_symbol': 'STEEM', 'sbd_symbol': 'SBD', 'vests_symbol': 'VESTS'
+ 'prefix': 'STX', 'hive_symbol': 'HIVE', 'hbd_symbol': 'HBD', 'vests_symbol': 'VESTS'
}
```
@@ -62,7 +62,7 @@ username = input('Enter username: ') #demo account: cdemo
wif = input('Enter private POSTING key: ') #demo account: 5JEZ1EiUjFKfsKP32b15Y7jybjvHQPhnvCYZ9BW62H1LDUnMvHz
#connect node and private active key
-client = steem.Steem(nodes=['https://testnet.steem.vc'], keys=[wif])
+client = steem.Hive(nodes=['https://testnet.steem.vc'], keys=[wif])
```
#### 3. Post to update
diff --git a/_tutorials-python/follow_a_user.md b/_tutorials-python/follow_a_user.md
index 8227c43139c2766092225ab8d16dd9198c81a295..cfb847716a937b9c3a2b41be8c73b317198d6b3a 100644
--- a/_tutorials-python/follow_a_user.md
+++ b/_tutorials-python/follow_a_user.md
@@ -10,11 +10,11 @@ canonical_url: follow_a_user.html
-In this tutorial we will explain and show you how to follow or unfollow any author on the **Steem** blockchain using the `commit` class found within the [steem-python](https://github.com/steemit/steem-python) library.
+In this tutorial we will explain and show you how to follow or unfollow any author on the **Hive** blockchain using the `commit` class found within the [steem-python](https://github.com/steemit/steem-python) library.
## Intro
-The Steem python library has a built-in function to transmit transactions to the blockchain. We are using the `follow` and `unfollow` methods found within the `commit` class in the the library. Before we can follow/unfollow we first have to check what the current 'follow status' is of the author. We use another function for this which is explained in the tutorial entitled `get_following_and_follower_list`. There are 3 parameters within the `follow/unfollow` methods:
+The Hive python library has a built-in function to transmit transactions to the blockchain. We are using the `follow` and `unfollow` methods found within the `commit` class in the the library. Before we can follow/unfollow we first have to check what the current 'follow status' is of the author. We use another function for this which is explained in the tutorial entitled `get_following_and_follower_list`. There are 3 parameters within the `follow/unfollow` methods:
1. _follow/unfollow_ - The name of the author that will be followed/unfollowed
1. _what_ - The list of states to be followed. Currently this defaults to `blog` as it's the only option available on the block chain at this stage
@@ -23,7 +23,7 @@ The Steem python library has a built-in function to transmit transactions to the
## Steps
1. [**App setup**](#setup) - Library install and import. Connection to testnet
-1. [**User information and steem node**](#userinfo) - Input user information and connection to Steem node
+1. [**User information and steem node**](#userinfo) - Input user information and connection to Hive node
1. [**Check author status**](#authorstat) - Validity check on requested autor to follow
1. [**Follow status**](#followstat) - Check whether specified author is already followed
1. [**Follow/Unfollow commit**](#commit) - Follow/unfollow commit to the blockchain
@@ -42,9 +42,9 @@ import steembase
import steem
from pick import pick
-steembase.chains.known_chains['STEEM'] = {
+steembase.chains.known_chains['HIVE'] = {
'chain_id': '79276aea5d4877d9a25892eaa01b0adf019d3e5cb12a97478df3298ccdd01673',
- 'prefix': 'STX', 'steem_symbol': 'STEEM', 'sbd_symbol': 'SBD', 'vests_symbol': 'VESTS'
+ 'prefix': 'STX', 'hive_symbol': 'HIVE', 'hbd_symbol': 'HBD', 'vests_symbol': 'VESTS'
}
```
@@ -60,7 +60,7 @@ username = input('Please enter your username: ')
postingkey = input('Please enter your private posting key: ')
#connect node and private posting key, demo account being used: cdemo, posting key: 5JEZ1EiUjFKfsKP32b15Y7jybjvHQPhnvCYZ9BW62H1LDUnMvHz
-s = steem.Steem(nodes=['https://testnet.steem.vc'], keys=[postingkey])
+s = steem.Hive(nodes=['https://testnet.steem.vc'], keys=[postingkey])
```
#### 3. Check author status
diff --git a/_tutorials-python/get_account_comments.md b/_tutorials-python/get_account_comments.md
index 3ecee6a99288e7f2516913929ea58ef5c7556fff..3e399321e2b6e8f6cfe069e0e72f3173a22ab1ab 100644
--- a/_tutorials-python/get_account_comments.md
+++ b/_tutorials-python/get_account_comments.md
@@ -10,11 +10,11 @@ canonical_url: get_account_comments.html
-In this tutorial will explain and show you how to access the **Steem** blockchain using the [steem-python](https://github.com/steemit/steem-python) library to fetch list of posts to randomize account list and get replies of selected account.
+In this tutorial will explain and show you how to access the **Hive** blockchain using the [steem-python](https://github.com/steemit/steem-python) library to fetch list of posts to randomize account list and get replies of selected account.
## Intro
-Steem python library has built-in function to get comments list made by specific account. Since we don't have predefined account list, we will fetch newly created posts and show their authors for selection and give option to choose one account to get its comments. `get_discussions_by_comments` function fetches list of comments made by account. Note that `get_discussions_by_created` filter is used for fetching 5 posts and after selection of its author tutorial uses `author` of the post to fetch that account's comments.
+Hive python library has built-in function to get comments list made by specific account. Since we don't have predefined account list, we will fetch newly created posts and show their authors for selection and give option to choose one account to get its comments. `get_discussions_by_comments` function fetches list of comments made by account. Note that `get_discussions_by_created` filter is used for fetching 5 posts and after selection of its author tutorial uses `author` of the post to fetch that account's comments.
## Steps
@@ -27,15 +27,15 @@ Steem python library has built-in function to get comments list made by specific
In this tutorial we use 3 packages, `pick` - helps us to select filter interactively. `steem` - steem-python library, interaction with Blockchain. `pprint` - print results in better format.
-First we import all three library and initialize Steem class
+First we import all three library and initialize Hive class
```python
import pprint
from pick import pick
- # initialize Steem class
- from steem import Steem
+ # initialize Hive class
+ from steem import Hive
- s = Steem()
+ s = Hive()
```
#### 2. Post list
@@ -109,22 +109,22 @@ The example of result returned from the service is a `JSON` object with the foll
'children': 0,
'children_abs_rshares': 0,
'created': '2018-06-21T06:48:57',
- 'curator_payout_value': '0.000 SBD',
+ 'curator_payout_value': '0.000 HBD',
'depth': 1,
'id': 53788647,
'json_metadata': '{"tags":["life"],"app":"steemit/0.1"}',
'last_payout': '1970-01-01T00:00:00',
'last_update': '2018-06-21T06:48:57',
- 'max_accepted_payout': '1000000.000 SBD',
+ 'max_accepted_payout': '1000000.000 HBD',
'max_cashout_time': '1969-12-31T23:59:59',
'net_rshares': 0,
'net_votes': 0,
'parent_author': 'blazing',
'parent_permlink': 'that-extra-push-will-take-you-forward',
- 'pending_payout_value': '0.000 SBD',
- 'percent_steem_dollars': 10000,
+ 'pending_payout_value': '0.000 HBD',
+ 'percent_hbd': 10000,
'permlink': 're-blazing-that-extra-push-will-take-you-forward-20180621t064855012z',
- 'promoted': '0.000 SBD',
+ 'promoted': '0.000 HBD',
'reblogged_by': [],
'replies': [],
'reward_weight': 10000,
@@ -132,8 +132,8 @@ The example of result returned from the service is a `JSON` object with the foll
'root_permlink': 'that-extra-push-will-take-you-forward',
'root_title': 'That extra push will take you forward ',
'title': '',
- 'total_payout_value': '0.000 SBD',
- 'total_pending_payout_value': '0.000 STEEM',
+ 'total_payout_value': '0.000 HBD',
+ 'total_pending_payout_value': '0.000 HIVE',
'total_vote_weight': 0,
'url': '/life/@blazing/that-extra-push-will-take-you-forward#@rakibmaruf24/re-blazing-that-extra-push-will-take-you-forward-20180621t064855012z',
'vote_rshares': 0},
@@ -165,22 +165,22 @@ The example of result returned from the service is a `JSON` object with the foll
'children': 1,
'children_abs_rshares': 0,
'created': '2018-06-01T17:56:15',
- 'curator_payout_value': '0.018 SBD',
+ 'curator_payout_value': '0.018 HBD',
'depth': 1,
'id': 51280699,
'json_metadata': '{"tags":["finland"],"app":"steemit/0.1"}',
'last_payout': '2018-06-08T17:56:15',
'last_update': '2018-06-01T17:56:15',
- 'max_accepted_payout': '1000000.000 SBD',
+ 'max_accepted_payout': '1000000.000 HBD',
'max_cashout_time': '1969-12-31T23:59:59',
'net_rshares': 0,
'net_votes': 2,
'parent_author': 'markkujantunen',
'parent_permlink': 'mein-kampf-gegen-den-loewenzahn-my-struggle-against-dandelions',
- 'pending_payout_value': '0.000 SBD',
- 'percent_steem_dollars': 10000,
+ 'pending_payout_value': '0.000 HBD',
+ 'percent_hbd': 10000,
'permlink': 're-markkujantunen-mein-kampf-gegen-den-loewenzahn-my-struggle-against-dandelions-20180601t175605072z',
- 'promoted': '0.000 SBD',
+ 'promoted': '0.000 HBD',
'reblogged_by': [],
'replies': [],
'reward_weight': 10000,
@@ -189,8 +189,8 @@ The example of result returned from the service is a `JSON` object with the foll
'root_title': 'Mein Kampf Gegen Den Löwenzahn/My Struggle Against The '
'Dandelion',
'title': '',
- 'total_payout_value': '0.067 SBD',
- 'total_pending_payout_value': '0.000 STEEM',
+ 'total_payout_value': '0.067 HBD',
+ 'total_pending_payout_value': '0.000 HIVE',
'total_vote_weight': 0,
'url': '/finland/@markkujantunen/mein-kampf-gegen-den-loewenzahn-my-struggle-against-dandelions#@rakibmaruf24/re-markkujantunen-mein-kampf-gegen-den-loewenzahn-my-struggle-against-dandelions-20180601t175605072z',
'vote_rshares': 0}
diff --git a/_tutorials-python/get_account_replies.md b/_tutorials-python/get_account_replies.md
index afcfcf456fc38d410ef067cd428f4322b5165cfb..b660f9ae85cc9d45572baeca26ab1319ae9e8bd1 100644
--- a/_tutorials-python/get_account_replies.md
+++ b/_tutorials-python/get_account_replies.md
@@ -10,11 +10,11 @@ canonical_url: get_account_replies.html
-Tutorial will explain and show you how to access the **Steem** blockchain using the [steem-python](https://github.com/steemit/steem-python) library to fetch a list of comments made on a specific accounts content.
+Tutorial will explain and show you how to access the **Hive** blockchain using the [steem-python](https://github.com/steemit/steem-python) library to fetch a list of comments made on a specific accounts content.
## Intro
-In Steem there are built-in functions in the official library `steem-python` that we are going to use throughout all Python tutorials. For this one we are using the `get_replies` function.
+In Hive there are built-in functions in the official library `steem-python` that we are going to use throughout all Python tutorials. For this one we are using the `get_replies` function.
## Steps
@@ -27,15 +27,15 @@ In Steem there are built-in functions in the official library `steem-python` tha
In this tutorial we use 3 packages, `pick` - helps us to select filter interactively. `steem` - steem-python library, interaction with Blockchain. `pprint` - print results in better format.
-First we import all three library and initialize Steem class
+First we import all three library and initialize Hive class
```python
import pprint
from pick import pick
- # initialize Steem class
- from steem import Steem
+ # initialize Hive class
+ from steem import Hive
- s = Steem()
+ s = Hive()
```
#### 2. Post list
diff --git a/_tutorials-python/get_delegations_by_user.md b/_tutorials-python/get_delegations_by_user.md
index 1e70955c31d861d757b4f5b33338092cd2a2badd..beb99c4a11b9f7ac341d95181154e7658ced4afc 100644
--- a/_tutorials-python/get_delegations_by_user.md
+++ b/_tutorials-python/get_delegations_by_user.md
@@ -10,11 +10,11 @@ canonical_url: get_delegations_by_user.html
-In this tutorial we will explain and show you how to pull a list of both active and expiring vesting delegations from the **Steem** blockchain using the `steem` class found within the [steem-python](https://github.com/steemit/steem-python) library.
+In this tutorial we will explain and show you how to pull a list of both active and expiring vesting delegations from the **Hive** blockchain using the `steem` class found within the [steem-python](https://github.com/steemit/steem-python) library.
## Intro
-The Steem python library has a built-in function to pull information from the blockchain. We are using the `get_vesting_delegations` and `get_expiring_vesting_delegations` methods found within the `steem` class in the library. Each of these functions are executed separately. It should be noted that when a delegation is cancelled the VESTS will only be available again after 7 days. The value of the delegation can also be changed at any time, either decreased or increased. To get active delegations we need the following parameters:
+The Hive python library has a built-in function to pull information from the blockchain. We are using the `get_vesting_delegations` and `get_expiring_vesting_delegations` methods found within the `steem` class in the library. Each of these functions are executed separately. It should be noted that when a delegation is cancelled the VESTS will only be available again after 7 days. The value of the delegation can also be changed at any time, either decreased or increased. To get active delegations we need the following parameters:
1. _account_ - The user account that the delegation list is being queried for
1. _from-account_ - The account name from where to start the search. This parameter can be left empty to pull a list from the first delegatee
@@ -39,11 +39,11 @@ We import the libraries and connect to the `production` server.
```python
from pick import pick
-from steem import Steem
+from steem import Hive
import pprint
-client = Steem()
+client = Hive()
```
`pprint` is used to print the query results in an easier to read format
diff --git a/_tutorials-python/get_follower_and_following_list.md b/_tutorials-python/get_follower_and_following_list.md
index ff39b6d4513812fa454595cdd2ac6fb31a16eb01..4fb13712bd14cb6b72be26b783df37127dad3159 100644
--- a/_tutorials-python/get_follower_and_following_list.md
+++ b/_tutorials-python/get_follower_and_following_list.md
@@ -10,11 +10,11 @@ canonical_url: get_follower_and_following_list.html
-This tutorial will explain and show you how to access the **Steem** blockchain using the [steem-python](https://github.com/steemit/steem-python) library to fetch list of authors being followed or authors that a specified user is following.
+This tutorial will explain and show you how to access the **Hive** blockchain using the [steem-python](https://github.com/steemit/steem-python) library to fetch list of authors being followed or authors that a specified user is following.
## Intro
-We are using the `get_followers` and `get_following` functions that are built into the official library `steem-python`. These functions allow us to query the Steem blockchain in order to retrieve either a list of authors that are being followed or a list of authors that are currently following a specified user. There are 4 parameters required to execute these functions:
+We are using the `get_followers` and `get_following` functions that are built into the official library `steem-python`. These functions allow us to query the Hive blockchain in order to retrieve either a list of authors that are being followed or a list of authors that are currently following a specified user. There are 4 parameters required to execute these functions:
1. _account_ - The specific user for which the follower(ing) list will be retrieved
1. _start follower(ing)_ - The starting letter(s) or name for the search query. This value can be set as an empty string in order to include all authors starting from "a"
@@ -32,13 +32,13 @@ We are using the `get_followers` and `get_following` functions that are built in
In this tutorial we use 2 packages, `pick` - helps us to select the query type interactively. `steem` - steem-python library, interaction with Blockchain.
-First we import both libraries and initialize Steem class
+First we import both libraries and initialize Hive class
```python
from pick import pick
-from steem import Steem
+from steem import Hive
-s = Steem()
+s = Hive()
```
#### 2. Input variables
diff --git a/_tutorials-python/get_post_comments.md b/_tutorials-python/get_post_comments.md
index c3a845f9d3db264c3ab2a9efc6b307e6f6402998..0a7fdc5a6ff35c080b10a55f667b46607925ea08 100644
--- a/_tutorials-python/get_post_comments.md
+++ b/_tutorials-python/get_post_comments.md
@@ -10,11 +10,11 @@ canonical_url: get_post_comments.html
-This tutorial will explain and show you how to access the **Steem** blockchain using the [steem-python](https://github.com/steemit/steem-python) library to fetch list of posts and get replies info on selected post.
+This tutorial will explain and show you how to access the **Hive** blockchain using the [steem-python](https://github.com/steemit/steem-python) library to fetch list of posts and get replies info on selected post.
## Intro
-Steem python library has built-in function to get active voters information if post with author and permlink as an argument. Since we don't have predefined post or author/permlink. We will fetch post list from previous tutorial and give option to choose one post to get its active voters. `get_content_replies` function fetches list of replies on content. Note that `get_discussions_by_hot` filter is used for fetching 5 posts and after selection of post tutorial uses `author` and `permlink` of the post to fetch replies.
+Hive python library has built-in function to get active voters information if post with author and permlink as an argument. Since we don't have predefined post or author/permlink. We will fetch post list from previous tutorial and give option to choose one post to get its active voters. `get_content_replies` function fetches list of replies on content. Note that `get_discussions_by_hot` filter is used for fetching 5 posts and after selection of post tutorial uses `author` and `permlink` of the post to fetch replies.
## Steps
@@ -27,15 +27,15 @@ Steem python library has built-in function to get active voters information if p
In this tutorial we use 3 packages, `pick` - helps us to select filter interactively. `steem` - steem-python library, interaction with Blockchain. `pprint` - print results in better format.
-First we import all three library and initialize Steem class
+First we import all three library and initialize Hive class
```python
import pprint
from pick import pick
- # initialize Steem class
- from steem import Steem
+ # initialize Hive class
+ from steem import Hive
- s = Steem()
+ s = Hive()
```
#### 2. Post list
@@ -104,22 +104,22 @@ The example of result returned from the service is a `JSON` object with the foll
'children': 0,
'children_abs_rshares': 0,
'created': '2018-06-15T10:43:36',
- 'curator_payout_value': '0.000 SBD',
+ 'curator_payout_value': '0.000 HBD',
'depth': 1,
'id': 53110589,
'json_metadata': '{"tags":["fiction"],"users":["sarcasms"],"app":"steemit/0.1"}',
'last_payout': '1970-01-01T00:00:00',
'last_update': '2018-06-15T10:43:36',
- 'max_accepted_payout': '1000000.000 SBD',
+ 'max_accepted_payout': '1000000.000 HBD',
'max_cashout_time': '1969-12-31T23:59:59',
'net_rshares': 0,
'net_votes': 0,
'parent_author': 'muratkbesiroglu',
'parent_permlink': 'short-sci-fi-story-the-android-that-sell-meaning',
- 'pending_payout_value': '0.000 SBD',
- 'percent_steem_dollars': 10000,
+ 'pending_payout_value': '0.000 HBD',
+ 'percent_hbd': 10000,
'permlink': 're-muratkbesiroglu-short-sci-fi-story-the-android-that-sell-meaning-20180615t104323737z',
- 'promoted': '0.000 SBD',
+ 'promoted': '0.000 HBD',
'reblogged_by': [],
'replies': [],
'reward_weight': 10000,
@@ -127,8 +127,8 @@ The example of result returned from the service is a `JSON` object with the foll
'root_permlink': 'short-sci-fi-story-the-android-that-sell-meaning',
'root_title': 'Short Sci-Fi Story: The Android That Sell Meaning',
'title': '',
- 'total_payout_value': '0.000 SBD',
- 'total_pending_payout_value': '0.000 STEEM',
+ 'total_payout_value': '0.000 HBD',
+ 'total_pending_payout_value': '0.000 HIVE',
'total_vote_weight': 0,
'url': '/fiction/@muratkbesiroglu/short-sci-fi-story-the-android-that-sell-meaning#@sarcasms/re-muratkbesiroglu-short-sci-fi-story-the-android-that-sell-meaning-20180615t104323737z',
'vote_rshares': 0},
@@ -149,22 +149,22 @@ The example of result returned from the service is a `JSON` object with the foll
'children': 0,
'children_abs_rshares': 0,
'created': '2018-06-15T11:26:15',
- 'curator_payout_value': '0.000 SBD',
+ 'curator_payout_value': '0.000 HBD',
'depth': 1,
'id': 53114015,
'json_metadata': '{"tags":["fiction"],"app":"steemit/0.1"}',
'last_payout': '1970-01-01T00:00:00',
'last_update': '2018-06-15T11:26:15',
- 'max_accepted_payout': '1000000.000 SBD',
+ 'max_accepted_payout': '1000000.000 HBD',
'max_cashout_time': '1969-12-31T23:59:59',
'net_rshares': 0,
'net_votes': 0,
'parent_author': 'muratkbesiroglu',
'parent_permlink': 'short-sci-fi-story-the-android-that-sell-meaning',
- 'pending_payout_value': '0.000 SBD',
- 'percent_steem_dollars': 10000,
+ 'pending_payout_value': '0.000 HBD',
+ 'percent_hbd': 10000,
'permlink': 're-muratkbesiroglu-short-sci-fi-story-the-android-that-sell-meaning-20180615t112615204z',
- 'promoted': '0.000 SBD',
+ 'promoted': '0.000 HBD',
'reblogged_by': [],
'replies': [],
'reward_weight': 10000,
@@ -172,8 +172,8 @@ The example of result returned from the service is a `JSON` object with the foll
'root_permlink': 'short-sci-fi-story-the-android-that-sell-meaning',
'root_title': 'Short Sci-Fi Story: The Android That Sell Meaning',
'title': '',
- 'total_payout_value': '0.000 SBD',
- 'total_pending_payout_value': '0.000 STEEM',
+ 'total_payout_value': '0.000 HBD',
+ 'total_pending_payout_value': '0.000 HIVE',
'total_vote_weight': 0,
'url': '/fiction/@muratkbesiroglu/short-sci-fi-story-the-android-that-sell-meaning#@vicky3585/re-muratkbesiroglu-short-sci-fi-story-the-android-that-sell-meaning-20180615t112615204z',
'vote_rshares': 0}]
diff --git a/_tutorials-python/get_post_details.md b/_tutorials-python/get_post_details.md
index e6ad4622d708433c737c01aec8a631fc4fdd9b54..1143dc3d7409f19f6606ef3db037dd64c8c26f96 100644
--- a/_tutorials-python/get_post_details.md
+++ b/_tutorials-python/get_post_details.md
@@ -10,11 +10,11 @@ canonical_url: get_post_details.html
-We will explain and show you how to access the **Steem** blockchain using the [steem-python](https://github.com/steemit/steem-python) library to fetch list of posts filtered by a _filter_ and _tag_
+We will explain and show you how to access the **Hive** blockchain using the [steem-python](https://github.com/steemit/steem-python) library to fetch list of posts filtered by a _filter_ and _tag_
## Intro
-Steem python library has built-in function to get details of post with author and permlink as an argument. Since we don't have predefined post or author/permlink. We will fetch post list from previous tutorial and give option to choose one option/post to get its details. `get_content` function fetches latest state of the post and delivers its details. Note that `get_discussions_by_created` filter is used for fetching 5 posts which by default contains details of each post, but for purpose of this tutorial we will showcase `get_content` function to fetch details.
+Hive python library has built-in function to get details of post with author and permlink as an argument. Since we don't have predefined post or author/permlink. We will fetch post list from previous tutorial and give option to choose one option/post to get its details. `get_content` function fetches latest state of the post and delivers its details. Note that `get_discussions_by_created` filter is used for fetching 5 posts which by default contains details of each post, but for purpose of this tutorial we will showcase `get_content` function to fetch details.
## Steps
@@ -27,15 +27,15 @@ Steem python library has built-in function to get details of post with author an
In this tutorial we use 3 packages, `pick` - helps us to select filter interactively. `steem` - steem-python library, interaction with Blockchain. `pprint` - print results in better format.
-First we import all three library and initialize Steem class
+First we import all three library and initialize Hive class
```python
import pprint
from pick import pick
- # initialize Steem class
- from steem import Steem
+ # initialize Hive class
+ from steem import Hive
- s = Steem()
+ s = Hive()
```
#### 2. Post list
@@ -92,9 +92,9 @@ The example of result returned from the service is a `JSON` object with the foll
"category": "steemit",
"parent_author": "",
"parent_permlink": "steemit",
- "title": "Join Team Steemit at TokenFest!",
+ "title": "Join Team Hive at TokenFest!",
"body":
- "\n\nHello Steemians! If you’d like to meet Team Steemit live-in-person, or are just interested in attending what promises to be a great blockchain conference, join us at TokenFest in San Francisco from March 15th to 16th. \n\nSteemit CEO, Ned Scott, will be participating in a fireside chat alongside Steemit’s CTO, Harry Schmidt, as well as the creator of Utopian.io, Diego Pucci. Steemit will also be hosting the opening party on Thursday night and we’d certainly love to meet as many of you as possible IRL, so head on over to https://tokenfest.adria.digital/ and get your tickets while you can. \n\n*Team Steemit*",
+ "\n\nHello Hiveians! If you’d like to meet Team Hive live-in-person, or are just interested in attending what promises to be a great blockchain conference, join us at TokenFest in San Francisco from March 15th to 16th. \n\nHive CEO, Ned Scott, will be participating in a fireside chat alongside Hive’s CTO, Harry Schmidt, as well as the creator of Utopian.io, Diego Pucci. Hive will also be hosting the opening party on Thursday night and we’d certainly love to meet as many of you as possible IRL, so head on over to https://tokenfest.adria.digital/ and get your tickets while you can. \n\n*Team Hive*",
"json_metadata":
"{\"tags\":[\"steemit\",\"tokenfest\",\"conference\"],\"image\":[\"https://i.imgur.com/fOScDIW.png\"],\"links\":[\"https://tokenfest.adria.digital\",\"https://tokenfest.adria.digital/\"],\"app\":\"steemit/0.1\",\"format\":\"markdown\"}",
"last_update": "2018-03-07T23:22:54",
@@ -111,21 +111,21 @@ The example of result returned from the service is a `JSON` object with the foll
"max_cashout_time": "1969-12-31T23:59:59",
"total_vote_weight": 3462435,
"reward_weight": 10000,
- "total_payout_value": "0.000 SBD",
- "curator_payout_value": "0.000 SBD",
+ "total_payout_value": "0.000 HBD",
+ "curator_payout_value": "0.000 HBD",
"author_rewards": 0,
"net_votes": 77,
"root_comment": 37338948,
- "max_accepted_payout": "0.000 SBD",
- "percent_steem_dollars": 10000,
+ "max_accepted_payout": "0.000 HBD",
+ "percent_hbd": 10000,
"allow_replies": true,
"allow_votes": true,
"allow_curation_rewards": true,
"beneficiaries": [],
"url": "/steemit/@steemitblog/join-team-steemit-at-tokenfest",
- "root_title": "Join Team Steemit at TokenFest!",
- "pending_payout_value": "46.436 SBD",
- "total_pending_payout_value": "0.000 STEEM",
+ "root_title": "Join Team Hive at TokenFest!",
+ "pending_payout_value": "46.436 HBD",
+ "total_pending_payout_value": "0.000 HIVE",
"active_votes": [
{
"voter": "steemitblog",
@@ -146,7 +146,7 @@ The example of result returned from the service is a `JSON` object with the foll
],
"replies": [],
"author_reputation": "128210130644387",
- "promoted": "0.000 SBD",
+ "promoted": "0.000 HBD",
"body_length": 754,
"reblogged_by": []
}
diff --git a/_tutorials-python/get_posts.md b/_tutorials-python/get_posts.md
index 72889cbd55e2018c2dce411db26c77d2644ec420..3abb4e78da4ebd47f4a78d6e73eb9f980c4e8bdb 100644
--- a/_tutorials-python/get_posts.md
+++ b/_tutorials-python/get_posts.md
@@ -10,11 +10,11 @@ canonical_url: get_posts.html
-This tutorial will explain and show you how to access the **Steem** blockchain using the [steem-python](https://github.com/steemit/steem-python) library to fetch list of posts filtered by a _filter_ and _tag_
+This tutorial will explain and show you how to access the **Hive** blockchain using the [steem-python](https://github.com/steemit/steem-python) library to fetch list of posts filtered by a _filter_ and _tag_
## Intro
-In Steem there are built-in filters `trending`, `hot`, `created`, `active`, `promoted` etc. which helps us to get list of posts. `get_discussions_by_trending(query)`, `get_discussions_by_hot(query)`, `get_discussions_by_created(query)`, etc. functions are built-in in official library `steem-python` that we are going to use throughout all Python tutorials.
+In Hive there are built-in filters `trending`, `hot`, `created`, `active`, `promoted` etc. which helps us to get list of posts. `get_discussions_by_trending(query)`, `get_discussions_by_hot(query)`, `get_discussions_by_created(query)`, etc. functions are built-in in official library `steem-python` that we are going to use throughout all Python tutorials.
## Steps
@@ -28,15 +28,15 @@ In Steem there are built-in filters `trending`, `hot`, `created`, `active`, `pro
In this tutorial we use 3 packages, `pick` - helps us to select filter interactively. `steem` - steem-python library, interaction with Blockchain. `pprint` - print results in better format.
-First we import all three library and initialize Steem class
+First we import all three library and initialize Hive class
```python
import pprint
from pick import pick
- # initialize Steem class
- from steem import Steem
+ # initialize Hive class
+ from steem import Hive
- s = Steem()
+ s = Hive()
```
#### 2. Filters list
@@ -55,7 +55,7 @@ This will show us list of filters to select in terminal/command prompt. And afte
#### 3. Query details
-Next we will form a query. In Steem,
+Next we will form a query. In Hive,
* You can add a tag to filter the posts that you receive from the server
* You can also limit the amount of results you would like to receive from the query
@@ -97,9 +97,9 @@ The example of result returned from the service is a `JSON` object with the foll
"category": "steemit",
"parent_author": "",
"parent_permlink": "steemit",
- "title": "Join Team Steemit at TokenFest!",
+ "title": "Join Team Hive at TokenFest!",
"body":
- "\n\nHello Steemians! If you’d like to meet Team Steemit live-in-person, or are just interested in attending what promises to be a great blockchain conference, join us at TokenFest in San Francisco from March 15th to 16th. \n\nSteemit CEO, Ned Scott, will be participating in a fireside chat alongside Steemit’s CTO, Harry Schmidt, as well as the creator of Utopian.io, Diego Pucci. Steemit will also be hosting the opening party on Thursday night and we’d certainly love to meet as many of you as possible IRL, so head on over to https://tokenfest.adria.digital/ and get your tickets while you can. \n\n*Team Steemit*",
+ "\n\nHello Hiveians! If you’d like to meet Team Hive live-in-person, or are just interested in attending what promises to be a great blockchain conference, join us at TokenFest in San Francisco from March 15th to 16th. \n\nHive CEO, Ned Scott, will be participating in a fireside chat alongside Hive’s CTO, Harry Schmidt, as well as the creator of Utopian.io, Diego Pucci. Hive will also be hosting the opening party on Thursday night and we’d certainly love to meet as many of you as possible IRL, so head on over to https://tokenfest.adria.digital/ and get your tickets while you can. \n\n*Team Hive*",
"json_metadata":
"{\"tags\":[\"steemit\",\"tokenfest\",\"conference\"],\"image\":[\"https://i.imgur.com/fOScDIW.png\"],\"links\":[\"https://tokenfest.adria.digital\",\"https://tokenfest.adria.digital/\"],\"app\":\"steemit/0.1\",\"format\":\"markdown\"}",
"last_update": "2018-03-07T23:22:54",
@@ -116,21 +116,21 @@ The example of result returned from the service is a `JSON` object with the foll
"max_cashout_time": "1969-12-31T23:59:59",
"total_vote_weight": 3462435,
"reward_weight": 10000,
- "total_payout_value": "0.000 SBD",
- "curator_payout_value": "0.000 SBD",
+ "total_payout_value": "0.000 HBD",
+ "curator_payout_value": "0.000 HBD",
"author_rewards": 0,
"net_votes": 77,
"root_comment": 37338948,
- "max_accepted_payout": "0.000 SBD",
- "percent_steem_dollars": 10000,
+ "max_accepted_payout": "0.000 HBD",
+ "percent_hbd": 10000,
"allow_replies": true,
"allow_votes": true,
"allow_curation_rewards": true,
"beneficiaries": [],
"url": "/steemit/@steemitblog/join-team-steemit-at-tokenfest",
- "root_title": "Join Team Steemit at TokenFest!",
- "pending_payout_value": "46.436 SBD",
- "total_pending_payout_value": "0.000 STEEM",
+ "root_title": "Join Team Hive at TokenFest!",
+ "pending_payout_value": "46.436 HBD",
+ "total_pending_payout_value": "0.000 HIVE",
"active_votes": [
{
"voter": "steemitblog",
@@ -151,7 +151,7 @@ The example of result returned from the service is a `JSON` object with the foll
],
"replies": [],
"author_reputation": "128210130644387",
- "promoted": "0.000 SBD",
+ "promoted": "0.000 HBD",
"body_length": 754,
"reblogged_by": []
},
diff --git a/_tutorials-python/get_voters_list_on_post.md b/_tutorials-python/get_voters_list_on_post.md
index 1a45ef24836824676546af8944a1d29a1bf5fc48..03fdcda349b5a797a7ec38e661ecd6e63d2c04d3 100644
--- a/_tutorials-python/get_voters_list_on_post.md
+++ b/_tutorials-python/get_voters_list_on_post.md
@@ -10,11 +10,11 @@ canonical_url: get_voters_list_on_post.html
-Tutorial will explain and show you how to access the **Steem** blockchain using the [steem-python](https://github.com/steemit/steem-python) library to fetch list of posts and get voters info on selected post.
+Tutorial will explain and show you how to access the **Hive** blockchain using the [steem-python](https://github.com/steemit/steem-python) library to fetch list of posts and get voters info on selected post.
## Intro
-Steem python library has built-in function to get active voters information if post with author and permlink as an argument. Since we don't have predefined post or author/permlink. We will fetch post list from previous tutorial and give option to choose one post to get its active voters. `get_active_votes` function fetches list of active voters on content. Note that `get_discussions_by_active` filter is used for fetching 5 posts which by default contains `active_votes` of each post, but for purpose of this tutorial we will use `get_active_votes` function to fetch voters info.
+Hive python library has built-in function to get active voters information if post with author and permlink as an argument. Since we don't have predefined post or author/permlink. We will fetch post list from previous tutorial and give option to choose one post to get its active voters. `get_active_votes` function fetches list of active voters on content. Note that `get_discussions_by_active` filter is used for fetching 5 posts which by default contains `active_votes` of each post, but for purpose of this tutorial we will use `get_active_votes` function to fetch voters info.
## Steps
@@ -27,15 +27,15 @@ Steem python library has built-in function to get active voters information if p
In this tutorial we use 3 packages, `pick` - helps us to select filter interactively. `steem` - steem-python library, interaction with Blockchain. `pprint` - print results in better format.
-First we import all three library and initialize Steem class
+First we import all three library and initialize Hive class
```python
import pprint
from pick import pick
- # initialize Steem class
- from steem import Steem
+ # initialize Hive class
+ from steem import Hive
- s = Steem()
+ s = Hive()
```
#### 2. Post list
diff --git a/_tutorials-python/getting_started.md b/_tutorials-python/getting_started.md
index 4d546bce39b90ec6b0d4fb78c703c0e13009c026..8c65f5cc5b0c64e6b94acc46ce5c43d78ec62eaf 100644
--- a/_tutorials-python/getting_started.md
+++ b/_tutorials-python/getting_started.md
@@ -1,7 +1,7 @@
---
title: 'PY: Getting Started'
position: 0
-description: "The official Steem library for Python is `steem-python`. It comes with a BIP38 encrypted wallet and a practical CLI utility called `steempy`."
+description: "The official Hive library for Python is `steem-python`. It comes with a BIP38 encrypted wallet and a practical CLI utility called `steempy`."
layout: full
canonical_url: getting_started.html
---
diff --git a/_tutorials-python/grant_active_permission.md b/_tutorials-python/grant_active_permission.md
index 5abbfde6f9dc137fd58893dce99e6cb3c942173d..1aca3ff779569997ed65d885fee15e4dcade71de 100644
--- a/_tutorials-python/grant_active_permission.md
+++ b/_tutorials-python/grant_active_permission.md
@@ -10,19 +10,19 @@ canonical_url: grant_active_permission.html
-In this tutorial we show you how to check if someone has got active permission for an account on the **Steem** blockchain and how to grant or revoke that permission using the `commit` class found within the [steem-python](https://github.com/steemit/steem-python) library.
+In this tutorial we show you how to check if someone has got active permission for an account on the **Hive** blockchain and how to grant or revoke that permission using the `commit` class found within the [steem-python](https://github.com/steemit/steem-python) library.
Providing another user active permission for your account enables them to do fund transfers from your account. This can be useful in setting up a secondary account(s) to manage funds for a main account or having a backup should you lose passwords for the main account.
One of the common practice nowadays is to lend/delegate SP to another account, above same technique can be used to create market around it with minimum 3rd party trust. All your funds stay in your account. You can use/create automated system where you can lease for certain period of time and system can take care of payments and release of delegations (notify clients). Even better, you can use multi-signature feature to establish 100% trust where clients will have to confirm, approve transactions.
-Active permissions and authority should be used with utmost care, you don't want to lose your funds. It is really not easy to hack Steem accounts, let alone take control over it. But without careful use (revealing private keys) losing liquid funds are not that difficult and it takes only couple seconds to do that, keeping most value powered up always helps.
+Active permissions and authority should be used with utmost care, you don't want to lose your funds. It is really not easy to hack Hive accounts, let alone take control over it. But without careful use (revealing private keys) losing liquid funds are not that difficult and it takes only couple seconds to do that, keeping most value powered up always helps.
-[this article](https://steemit.com/steem/@good-karma/steem-multi-authority-permissions-and-how-active-authority-works-part-2-f158813ec0ec1) has more detail around active authorities
+[this article](https://hive.blog/steem/@good-karma/steem-multi-authority-permissions-and-how-active-authority-works-part-2-f158813ec0ec1) has more detail around active authorities
## Intro
-The Steem python library has a built-in function to transmit transactions to the blockchain. We are using the `allow` and `disallow` methods found within the `commit` class in the library. Before we grant or revoke permission, we use the `get_account` function to check whether the requested user already has that permission or not. This is not strictly necessary but adds to the useability of the process. The `allow` method has 5 parameters:
+The Hive python library has a built-in function to transmit transactions to the blockchain. We are using the `allow` and `disallow` methods found within the `commit` class in the library. Before we grant or revoke permission, we use the `get_account` function to check whether the requested user already has that permission or not. This is not strictly necessary but adds to the useability of the process. The `allow` method has 5 parameters:
1. _foreign_ - The foreign account that will obtain access
1. _weight_ - This is an optional parameter defining the weight to use. If not defined, the threshold value will be used. If the weight is smaller than the threshold, additional signatures will be required.
@@ -64,7 +64,7 @@ username = input('Enter username: ')
wif = input('Enter private ACTIVE key: ')
#connect to production server with active key
-client = steem.Steem(keys=[wif])
+client = steem.Hive(keys=[wif])
```
#### 2. Username validation
diff --git a/_tutorials-python/grant_posting_permission.md b/_tutorials-python/grant_posting_permission.md
index 50f0d023f71301cb50dd013e930ae579e129b40c..f663fa012a4849c1dbd5c15f0057979bfe782722 100644
--- a/_tutorials-python/grant_posting_permission.md
+++ b/_tutorials-python/grant_posting_permission.md
@@ -10,13 +10,13 @@ canonical_url: grant_posting_permission.html
-In this tutorial we show you how to check if someone has posting permission for an account on the **Steem** blockchain and how to grant or revoke that permission using the `commit` class found within the [steem-python](https://github.com/steemit/steem-python) library.
+In this tutorial we show you how to check if someone has posting permission for an account on the **Hive** blockchain and how to grant or revoke that permission using the `commit` class found within the [steem-python](https://github.com/steemit/steem-python) library.
Providing another user posting permission for your account can be used to allow multiple users to submit posts on a single steemit community. @Utopian-Io is an example of such a community. There are also applications that allows you to schedule posts by automatically publishing on your behalf.
## Intro
-The Steem python library has a built-in function to transmit transactions to the blockchain. We are using the `allow` and `disallow` methods found within the `commit` class in the library. Before we grant or revoke permission, we use the `get_account` function to check whether the requested user already has that permission or not. This is not strictly necessary but adds to the useability of the process. The `allow` method has 5 parameters:
+The Hive python library has a built-in function to transmit transactions to the blockchain. We are using the `allow` and `disallow` methods found within the `commit` class in the library. Before we grant or revoke permission, we use the `get_account` function to check whether the requested user already has that permission or not. This is not strictly necessary but adds to the useability of the process. The `allow` method has 5 parameters:
1. _foreign_ - The foreign account that will obtain access
1. _weight_ - This is an optional parameter defining the weight to use. If not defined, the threshold value will be used. If the weight is smaller than the threshold, additional signatures will be required.
@@ -58,7 +58,7 @@ username = input('Enter username: ')
wif = input('Enter private ACTIVE key: ')
#connect to production server with active key
-client = steem.Steem(keys=[wif])
+client = steem.Hive(keys=[wif])
```
#### 2. Username validation
diff --git a/_tutorials-python/password_key_change.md b/_tutorials-python/password_key_change.md
index 16748fe38576571afd287469df27f54a84e76f95..24d81a6d366d4edf51f043049fe2095e9a074e0c 100644
--- a/_tutorials-python/password_key_change.md
+++ b/_tutorials-python/password_key_change.md
@@ -10,11 +10,11 @@ canonical_url: password_key_change.html
-In this tutorial we will explain and show you how to change your account password and keys on the **Steem** blockchain using the `steem` class found within the [steem-python](https://github.com/steemit/steem-python) library.
+In this tutorial we will explain and show you how to change your account password and keys on the **Hive** blockchain using the `steem` class found within the [steem-python](https://github.com/steemit/steem-python) library.
## Intro
-The Steem python library has a built-in function to update your account details on the blockchain. We are using the `AccountUpdate` and `commit.finalizeOp` to make these changes. The `AccountUpdate` function creates the operation that we will be committing to the blockchain using the `commit.finalizeOp` function. We first get the existing keys from your account then recreate these from your new password. Once these have been created using your new password we commit them to the blockchain. The initial parameters we need to complete this operation are:
+The Hive python library has a built-in function to update your account details on the blockchain. We are using the `AccountUpdate` and `commit.finalizeOp` to make these changes. The `AccountUpdate` function creates the operation that we will be committing to the blockchain using the `commit.finalizeOp` function. We first get the existing keys from your account then recreate these from your new password. Once these have been created using your new password we commit them to the blockchain. The initial parameters we need to complete this operation are:
1. _account_ - The user account that we will be changing
1. _old_password_ - Your existing password for the account we are changing
@@ -60,19 +60,19 @@ new_password = input('New password: ')
### 3. Connect to the blockchain
-From the parameters that have been collected we will generate the private key for the account and connect to the **Steem** blockchain.
+From the parameters that have been collected we will generate the private key for the account and connect to the **Hive** blockchain.
```python
old_owner_key = str(
PasswordKey(account, old_password, "owner").get_private_key()
)
-client = steem.Steem(keys=[old_owner_key])
+client = steem.Hive(keys=[old_owner_key])
```
### 4. Configure new keys
-We will now generate new keys for each role using the new password as well as create the json that will be committed to the **Steem** blockchain. We generate new keys using the new password for each of these roles.
+We will now generate new keys for each role using the new password as well as create the json that will be committed to the **Hive** blockchain. We generate new keys using the new password for each of these roles.
```python
new_public_keys = {}
@@ -129,7 +129,7 @@ print(result)
If you update your password and attempt to update it again to quickly you will receive the following error.
```
-Assert Exception:_db.head_block_time() - account_auth.last_owner_update > STEEM_OWNER_UPDATE_LIMIT: Owner authority can only be updated once an hour.
+Assert Exception:_db.head_block_time() - account_auth.last_owner_update > HIVE_OWNER_UPDATE_LIMIT: Owner authority can only be updated once an hour.
```
You will need to wait at least an hour before attempting this again.
diff --git a/_tutorials-python/power_down.md b/_tutorials-python/power_down.md
index 4b3ab955e50933ef25189896583eb36ec7fdc165..b4826bd8767f12a9af20a43628cb42a265f87706 100644
--- a/_tutorials-python/power_down.md
+++ b/_tutorials-python/power_down.md
@@ -10,11 +10,11 @@ canonical_url: power_down.html
-In this tutorial we will explain and show you how to power down some or all of your available vesting shares (STEEM POWER) on the **Steem** blockchain using the `commit` class found within the [steem-python](https://github.com/steemit/steem-python) library.
+In this tutorial we will explain and show you how to power down some or all of your available vesting shares (HIVE POWER) on the **Hive** blockchain using the `commit` class found within the [steem-python](https://github.com/steemit/steem-python) library.
## Intro
-The Steem python library has a built-in function to transmit transactions to the blockchain. We are using the `withdraw_vesting` method found within the `commit` class in the library. When you power down, the converted VESTS (STEEM POWER) will not be available as STEEM immediately. It is converted in 13 equal parts and transferred into your STEEM wallet weekly, the first portion only being available a week after the power down was initiated. Before we do the conversion, we check the current balance of the account to check how much STEEM POWER is available. This is not strictly necessary as the process will automatically abort with the corresponding error, but it does give some insight into the process as a whole. We use the `get_account` function to check for this. The `withdraw_vesting` method has 2 parameters:
+The Hive python library has a built-in function to transmit transactions to the blockchain. We are using the `withdraw_vesting` method found within the `commit` class in the library. When you power down, the converted VESTS (HIVE POWER) will not be available as HIVE immediately. It is converted in 13 equal parts and transferred into your HIVE wallet weekly, the first portion only being available a week after the power down was initiated. Before we do the conversion, we check the current balance of the account to check how much HIVE POWER is available. This is not strictly necessary as the process will automatically abort with the corresponding error, but it does give some insight into the process as a whole. We use the `get_account` function to check for this. The `withdraw_vesting` method has 2 parameters:
1. _amount_ - The amount of VESTS that will be withdrawn. This must be of the `float` data type
1. _account_ - The specified user account for the transfer
@@ -22,7 +22,7 @@ The Steem python library has a built-in function to transmit transactions to the
## Steps
1. [**App setup**](#setup) - Library install and import. Connection to testnet
-1. [**User information and steem node**](#userinfo) - Input user information and connection to Steem node
+1. [**User information and steem node**](#userinfo) - Input user information and connection to Hive node
1. [**Check balance**](#balance) - Check current vesting balance of user account
1. [**Conversion amount and commit**](#convert) - Input of VESTS amount to convert and commit to blockchain
@@ -41,9 +41,9 @@ import steem
from pick import pick
from steem.amount import Amount
-steembase.chains.known_chains['STEEM'] = {
+steembase.chains.known_chains['HIVE'] = {
'chain_id': '79276aea5d4877d9a25892eaa01b0adf019d3e5cb12a97478df3298ccdd01673',
- 'prefix': 'STX', 'steem_symbol': 'STEEM', 'sbd_symbol': 'SBD', 'vests_symbol': 'VESTS'
+ 'prefix': 'STX', 'hive_symbol': 'HIVE', 'hbd_symbol': 'HBD', 'vests_symbol': 'VESTS'
}
```
@@ -59,7 +59,7 @@ username = input('Enter username: ') #demo account: cdemo
wif = input('Enter private ACTIVE key: ') #demo account: 5KaNM84WWSqzwKzY82fXPaUW43idbLnPqf5SfjGxLfw6eV2kAP3
#connect node and private active key
-client = steem.Steem(nodes=['https://testnet.steem.vc'], keys=[wif])
+client = steem.Hive(nodes=['https://testnet.steem.vc'], keys=[wif])
```
#### 3. Check balance
diff --git a/_tutorials-python/power_up_steem.md b/_tutorials-python/power_up_steem.md
index 911ea99dbfbdae6c2b32081855a6ac26902c48d3..7e1e355e7b8c2afa633ef557a6691fa7ca94542a 100644
--- a/_tutorials-python/power_up_steem.md
+++ b/_tutorials-python/power_up_steem.md
@@ -1,29 +1,29 @@
---
-title: 'PY: Power Up Steem'
+title: 'PY: Power Up Hive'
position: 24
-description: "How to power up your STEEM to STEEM POWER using Python."
+description: "How to power up your HIVE to HIVE POWER using Python."
layout: full
-canonical_url: power_up_steem.html
+canonical_url: power_up_hive.html
---
-Full, runnable src of [Power Up Steem](https://gitlab.syncad.com/hive/devportal/-/tree/master/tutorials/python/tutorials/24_power_up_steem) can be downloaded as part of: [tutorials/python](https://gitlab.syncad.com/hive/devportal/-/tree/master/tutorials/python).
+Full, runnable src of [Power Up Hive](https://gitlab.syncad.com/hive/devportal/-/tree/master/tutorials/python/tutorials/24_power_up_hive) can be downloaded as part of: [tutorials/python](https://gitlab.syncad.com/hive/devportal/-/tree/master/tutorials/python).
-In this tutorial we show you how to check the STEEM balance of an account on the **Steem** blockchain and how to power up your STEEM into STEEM POWER using the `commit` class found within the [steem-python](https://github.com/steemit/steem-python) library.
+In this tutorial we show you how to check the HIVE balance of an account on the **Hive** blockchain and how to power up your HIVE into HIVE POWER using the `commit` class found within the [steem-python](https://github.com/steemit/steem-python) library.
## Intro
-The Steem python library has a built-in function to transmit transactions to the blockchain. We are using the `transfer_to_vesting` method found within the `commit` class in the library. When you power up you convert your STEEM into STEEM POWER to increase your influence on Steemit. Before we do the conversion, we use the `get_account` function to check the current STEEM balance of the account to see what is available to power up. This is not strictly necessary but adds to the useability of the process. The `transfer_to_vesting` method has 3 parameters:
+The Hive python library has a built-in function to transmit transactions to the blockchain. We are using the `transfer_to_vesting` method found within the `commit` class in the library. When you power up you convert your HIVE into HIVE POWER to increase your influence on Hive. Before we do the conversion, we use the `get_account` function to check the current HIVE balance of the account to see what is available to power up. This is not strictly necessary but adds to the useability of the process. The `transfer_to_vesting` method has 3 parameters:
-1. _amount_ - The amount of STEEM to power up. This must be of the `float` data type
-1. _to_ - The account to where the STEEM will be powered up
+1. _amount_ - The amount of HIVE to power up. This must be of the `float` data type
+1. _to_ - The account to where the HIVE will be powered up
1. _account_ - The source user account for the transfer
## Steps
1. [**App setup**](#setup) - Library install and import. Connection to testnet
-1. [**User information and steem node**](#userinfo) - Input user information and connection to Steem node
+1. [**User information and steem node**](#userinfo) - Input user information and connection to Hive node
1. [**Check balance**](#balance) - Check current vesting balance of user account
1. [**Conversion amount**](#convert) - Input power up amount and check valid transfer
1. [**Commit to blockchain**](#commit) - Commit transaction to blockchain
@@ -43,9 +43,9 @@ import steem
from steem.amount import Amount
from pick import pick
-steembase.chains.known_chains['STEEM'] = {
+steembase.chains.known_chains['HIVE'] = {
'chain_id': '79276aea5d4877d9a25892eaa01b0adf019d3e5cb12a97478df3298ccdd01673',
- 'prefix': 'STX', 'steem_symbol': 'STEEM', 'sbd_symbol': 'SBD', 'vests_symbol': 'VESTS'
+ 'prefix': 'STX', 'hive_symbol': 'HIVE', 'hbd_symbol': 'HBD', 'vests_symbol': 'VESTS'
}
```
@@ -61,7 +61,7 @@ username = input('Enter username: ') #demo account: cdemo
wif = input('Enter private ACTIVE key: ') #demo account: 5KaNM84WWSqzwKzY82fXPaUW43idbLnPqf5SfjGxLfw6eV2kAP3
#connect node and private active key
-client = steem.Steem(nodes=['https://testnet.steem.vc'], keys=[wif])
+client = steem.Hive(nodes=['https://testnet.steem.vc'], keys=[wif])
```
#### 3. Check balance
@@ -76,7 +76,7 @@ if(userinfo is None) :
exit()
balance = userinfo['balance']
-print('Available STEEM balance: ' + balance + '\n')
+print('Available HIVE balance: ' + balance + '\n')
input('Press any key to continue')
```
@@ -85,7 +85,7 @@ The results of the query are displayed in the console/terminal.
#### 4. Conversion amount
-Both the `amount` and the `to` parameters are assigned via input from the terminal/console. The user is given the option to power up the STEEM to their own account or to another user's account. The amount has to be greater than zero and no more than the total available STEEM of the user. If you are using one of Steemit's demo accounts, please leave some STEEM for others to power up! We also check the `to account` to make sure it's a valid account name.
+Both the `amount` and the `to` parameters are assigned via input from the terminal/console. The user is given the option to power up the HIVE to their own account or to another user's account. The amount has to be greater than zero and no more than the total available HIVE of the user. If you are using one of Hive's demo accounts, please leave some HIVE for others to power up! We also check the `to account` to make sure it's a valid account name.
```python
#choice of account
@@ -95,18 +95,18 @@ option, index = pick(options, title)
if (option == 'OTHER') :
#account to power up to
- to_account = input('Please enter the ACCOUNT to where the STEEM will be transferred: ')
+ to_account = input('Please enter the ACCOUNT to where the HIVE will be transferred: ')
#check valid username
result = client.get_account(to_account)
if (not result) :
print(to_account + ' doesn\'t exist on this chain!')
exit()
else :
- print('\n' + 'Power up STEEM to own account' + '\n')
+ print('\n' + 'Power up HIVE to own account' + '\n')
to_account = username
#amount to power up
-amount = float(input('Please enter the amount of STEEM to power up: '))
+amount = float(input('Please enter the amount of HIVE to power up: '))
```
#### 5. Commit to blockchain
@@ -116,7 +116,7 @@ Now that all the parameters have been assigned we can continue with the actual t
```python
#parameters: amount, to, account
if (amount == 0) :
- print('\n' + 'No STEEM entered for powering up')
+ print('\n' + 'No HIVE entered for powering up')
exit()
else :
if (amount > Amount(balance).amount) :
@@ -124,18 +124,18 @@ else :
exit()
else :
client.transfer_to_vesting(amount, to_account, username)
- print('\n' + str(amount) + ' STEEM has been powered up successfully')
+ print('\n' + str(amount) + ' HIVE has been powered up successfully')
```
The result of the power up transfer is displayed on the console/terminal.
-As an added check we also display the new STEEM balance of the user on the terminal/console
+As an added check we also display the new HIVE balance of the user on the terminal/console
```python
#get new account balance
userinfo = client.get_account(username)
balance = userinfo['balance']
-print('New STEEM balance: ' + balance)
+print('New HIVE balance: ' + balance)
```
We encourage users to play around with different values and data types to fully understand how this process works. You can also check the balances and transaction history on the [testnet portal](http://condenser.steem.vc/).
@@ -144,7 +144,7 @@ We encourage users to play around with different values and data types to fully
1. [review dev requirements](getting_started.html)
1. `git clone https://gitlab.syncad.com/hive/devportal.git`
-1. `cd devportal/tutorials/python/24_power_up_steem`
+1. `cd devportal/tutorials/python/24_power_up_hive`
1. `pip install -r requirements.txt`
1. `python index.py`
1. After a few moments, you should see a prompt for input in terminal screen.
diff --git a/_tutorials-python/reblogging_post.md b/_tutorials-python/reblogging_post.md
index fb603cf5d63c515e584aede0700e8eb4b6e22552..3dbad0b897d8ba299b290da2f379912473b5fb9a 100644
--- a/_tutorials-python/reblogging_post.md
+++ b/_tutorials-python/reblogging_post.md
@@ -10,11 +10,11 @@ canonical_url: reblogging_post.html
-Tutorial will also explain and show you how to sign/broadcast transaction on **Steem** blockchain using the [steem-python](https://github.com/steemit/steem-python) library.
+Tutorial will also explain and show you how to sign/broadcast transaction on **Hive** blockchain using the [steem-python](https://github.com/steemit/steem-python) library.
## Intro
-Steem python library has built-in function to commit transaction and broadcast it to the network.
+Hive python library has built-in function to commit transaction and broadcast it to the network.
## Steps
@@ -26,15 +26,15 @@ Steem python library has built-in function to commit transaction and broadcast i
In this tutorial we use 3 packages, `pick` - helps us to select filter interactively. `steem` - steem-python library, interaction with Blockchain. `pprint` - print results in better format.
-First we import all three library and initialize Steem class
+First we import all three library and initialize Hive class
```python
import pprint
from pick import pick
- # initialize Steem class
- from steem import Steem
+ # initialize Hive class
+ from steem import Hive
- s = Steem()
+ s = Hive()
```
#### 2. Post list
@@ -73,7 +73,7 @@ Next in order to sign transaction, application asks for username and posting pri
wif = input("Enter your Posting private key? ")
# commit or build transaction
- c = Commit(steem=Steem(keys=[wif]))
+ c = Commit(steem=Hive(keys=[wif]))
# broadcast transaction
c.resteem(option, account=account)
diff --git a/_tutorials-python/search_accounts.md b/_tutorials-python/search_accounts.md
index 056b903fa279c5cb8e0ffce8e3d9a5585f9f23d0..eac5ebb815922aa2fc8c9a9219fbfb5b7fe643bb 100644
--- a/_tutorials-python/search_accounts.md
+++ b/_tutorials-python/search_accounts.md
@@ -10,18 +10,18 @@ canonical_url: search_accounts.html
-This tutorial will explain and show you how to access the **Steem** blockchain using the [steem-python](https://github.com/steemit/steem-python) library to fetch a list of active authors or trending tags, starting the search from a specified value, and displaying the results on the console.
+This tutorial will explain and show you how to access the **Hive** blockchain using the [steem-python](https://github.com/steemit/steem-python) library to fetch a list of active authors or trending tags, starting the search from a specified value, and displaying the results on the console.
## Intro
-We are using the `lookup_accounts` and `get_trending_tags` functions that are built-in in the official library `steem-python`. These functions allow us to query the Steem blockchain in order to retrieve either a list of active authors or a list of trending tags. The option is available to either get a complete list starting from the first value on the blockchain or starting the list from any other closest match string value as provided by the user. Both of these functions have only two parameters:
+We are using the `lookup_accounts` and `get_trending_tags` functions that are built-in in the official library `steem-python`. These functions allow us to query the Hive blockchain in order to retrieve either a list of active authors or a list of trending tags. The option is available to either get a complete list starting from the first value on the blockchain or starting the list from any other closest match string value as provided by the user. Both of these functions have only two parameters:
1. _account/aftertag_ - The string value from where to start the search. If this value is left empty the search will start from the first value available
1. _limit_ - The maximum number of names/tags that the query retrieves
## Steps
-1. [**App setup**](#setup) - Library import and Steem class initialisation
+1. [**App setup**](#setup) - Library import and Hive class initialisation
1. [**List selection**](#list) - Selection of the type of list
1. [**Get and display account names**](#accounts) - Get a list of account names from the blockchain
1. [**Get and display trending tags**](#tags) - Get a list of trending tags from the blockchain
@@ -30,14 +30,14 @@ We are using the `lookup_accounts` and `get_trending_tags` functions that are bu
In this tutorial we use 2 packages, `pick` - helps us to select the query type interactively. `steem` - steem-python library for interaction with the Blockchain.
-First we import both libraries and initialize Steem class
+First we import both libraries and initialize Hive class
```python
-from steem import Steem
+from steem import Hive
from pick import pick
-s = Steem()
+s = Hive()
```
#### 2. List selection
diff --git a/_tutorials-python/stream_blockchain_transactions.md b/_tutorials-python/stream_blockchain_transactions.md
index f07560d426179b83a6176f9f3160650c8303740b..af07aa0e8521d59dfb7134091b2d09bd0b9d27df 100644
--- a/_tutorials-python/stream_blockchain_transactions.md
+++ b/_tutorials-python/stream_blockchain_transactions.md
@@ -1,7 +1,7 @@
---
title: 'PY: Stream Blockchain Transactions'
position: 13
-description: "How to stream transactions on the live **Steem** blockchain"
+description: "How to stream transactions on the live **Hive** blockchain"
layout: full
canonical_url: stream_blockchain_transactions.html
---
@@ -10,11 +10,11 @@ canonical_url: stream_blockchain_transactions.html
-In this tutorial we show you how to stream transactions on the **Steem** blockchain using the `blockchain` class found within the [steem-python](https://github.com/steemit/steem-python) library.
+In this tutorial we show you how to stream transactions on the **Hive** blockchain using the `blockchain` class found within the [steem-python](https://github.com/steemit/steem-python) library.
## Intro
-Tutorial is demonstrating the typical process of streaming blocks on Steem. We will show some information from each block that is being streamed to give you an idea. Each block contains transactions objects as well but we will not show each of this data in user interface.
+Tutorial is demonstrating the typical process of streaming blocks on Hive. We will show some information from each block that is being streamed to give you an idea. Each block contains transactions objects as well but we will not show each of this data in user interface.
We are using the `blockchain.stream()` function provided by `steem-python` which returns each block after it has been accepted by witnesses. By default it follows irreversible blocks which was accepted by all witnesses.
diff --git a/_tutorials-python/submit_comment_reply.md b/_tutorials-python/submit_comment_reply.md
index 7022210eec740fb2cc722ec5c53ff24b249b9552..65f384e5ed0e07ababcb9310490b2f88d8b01126 100644
--- a/_tutorials-python/submit_comment_reply.md
+++ b/_tutorials-python/submit_comment_reply.md
@@ -1,7 +1,7 @@
---
title: 'PY: Submit Comment Reply'
position: 11
-description: "How to submit a comment on a post to the Steem blockchain."
+description: "How to submit a comment on a post to the Hive blockchain."
layout: full
canonical_url: submit_comment_reply.html
---
@@ -10,11 +10,11 @@ canonical_url: submit_comment_reply.html
-This tutorial will explain and show you how to submit a new comment to the `Steem` blockchain using the `commit` class found within the [steem-python](https://github.com/steemit/steem-python) library.
+This tutorial will explain and show you how to submit a new comment to the `Hive` blockchain using the `commit` class found within the [steem-python](https://github.com/steemit/steem-python) library.
## Intro
-The Steem python library has a built-in function to transmit transactions to the blockchain. We are using the `post` method found within the `commit` class in the the library. It should be noted that comments and post are both treated as a `commit.post` operation with the only difference being that a comment/reply has an additional parameter containing the `parent post/comment`. There are 11 parameters within the `post` method:
+The Hive python library has a built-in function to transmit transactions to the blockchain. We are using the `post` method found within the `commit` class in the the library. It should be noted that comments and post are both treated as a `commit.post` operation with the only difference being that a comment/reply has an additional parameter containing the `parent post/comment`. There are 11 parameters within the `post` method:
1. _title_ - The title of the post. This is a required parameter but comments don't have a title so the parameter is assigned an empty string value
1. _body_ - The body of the post
@@ -34,7 +34,7 @@ A comment made on a post is defined as a `root comment`. You can also comment on
## Steps
-1. [**App setup**](#setup) - Library install and import. Connection to Steem node
+1. [**App setup**](#setup) - Library install and import. Connection to Hive node
1. [**Variable input and format**](#input) - Input and creation of varialbes
1. [**Initialize steem class**](#steem) - Initialize the steem class with the relevant node and private key
1. [**Post submission and result**](#submit) - Committing of transaction to the blockchain
@@ -55,9 +55,9 @@ import string
import steembase
import steem
-steembase.chains.known_chains['STEEM'] = {
+steembase.chains.known_chains['HIVE'] = {
'chain_id': '79276aea5d4877d9a25892eaa01b0adf019d3e5cb12a97478df3298ccdd01673',
- 'prefix': 'STX', 'steem_symbol': 'STEEM', 'sbd_symbol': 'SBD', 'vests_symbol': 'VESTS'
+ 'prefix': 'STX', 'hive_symbol': 'HIVE', 'hbd_symbol': 'HBD', 'vests_symbol': 'VESTS'
}
```
@@ -94,7 +94,7 @@ We initialize the steem class by connecting to the specific `testnet` node. We a
```python
#connect node and private posting key
-client = steem.Steem(nodes=['https://testnet.steem.vc'], keys=[wif])
+client = steem.Hive(nodes=['https://testnet.steem.vc'], keys=[wif])
```
#### 4. Post submission and result
diff --git a/_tutorials-python/submit_post.md b/_tutorials-python/submit_post.md
index c1dce07481c3349fe58873cea27def3b7acc799e..2f03056a4206b6f6d190382913cd88e9bbb88dc7 100644
--- a/_tutorials-python/submit_post.md
+++ b/_tutorials-python/submit_post.md
@@ -1,7 +1,7 @@
---
title: 'PY: Submit Post'
position: 10
-description: "How to submit post on Steem blockchain using Python."
+description: "How to submit post on Hive blockchain using Python."
layout: full
canonical_url: submit_post.html
---
@@ -10,11 +10,11 @@ canonical_url: submit_post.html
-In this tutorial will explain and show you how to submit a new post to the `Steem` blockchain using the `commit` class found within the [steem-python](https://github.com/steemit/steem-python) library.
+In this tutorial will explain and show you how to submit a new post to the `Hive` blockchain using the `commit` class found within the [steem-python](https://github.com/steemit/steem-python) library.
## Intro
-The Steem python library has a built-in function to transmit transactions to the blockchain. We are using the `post` method found within the `commit` class in the the library. It should be noted that comments and new post are both treated as `commit.post` operation with the only difference being that a comment/reply has got an additional parameter containing the `parent post/comment`. There are 11 parameters within the `post` method:
+The Hive python library has a built-in function to transmit transactions to the blockchain. We are using the `post` method found within the `commit` class in the the library. It should be noted that comments and new post are both treated as `commit.post` operation with the only difference being that a comment/reply has got an additional parameter containing the `parent post/comment`. There are 11 parameters within the `post` method:
1. _title_ - The title of the post
2. _body_ - The body of the post
@@ -32,7 +32,7 @@ We will only be using the first 5 parameters as these are the only ones required
## Steps
-1. [**App setup**](#setup) - Library install and import. Connection to Steem node
+1. [**App setup**](#setup) - Library install and import. Connection to Hive node
2. [**Variable input and format**](#input) - Input and creation of varialbes
3. [**Post submission and result**](#submit) - Committing of transaction to the blockchain
@@ -44,7 +44,7 @@ In this tutorial we use 4 packages:
- `steem` - steem-python library and interaction with Blockchain
- `steembase` - used to connect to the testnet
-We import the libraries, connect to the `testnet` and initialize the Steem class.
+We import the libraries, connect to the `testnet` and initialize the Hive class.
```python
import random
@@ -52,13 +52,13 @@ import string
import steembase
import steem
-steembase.chains.known_chains['STEEM'] = {
+steembase.chains.known_chains['HIVE'] = {
'chain_id': '79276aea5d4877d9a25892eaa01b0adf019d3e5cb12a97478df3298ccdd01673',
- 'prefix': 'STX', 'steem_symbol': 'STEEM', 'sbd_symbol': 'SBD', 'vests_symbol': 'VESTS'
+ 'prefix': 'STX', 'hive_symbol': 'HIVE', 'hbd_symbol': 'HBD', 'vests_symbol': 'VESTS'
}
#connect node and private posting key
-client = steem.Steem(nodes=['https://testnet.steem.vc'], keys=['5JEZ1EiUjFKfsKP32b15Y7jybjvHQPhnvCYZ9BW62H1LDUnMvHz'])
+client = steem.Hive(nodes=['https://testnet.steem.vc'], keys=['5JEZ1EiUjFKfsKP32b15Y7jybjvHQPhnvCYZ9BW62H1LDUnMvHz'])
```
Because this tutorial alters the blockchain we have to connect to the testnet. We also require the `private posting key` of the contributing author in order to commit the post which is why it is specified along with the `testnet` node. We have supplied a test account, `cdemo` to use with this tutorial.
diff --git a/_tutorials-python/transfer_STEEM_and_SBD.md b/_tutorials-python/transfer_STEEM_and_SBD.md
index e2da501beb42f436303d3a303791246afc384107..81e1e44379ea75380392df29b29eaa687de77a6c 100644
--- a/_tutorials-python/transfer_STEEM_and_SBD.md
+++ b/_tutorials-python/transfer_STEEM_and_SBD.md
@@ -1,32 +1,32 @@
---
-title: 'PY: Transfer Steem And Sbd'
+title: 'PY: Transfer Hive And Hbd'
position: 21
-description: "How to transfer STEEM and SBD to another account using Python."
+description: "How to transfer HIVE and HBD to another account using Python."
layout: full
-canonical_url: transfer_steem_and_sbd.html
+canonical_url: transfer_hive_and_hbd.html
---
-Full, runnable src of [Transfer Steem And Sbd](https://gitlab.syncad.com/hive/devportal/-/tree/master/tutorials/python/tutorials/21_transfer_steem_and_sbd) can be downloaded as part of: [tutorials/python](https://gitlab.syncad.com/hive/devportal/-/tree/master/tutorials/python).
+Full, runnable src of [Transfer Hive And Hbd](https://gitlab.syncad.com/hive/devportal/-/tree/master/tutorials/python/tutorials/21_transfer_hive_and_hbd) can be downloaded as part of: [tutorials/python](https://gitlab.syncad.com/hive/devportal/-/tree/master/tutorials/python).
-In this tutorial we will explain and show you how to to check the STEEM and SBD balance of an account and also how to transfer a portion of that to another user on the **Steem** blockchain using the `commit` class found within the [steem-python](https://github.com/steemit/steem-python) library.
+In this tutorial we will explain and show you how to to check the HIVE and HBD balance of an account and also how to transfer a portion of that to another user on the **Hive** blockchain using the `commit` class found within the [steem-python](https://github.com/steemit/steem-python) library.
## Intro
-The Steem python library has a built-in function to transmit transactions to the blockchain. We are using the `transfer` method found within the `commit` class in the library. Before we do the transfer, we check the current balance of the account to ensure that there are sufficient funds available. We also check if the intended recipient of the transfer is a valid user account. This is not strictly necessary as the process will automatically abort with the corresponding error, but it does give some insight into the process as a whole. We use the `get_account` function to check for this. The `transfer` method has 5 parameters:
+The Hive python library has a built-in function to transmit transactions to the blockchain. We are using the `transfer` method found within the `commit` class in the library. Before we do the transfer, we check the current balance of the account to ensure that there are sufficient funds available. We also check if the intended recipient of the transfer is a valid user account. This is not strictly necessary as the process will automatically abort with the corresponding error, but it does give some insight into the process as a whole. We use the `get_account` function to check for this. The `transfer` method has 5 parameters:
1. _to_ - The intended recipient of the funds transfer
-1. _amount_ - The amount of STEEM or SBD that the user wants to transfer. This parameter has to be of the `float` data type and is rounded up to 3 decimal spaces
-1. _asset_ - A string value specifying whether `STEEM` or `SBD` is being transferred
+1. _amount_ - The amount of HIVE or HBD that the user wants to transfer. This parameter has to be of the `float` data type and is rounded up to 3 decimal spaces
+1. _asset_ - A string value specifying whether `HIVE` or `HBD` is being transferred
1. _memo_ - An optional text field containing comments on the transfer. This value may begin with '#' for encrypted messaging
1. _account_ - The account that the funds are being transferred from
## Steps
1. [**App setup**](#setup) - Library install and import. Connection to testnet
-1. [**User information and steem node**](#userinfo) - Input user information and connection to Steem node
-1. [**Check balance**](#balance) - Check current STEEM and SBD balance of user account
+1. [**User information and steem node**](#userinfo) - Input user information and connection to Hive node
+1. [**Check balance**](#balance) - Check current HIVE and HBD balance of user account
1. [**Recipient input**](#recipient) - Check for valid recipient account name
1. [**Transfer type and amount**](#amount) - Input of transfer type and the amount to transfer
1. [**Transfer commit**](#commit) - Commit of transfer to blockchain
@@ -45,9 +45,9 @@ import steembase
import steem
from pick import pick
-steembase.chains.known_chains['STEEM'] = {
+steembase.chains.known_chains['HIVE'] = {
'chain_id': '79276aea5d4877d9a25892eaa01b0adf019d3e5cb12a97478df3298ccdd01673',
- 'prefix': 'STX', 'steem_symbol': 'STEEM', 'sbd_symbol': 'SBD', 'vests_symbol': 'VESTS'
+ 'prefix': 'STX', 'hive_symbol': 'HIVE', 'hbd_symbol': 'HBD', 'vests_symbol': 'VESTS'
}
```
@@ -63,7 +63,7 @@ username = input('Enter username: ') #demo account: cdemo
wif = input('Enter private ACTIVE key: ') #demo account: 5KaNM84WWSqzwKzY82fXPaUW43idbLnPqf5SfjGxLfw6eV2kAP3
#connect node and private active key
-client = steem.Steem(nodes=['https://testnet.steem.vc'], keys=[wif])
+client = steem.Hive(nodes=['https://testnet.steem.vc'], keys=[wif])
```
#### 3. Check balance
@@ -71,12 +71,12 @@ client = steem.Steem(nodes=['https://testnet.steem.vc'], keys=[wif])
In order to give the user enough information to make the transfer we check the current balance of the account using the `get_account` function.
```python
-#get account balance for STEEM and SBD
+#get account balance for HIVE and HBD
userinfo = client.get_account(username)
-total_steem = userinfo['balance']
-total_sbd = userinfo['sbd_balance']
+total_hive = userinfo['balance']
+total_hbd = userinfo['hbd_balance']
-print('CURRENT ACCOUNT BALANCE:' + '\n' + total_steem + '\n' + total_sbd + '\n')
+print('CURRENT ACCOUNT BALANCE:' + '\n' + total_hive + '\n' + total_hbd + '\n')
```
The result of the query is displayed in the console/terminal.
@@ -103,7 +103,7 @@ If the query in the previous step returns a valid result the user is then given
if result:
#choice of transfer
title = 'Please choose transfer type: '
- options = ['STEEM', 'SBD', 'Cancel Transfer']
+ options = ['HIVE', 'HBD', 'Cancel Transfer']
# get index and selected transfer type
option, index = pick(options, title)
else:
@@ -118,14 +118,14 @@ if option == 'Cancel Transfer':
print('Transaction cancelled')
exit()
else:
- if option == 'STEEM':
- #get STEEM transfer amount
- amount = input('Enter amount of STEEM to transfer to ' + recipient + ': ')
- asset = 'STEEM'
+ if option == 'HIVE':
+ #get HIVE transfer amount
+ amount = input('Enter amount of HIVE to transfer to ' + recipient + ': ')
+ asset = 'HIVE'
else:
- #get SBD transfer amount
- amount = input('Enter amount of SBD to transfer to ' + recipient + ': ')
- asset = 'SBD'
+ #get HBD transfer amount
+ amount = input('Enter amount of HBD to transfer to ' + recipient + ': ')
+ asset = 'HBD'
```
#### 6. Transfer commit
@@ -142,12 +142,12 @@ The `memo` parameter can be left empty as in the above example. A simple confirm
As an added confirmation we check the balance of the user again and display it on the UI. This is not required at all but it serves as a more definitive confirmation that the transfer has been completed correctly.
```python
-#get remaining account balance for STEEM and SBD
+#get remaining account balance for HIVE and HBD
userinfo = client.get_account(username)
-total_steem = userinfo['balance']
-total_sbd = userinfo['sbd_balance']
+total_hive = userinfo['balance']
+total_hbd = userinfo['hbd_balance']
-print('\n' + 'REMAINING ACCOUNT BALANCE:' + '\n' + total_steem + '\n' + total_sbd + '\n')
+print('\n' + 'REMAINING ACCOUNT BALANCE:' + '\n' + total_hive + '\n' + total_hbd + '\n')
```
We encourage users to play around with different values and data types to fully understand how this process works. You can also check the balances and transaction history on the [testnet portal](http://condenser.steem.vc/).
@@ -156,7 +156,7 @@ We encourage users to play around with different values and data types to fully
1. [review dev requirements](getting_started.html)
1. `git clone https://gitlab.syncad.com/hive/devportal.git`
-1. `cd devportal/tutorials/python/21_transfer_steem_and_sbd`
+1. `cd devportal/tutorials/python/21_transfer_hive_and_hbd`
1. `pip install -r requirements.txt`
1. `python index.py`
1. After a few moments, you should see a prompt for input in terminal screen.
diff --git a/_tutorials-python/transfer_steem_and_sbd_to_savings_balance.md b/_tutorials-python/transfer_steem_and_sbd_to_savings_balance.md
index fe6a12e0c23f7f24ec259c6e29069b07f2a4294d..471e406b4fb0d1ca2990cfb3bebe1598bf84111e 100644
--- a/_tutorials-python/transfer_steem_and_sbd_to_savings_balance.md
+++ b/_tutorials-python/transfer_steem_and_sbd_to_savings_balance.md
@@ -1,37 +1,37 @@
---
-title: 'PY: Transfer Steem And Sbd To Savings Balance'
+title: 'PY: Transfer Hive And Hbd To Savings Balance'
position: 33
-description: "How to transfer STEEM and SBD to savings using Python."
+description: "How to transfer HIVE and HBD to savings using Python."
layout: full
-canonical_url: transfer_steem_and_sbd_to_savings_balance.html
+canonical_url: transfer_hive_and_hbd_to_savings_balance.html
---
-Full, runnable src of [Transfer Steem And Sbd To Savings Balance](https://gitlab.syncad.com/hive/devportal/-/tree/master/tutorials/python/tutorials/33_transfer_steem_and_sbd_to_savings_balance) can be downloaded as part of: [tutorials/python](https://gitlab.syncad.com/hive/devportal/-/tree/master/tutorials/python).
+Full, runnable src of [Transfer Hive And Hbd To Savings Balance](https://gitlab.syncad.com/hive/devportal/-/tree/master/tutorials/python/tutorials/33_transfer_hive_and_hbd_to_savings_balance) can be downloaded as part of: [tutorials/python](https://gitlab.syncad.com/hive/devportal/-/tree/master/tutorials/python).
-In this tutorial we show you how to check the STEEM and SBD balance of an account on the **Steem** blockchain and also how to transfer a portion or all of that to a "savings" account using the `commit` class found within the [steem-python](https://github.com/steemit/steem-python) library.
+In this tutorial we show you how to check the HIVE and HBD balance of an account on the **Hive** blockchain and also how to transfer a portion or all of that to a "savings" account using the `commit` class found within the [steem-python](https://github.com/steemit/steem-python) library.
-It should be noted that when funds are being withdrawn from the savings account it takes 3 days for those funds to reflect in the available STEEM/SBD balance. The withdrawal can be cancelled at any point during this waiting period. This measure was put in place to reduce the risk of funds being stolen when accounts are hacked as it gives sufficient time to recover your account before your funds are transferred out. Storing your funds in your savings account is thus more secure than having them as available balances.
+It should be noted that when funds are being withdrawn from the savings account it takes 3 days for those funds to reflect in the available HIVE/HBD balance. The withdrawal can be cancelled at any point during this waiting period. This measure was put in place to reduce the risk of funds being stolen when accounts are hacked as it gives sufficient time to recover your account before your funds are transferred out. Storing your funds in your savings account is thus more secure than having them as available balances.
-Steemconnect offers an alternative to transferring STEEM and SBD with a "simple link" solution. Instead of running through a list of operations on your account, you can simply use a link similar to the one below substituting the four parameters with your own details. You will be prompted to enter your username and password before the transaction will be executed.
-https://steemconnect.com/sign/transfer-to-savings?from=username&to=username&amount=0.000%20STEEM&memo=text
+Hiveconnect offers an alternative to transferring HIVE and HBD with a "simple link" solution. Instead of running through a list of operations on your account, you can simply use a link similar to the one below substituting the four parameters with your own details. You will be prompted to enter your username and password before the transaction will be executed.
+https://steemconnect.com/sign/transfer-to-savings?from=username&to=username&amount=0.000%20HIVE&memo=text
This is similar to the steemconnect links that have been covered in previous tutorials. For a list of signing operations that work in this manner you can go to https://v2.steemconnect.com/sign. There is also a steemconnect link for withdrawing funds.
## Intro
-The Steem python library has a built-in function to transmit transactions to the blockchain. We are using the `transfer_to_savings` and `transfer_from_savings` methods found within the `commit` class in the library. Before we do the transfer, we use the `get_account` function to check the current STEEM and SBD balance of the account to see what funds are available to transfer or withdraw. This is not strictly necessary but adds to the useability of the process. The `transfer_to_savings` method has 5 parameters:
+The Hive python library has a built-in function to transmit transactions to the blockchain. We are using the `transfer_to_savings` and `transfer_from_savings` methods found within the `commit` class in the library. Before we do the transfer, we use the `get_account` function to check the current HIVE and HBD balance of the account to see what funds are available to transfer or withdraw. This is not strictly necessary but adds to the useability of the process. The `transfer_to_savings` method has 5 parameters:
-1. _amount_ - The amount of STEEM or SBD that the user wants to transfer. This parameter has to be of the `float` data type and is rounded up to 3 decimal spaces
-1. _asset_ - A string value specifying whether `STEEM` or `SBD` is being transferred
+1. _amount_ - The amount of HIVE or HBD that the user wants to transfer. This parameter has to be of the `float` data type and is rounded up to 3 decimal spaces
+1. _asset_ - A string value specifying whether `HIVE` or `HBD` is being transferred
1. _memo_ - An optional text field containing comments on the transfer
1. _to_ - The recipient savings account name. Funds can be transferred to any other users' savings balance
1. _account_ - The source account for the transfer
and `transfer_from_savings` has 6 parameters:
-1. _amount_ - The amount of STEEM or SBD that the user wants to withdraw. This parameter has to be of the `float` data type and is rounded up to 3 decimal spaces
-1. _asset_ - A string value specifying whether `STEEM` or `SBD` is being withdrawn
+1. _amount_ - The amount of HIVE or HBD that the user wants to withdraw. This parameter has to be of the `float` data type and is rounded up to 3 decimal spaces
+1. _asset_ - A string value specifying whether `HIVE` or `HBD` is being withdrawn
1. _memo_ - An optional text field containing comments on the withdrawal
1. _request id_ - Integer identifier for tracking the withdrawal. This needs to be a unique number for a specified user
1. _to_ - The recipient account name. Funds can be withdrawn to any other users' available balance
@@ -40,8 +40,8 @@ and `transfer_from_savings` has 6 parameters:
## Steps
1. [**App setup**](#setup) - Library install and import. Connection to testnet
-1. [**User information and steem node**](#userinfo) - Input user information and connection to Steem node
-1. [**Check balance**](#balance) - Check current STEEM and SBD balance of user account
+1. [**User information and steem node**](#userinfo) - Input user information and connection to Hive node
+1. [**Check balance**](#balance) - Check current HIVE and HBD balance of user account
1. [**Transfer type and amount**](#amount) - Input of transfer type and the amount to transfer
1. [**Transfer commit**](#commit) - Commit of transfer to blockchain
@@ -61,9 +61,9 @@ import steem
from pick import pick
import random
-steembase.chains.known_chains['STEEM'] = {
+steembase.chains.known_chains['HIVE'] = {
'chain_id': '79276aea5d4877d9a25892eaa01b0adf019d3e5cb12a97478df3298ccdd01673',
- 'prefix': 'STX', 'steem_symbol': 'STEEM', 'sbd_symbol': 'SBD', 'vests_symbol': 'VESTS'
+ 'prefix': 'STX', 'hive_symbol': 'HIVE', 'hbd_symbol': 'HBD', 'vests_symbol': 'VESTS'
}
```
@@ -79,7 +79,7 @@ username = input('Enter username: ') #demo account: demo01
wif = input('Enter private ACTIVE key: ') #demo account: 5HxTntgeoLm4trnTz94YBsY6MpAap1qRVXEKsU5n1v2du1gAgVH
#connect node and private active key
-client = steem.Steem(nodes=['https://testnet.steem.vc'], keys=[wif])
+client = steem.Hive(nodes=['https://testnet.steem.vc'], keys=[wif])
```
#### 3. Check balance
@@ -87,19 +87,19 @@ client = steem.Steem(nodes=['https://testnet.steem.vc'], keys=[wif])
In order to give the user enough information to make the transfer we check the current balance of both the available and savings funds of the account using the `get_account` function.
```python
-#check for valid account and get account balance for STEEM and SBD
+#check for valid account and get account balance for HIVE and HBD
userinfo = client.get_account(username)
if(userinfo is None) :
print('Oops. Looks like user ' + username + ' doesn\'t exist on this chain!')
exit()
-total_steem = userinfo['balance']
-total_sbd = userinfo['sbd_balance']
-savings_steem = userinfo['savings_balance']
-savings_sbd = userinfo['savings_sbd_balance']
+total_hive = userinfo['balance']
+total_hbd = userinfo['hbd_balance']
+savings_hive = userinfo['savings_balance']
+savings_hbd = userinfo['savings_hbd_balance']
-print('CURRENT ACCOUNT BALANCE:' + '\n' + total_steem + '\n' + total_sbd + '\n')
-print('CURRENT SAVINGS BALANCE:' + '\n' + savings_steem + '\n' + savings_sbd + '\n')
+print('CURRENT ACCOUNT BALANCE:' + '\n' + total_hive + '\n' + total_hbd + '\n')
+print('CURRENT SAVINGS BALANCE:' + '\n' + savings_hive + '\n' + savings_hbd + '\n')
input('Press enter to continue with the transfer' + '\n')
```
@@ -108,7 +108,7 @@ The result of the query is displayed in the console/terminal.
#### 4. Transfer type and amount
-The user is given a choice on the type of transfer (transfer/withdraw) as well as the currency. The user can also elect to cancel the process entirely. If you are using one of Steemit's demo accounts, please leave some funds for others to transfer! Once the user makes their choice we proceed to assign the `amount` as well as the `asset` parameter.
+The user is given a choice on the type of transfer (transfer/withdraw) as well as the currency. The user can also elect to cancel the process entirely. If you are using one of Hive's demo accounts, please leave some funds for others to transfer! Once the user makes their choice we proceed to assign the `amount` as well as the `asset` parameter.
```python
#choice of transfer/withdrawal
@@ -123,17 +123,17 @@ if transfer_type == 'Cancel':
#choice of currency
title2 = 'Please choose currency: '
-options2 = ['STEEM', 'SBD']
+options2 = ['HIVE', 'HBD']
option, index = pick(options2, title2)
-if option == 'STEEM':
- #get STEEM transfer amount
- amount = input('Enter amount of STEEM to transfer: ')
- asset = 'STEEM'
+if option == 'HIVE':
+ #get HIVE transfer amount
+ amount = input('Enter amount of HIVE to transfer: ')
+ asset = 'HIVE'
else:
- #get SBD transfer amount
- amount = input('Enter amount of SBD to transfer: ')
- asset = 'SBD'
+ #get HBD transfer amount
+ amount = input('Enter amount of HBD to transfer: ')
+ asset = 'HBD'
```
#### 5. Transfer commit
@@ -158,15 +158,15 @@ With a withdrawal, the method requires a unique identifier for the transaction t
As an added confirmation we check the balance of the user again and display it on the UI. This is not required at all but it serves as a more definitive confirmation that the transfer has been completed correctly.
```python
-#get remaining account balance for STEEM and SBD
+#get remaining account balance for HIVE and HBD
userinfo = client.get_account(username)
-total_steem = userinfo['balance']
-total_sbd = userinfo['sbd_balance']
-savings_steem = userinfo['savings_balance']
-savings_sbd = userinfo['savings_sbd_balance']
+total_hive = userinfo['balance']
+total_hbd = userinfo['hbd_balance']
+savings_hive = userinfo['savings_balance']
+savings_hbd = userinfo['savings_hbd_balance']
-print('\n' + 'REMAINING ACCOUNT BALANCE:' + '\n' + total_steem + '\n' + total_sbd + '\n')
-print('CURRENT SAVINGS BALANCE:' + '\n' + savings_steem + '\n' + savings_sbd + '\n')
+print('\n' + 'REMAINING ACCOUNT BALANCE:' + '\n' + total_hive + '\n' + total_hbd + '\n')
+print('CURRENT SAVINGS BALANCE:' + '\n' + savings_hive + '\n' + savings_hbd + '\n')
```
We encourage users to play around with different values and data types to fully understand how this process works. You can also check the balances and transaction history on the [testnet portal](http://condenser.steem.vc/).
@@ -175,7 +175,7 @@ We encourage users to play around with different values and data types to fully
1. [review dev requirements](getting_started.html)
1. `git clone https://gitlab.syncad.com/hive/devportal.git`
-1. `cd devportal/tutorials/python/33_transfer_steem_and_sbd_to_savings_balance`
+1. `cd devportal/tutorials/python/33_transfer_hive_and_hbd_to_savings_balance`
1. `pip install -r requirements.txt`
1. `python index.py`
1. After a few moments, you should see a prompt for input in terminal screen.
diff --git a/_tutorials-python/using_keys_securely.md b/_tutorials-python/using_keys_securely.md
index 2bd66f0f4b5885f3a9ef9f940502b91b9a9734cb..d1e96bedd8243f51a7e6ee214bf42126390f4542 100644
--- a/_tutorials-python/using_keys_securely.md
+++ b/_tutorials-python/using_keys_securely.md
@@ -1,7 +1,7 @@
---
title: 'PY: Using Keys Securely'
position: 1
-description: "Learn how Steem-Python library handles transaction signing with user's key and how to securely manage your private keys."
+description: "Learn how Hive-Python library handles transaction signing with user's key and how to securely manage your private keys."
layout: full
canonical_url: using_keys_securely.html
---
@@ -12,7 +12,7 @@ canonical_url: using_keys_securely.html
## Intro
-Steem python library has 2 ways to handle your keys. One is from source code, another one is through command line interface called `steempy`. `steempy` cli is installed by default when you install steem-python library on your machine.
+Hive python library has 2 ways to handle your keys. One is from source code, another one is through command line interface called `steempy`. `steempy` cli is installed by default when you install steem-python library on your machine.
## Steps
@@ -24,24 +24,24 @@ Steem python library has 2 ways to handle your keys. One is from source code, an
In this tutorial we are only using `steem` package - steem-python library.
```python
- # initialize Steem class
- from steem import Steem
+ # initialize Hive class
+ from steem import Hive
# defining private keys inside source code is not secure way but possible
- s = Steem(keys=['', ''])
+ s = Hive(keys=['', ''])
```
Last line from above snippet shows how to define private keys for account that's going to transact using script.
#### 2. Key usage example
-After defining private keys inside Steem class, we can quickly sign any transaction and broadcast it to the network.
+After defining private keys inside Hive class, we can quickly sign any transaction and broadcast it to the network.
```python
# above will allow accessing Commit methods such as
- # demo account sending 0.001 STEEM to demo1 account
+ # demo account sending 0.001 HIVE to demo1 account
- s.commit.transfer('demo','0.001','STEEM','memo text','demo1')
+ s.commit.transfer('demo','0.001','HIVE','memo text','demo1')
```
Above method works but it is not secure way of handling your keys because you have entered your keys within source code that you might leak accidentally. To avoid that, we can use CLI - command line interface `steempy`.
@@ -56,7 +56,7 @@ You can type following to learn more about `steempy` commands:
The first time you use steempy, you will be prompted to enter a password. This password will be used to encrypt the steempy wallet, which contains your private keys.
-You can import your Steem username with following command:
+You can import your Hive username with following command:
`steempy importaccount username`
@@ -76,7 +76,7 @@ Above line fetches private key for user `demo` from local machine and signs tran
`steempy` also allows you to sign and broadcast transactions from terminal. For example:
-`steempy transfer --account 1 STEEM memo`
+`steempy transfer --account 1 HIVE memo`
would sign and broadcast transfer operation,
diff --git a/_tutorials-python/vote_on_content.md b/_tutorials-python/vote_on_content.md
index 2dd41a846db297ffd00d8252460faab3db96c74b..ee2b5b8123eecd7d61d4d04b8b8f9b18e184be71 100644
--- a/_tutorials-python/vote_on_content.md
+++ b/_tutorials-python/vote_on_content.md
@@ -10,11 +10,11 @@ canonical_url: vote_on_content.html
-In this tutorial we will explain and show you how to to check if a user has voted on specified content and also how to submit a vote on the **Steem** blockchain using the `commit` class found within the [steem-python](https://github.com/steemit/steem-python) library.
+In this tutorial we will explain and show you how to to check if a user has voted on specified content and also how to submit a vote on the **Hive** blockchain using the `commit` class found within the [steem-python](https://github.com/steemit/steem-python) library.
## Intro
-Voting is a way of promoting good content via an `upvote` or reporting misuse, spam or other unfit content by `downvoting`. The Steem python library has a built-in function to transmit transactions to the blockchain. We are using the `vote` method found within the `commit` class in the the library. Before we vote on content we first check whether the user has already voted. This is not strictly necessary as a voting operation overrides the previous vote value. We use the `get_active_votes` function to check for this. This function only requires two parameters, the `author` and the `permlink` for the comment/post that the query is for. This returns a list of the current voters for that comment. The `vote` function has 3 parameters:
+Voting is a way of promoting good content via an `upvote` or reporting misuse, spam or other unfit content by `downvoting`. The Hive python library has a built-in function to transmit transactions to the blockchain. We are using the `vote` method found within the `commit` class in the the library. Before we vote on content we first check whether the user has already voted. This is not strictly necessary as a voting operation overrides the previous vote value. We use the `get_active_votes` function to check for this. This function only requires two parameters, the `author` and the `permlink` for the comment/post that the query is for. This returns a list of the current voters for that comment. The `vote` function has 3 parameters:
1. _identifier_ - This is a combination of the author and permink of the post/comment that the vote will be on
1. _weight_ - This value determines whether the vote is an upvote (+100.0) or a downvote (-100.0) but this value cannot be 0
@@ -23,7 +23,7 @@ Voting is a way of promoting good content via an `upvote` or reporting misuse, s
## Steps
1. [**App setup**](#setup) - Library install and import. Connection to testnet
-1. [**User information and steem node**](#userinfo) - Input user information and connection to Steem node
+1. [**User information and steem node**](#userinfo) - Input user information and connection to Hive node
1. [**Check vote status**](#votestat) - Vote status of post/comment
1. [**Commit vote**](#commit) - Commit vote to the blockchain
@@ -41,9 +41,9 @@ import steembase
import steem
from pick import pick
-steembase.chains.known_chains['STEEM'] = {
+steembase.chains.known_chains['HIVE'] = {
'chain_id': '79276aea5d4877d9a25892eaa01b0adf019d3e5cb12a97478df3298ccdd01673',
- 'prefix': 'STX', 'steem_symbol': 'STEEM', 'sbd_symbol': 'SBD', 'vests_symbol': 'VESTS'
+ 'prefix': 'STX', 'hive_symbol': 'HIVE', 'hbd_symbol': 'HBD', 'vests_symbol': 'VESTS'
}
```
@@ -59,7 +59,7 @@ username = input('Please enter your username: ')
postingkey = input('Please enter your private posting key: ')
#connect node and private posting key, demo account name: cdemo, posting key: 5JEZ1EiUjFKfsKP32b15Y7jybjvHQPhnvCYZ9BW62H1LDUnMvHz
-s = steem.Steem(nodes=['https://testnet.steem.vc'], keys=[postingkey])
+s = steem.Hive(nodes=['https://testnet.steem.vc'], keys=[postingkey])
```
#### 3. Check vote status
diff --git a/_tutorials-python/witness_listing_and_voting.md b/_tutorials-python/witness_listing_and_voting.md
index 344172fda725194e09490f2d46a80fa4737ecf95..80f157c0afecd7e65af980d059b2b113aadba4b0 100644
--- a/_tutorials-python/witness_listing_and_voting.md
+++ b/_tutorials-python/witness_listing_and_voting.md
@@ -10,11 +10,11 @@ canonical_url: witness_listing_and_voting.html
-In this tutorial we show you how to create a list of active witnesses from the **Steem** blockchain and then vote or unvote for a witness using the `commit` class found within the [steem-python](https://github.com/steemit/steem-python) library.
+In this tutorial we show you how to create a list of active witnesses from the **Hive** blockchain and then vote or unvote for a witness using the `commit` class found within the [steem-python](https://github.com/steemit/steem-python) library.
## Intro
-The Steem python library has a built-in function to transmit transactions to the blockchain. We are using the `approve_witness` and `disapprove_witness` method found within the `commit` class in the library. We also use the `get_active_witnesses` function to query the blockchain for a list of available witnesses. Before we vote, we use the `get_account` function to check for all the witnesses that the user has currently voted for. This is not strictly necessary but adds to the useability of the process. The `approve_witness` method has 3 parameters:
+The Hive python library has a built-in function to transmit transactions to the blockchain. We are using the `approve_witness` and `disapprove_witness` method found within the `commit` class in the library. We also use the `get_active_witnesses` function to query the blockchain for a list of available witnesses. Before we vote, we use the `get_account` function to check for all the witnesses that the user has currently voted for. This is not strictly necessary but adds to the useability of the process. The `approve_witness` method has 3 parameters:
1. _witness_ - The witness to approve
1. _account_ - The source user account for the voting
@@ -25,7 +25,7 @@ The `disapprove_witness` has the same parameters except for `_approve_` which is
## Steps
1. [**App setup**](#setup) - Library install and import. Connection to testnet
-1. [**User information and steem node**](#userinfo) - Input user information and connection to Steem node
+1. [**User information and steem node**](#userinfo) - Input user information and connection to Hive node
1. [**Active witness list**](#list) - Create a list of active as well as already voted for witnesses
1. [**Vote / Unvote**](#commit) - Input witness name and commite vote/unvote to blockchain
@@ -45,9 +45,9 @@ import steem
from pick import pick
import pprint
-steembase.chains.known_chains['STEEM'] = {
+steembase.chains.known_chains['HIVE'] = {
'chain_id': '79276aea5d4877d9a25892eaa01b0adf019d3e5cb12a97478df3298ccdd01673',
- 'prefix': 'STX', 'steem_symbol': 'STEEM', 'sbd_symbol': 'SBD', 'vests_symbol': 'VESTS'
+ 'prefix': 'STX', 'hive_symbol': 'HIVE', 'hbd_symbol': 'HBD', 'vests_symbol': 'VESTS'
}
```
@@ -63,7 +63,7 @@ username = input('Enter username: ') #demo account: cdemo
wif = input('Enter private ACTIVE key: ') #demo account: 5KaNM84WWSqzwKzY82fXPaUW43idbLnPqf5SfjGxLfw6eV2kAP3
#connect node and private active key
-client = steem.Steem(nodes=['https://testnet.steem.vc'], keys=[wif])
+client = steem.Hive(nodes=['https://testnet.steem.vc'], keys=[wif])
#check valid user
userinfo = client.get_account(username)
diff --git a/_tutorials-recipes/account-creation-process.md b/_tutorials-recipes/account-creation-process.md
index 1b6a689896369779d9ffb61302a29a22fa356357..3ab44e9cf9a82c0eb5f0646e8fecf19e67b7b9ca 100644
--- a/_tutorials-recipes/account-creation-process.md
+++ b/_tutorials-recipes/account-creation-process.md
@@ -7,7 +7,7 @@ layout: full
canonical_url: account-creation-process.html
---
-This recipe will take you through the different options when creating accounts on the Steem blockchain.
+This recipe will take you through the different options when creating accounts on the Hive blockchain.
## Intro
@@ -21,13 +21,13 @@ The Resource Credit system gives us two ways to create an account. We describe t
| Discounted account creations | Non-discounted account creations |
| - | - |
-| You can purchase Account Creation Tokens(ACT) and use them to create an account. These tokens do not expire.| You need to create an account and wait for it to be approved by the Steemit faucet |
-| Account's are created immediately at no additional cost. | You are required to pay the 3 STEEM to create an account and wait for the account to be approved. |
+| You can purchase Account Creation Tokens(ACT) and use them to create an account. These tokens do not expire.| You need to create an account and wait for it to be approved by the Hive faucet |
+| Account's are created immediately at no additional cost. | You are required to pay the 3 HIVE to create an account and wait for the account to be approved. |
#### 1. Discounted account creations
-The discounted account creation process uses an Account Creation Token(ACT) that is purchased with Resource Credits (RC) to create the account instead of paying the creation fee in STEEM.
+The discounted account creation process uses an Account Creation Token(ACT) that is purchased with Resource Credits (RC) to create the account instead of paying the creation fee in HIVE.
ACTs are _only_ good for creating accounts. They have no other purpose. They do not expire, are not transferable, and there is also no upper limit to the amount of tokens one can have. (If you're a hoarder, you can be stockpile them.) There is however a limit on the total amount of tokens available on the blockchain for claiming at any one time. The available tokens replenish over time, and the limit is decided upon by the witnesses.
@@ -38,13 +38,13 @@ Claiming tokens is the first step required to create an account. To do this, bro
"claim_account",
{
"creator": "creator",
- "fee": "0.000 STEEM",
+ "fee": "0.000 HIVE",
"extensions": []
}
]
```
-Once you have claimed a token, broadcast the `create_claimed_account` operation to create the account using the account that claimed the token. Select a new unique account name and provide account keys for the new account. These can be generated using any of the Steem libraries available.
+Once you have claimed a token, broadcast the `create_claimed_account` operation to create the account using the account that claimed the token. Select a new unique account name and provide account keys for the new account. These can be generated using any of the Hive libraries available.
```json
[
@@ -82,13 +82,13 @@ Accounts created with this method, don't have any SP, but do have enough RC to i
#### 2. Non-discounted account creation
-Non-discounted account creation operation allows you to create accounts by paying an account creation fee of 3 STEEM as part of the account creation api call. We use the `account_create` operation to commit this transaction to the blockchain. When creating a new account, the new `account_name` needs to be supplied. The keys must be derived from an owner-key which must be kept safe. The account keys can be generated using the `new_account_name`, owner-key and Steem tools.
+Non-discounted account creation operation allows you to create accounts by paying an account creation fee of 3 HIVE as part of the account creation api call. We use the `account_create` operation to commit this transaction to the blockchain. When creating a new account, the new `account_name` needs to be supplied. The keys must be derived from an owner-key which must be kept safe. The account keys can be generated using the `new_account_name`, owner-key and Hive tools.
```json
[
"account_create",
{
- "fee": "3.00 STEEM",
+ "fee": "3.00 HIVE",
"creator": "creator",
"new_account_name": "new_account_name",
"owner": {
diff --git a/_tutorials-recipes/calculate_rc_recipe.md b/_tutorials-recipes/calculate_rc_recipe.md
index 4f3a40f8b64e8a7b1d9050dfde111ce27468ec48..901bd8162b21c3c84af92e79efaceef3dc3a908f 100644
--- a/_tutorials-recipes/calculate_rc_recipe.md
+++ b/_tutorials-recipes/calculate_rc_recipe.md
@@ -7,17 +7,17 @@ layout: full
canonical_url: calculate_rc_recipe.html
---
-Since HF20 a Resource Credit (RC) system has been implemented to manage the number of transactions (comments, votes, transfers, etc) you can execute on the blockchain at any given time. This recipe will look at how to calculate your current RC and also what the current RC cost is for a given transaction. This recipe is far more 'basics oriented' than most. For a more in-depth description of how RC's work consume [this excellent RC demo](https://github.com/steemit/rcdemo) created by Steemit's Blockchain Team.
+Since HF20 a Resource Credit (RC) system has been implemented to manage the number of transactions (comments, votes, transfers, etc) you can execute on the blockchain at any given time. This recipe will look at how to calculate your current RC and also what the current RC cost is for a given transaction. This recipe is far more 'basics oriented' than most. For a more in-depth description of how RC's work consume [this excellent RC demo](https://github.com/steemit/rcdemo) created by Hive's Blockchain Team.
## Intro
-RCs are non-transferable credits that accrue to each Steem account based on how much Steem Power(SP) it has. An account spends RC when it transacts on the Steem blockchain. RCs regenerate over a 5 day period. If an account doesn’t have sufficient credits, the transaction will not be allowed to occur.
+RCs are non-transferable credits that accrue to each Hive account based on how much Hive Power(SP) it has. An account spends RC when it transacts on the Hive blockchain. RCs regenerate over a 5 day period. If an account doesn’t have sufficient credits, the transaction will not be allowed to occur.
The price of a transaction (which consumes a particular resource, or resources) is based on the current stockpile of those resources. As a stockpile of a resource decreases, the RC cost of that resource increases. In other words, as the stockpile goes down, accounts will have to pay more RCs to use the remaining resources. This system disincentivize the over-consumption of resources by users as well as spam.
The RC system uses three measurements to determine how much a transaction should cost in terms of RCs: blockchain size, compute time, and state size. If an transaction is especially expensive in any one of these measurements, then performing that operation will be costly in terms of RCs. It is important to bear in mind that these are objective measurements of resource consumption at the blockchain level, so when something is expensive in RCs, all that means is that performing the action places a high burden on the network relative to other operations.
-There are applications available to check an account's status, like [steemd.com](https://steemd.com/@username), but here we will look at how calculate the values manually.
+There are applications available to check an account's status, like [hiveblocks.com](https://hiveblocks.com/@username), but here we will look at how calculate the values manually.
## Calculating available RC
@@ -54,9 +54,9 @@ A community created library, [beem-python](https://github.com/holgern/beem) offe
import beem
from beem.rc import RC
-client = beem.Steem()
+client = beem.Hive()
-rc = RC(steem_instance=client)
+rc = RC(hive_instance=client)
#beem sets its own rough, default values if you don't pass them in.
print(rc.comment()) #(self, tx_size=1000, permlink_length=10, parent_permlink_length=10)
print(rc.vote()) #(self, tx_size=210)
@@ -82,8 +82,8 @@ print(rc.vote(vote_tx))
```
You can find the source for beem's RC class in the [beem github repo](https://github.com/holgern/beem/blob/master/beem/rc.py)
-Additional info can also be found in [this article by steem user @holger80](https://steemit.com/utopian-io/@holger80/update-for-beem-adding-rc-costs-calculation-and-witnesssetproperties-broadcasting?sort=new)
+Additional info can also be found in [this article by steem user @holger80](https://hive.blog/utopian-io/@holger80/update-for-beem-adding-rc-costs-calculation-and-witnesssetproperties-broadcasting?sort=new)
## Allocation of RC to blockchain resources
-An in depth look at how RC's are assigned to each of the three resources (CPU megacycles/state memory/history size) can be found in Steemit's wiki articles for [RC Bandwidth System](https://github.com/steemit/steem/wiki/RC-Bandwidth-System) and [Parameters](https://github.com/steemit/steem/wiki/RC-Bandwidth-Parameters)
+An in depth look at how RC's are assigned to each of the three resources (CPU megacycles/state memory/history size) can be found in Hive's wiki articles for [RC Bandwidth System](https://github.com/steemit/steem/wiki/RC-Bandwidth-System) and [Parameters](https://github.com/steemit/steem/wiki/RC-Bandwidth-Parameters)
diff --git a/_tutorials-recipes/estimate_upvote.md b/_tutorials-recipes/estimate_upvote.md
index 9abc3c4e0a95aad475bb8aeab573076a463e4f85..b450e06f17ecdfb819ef8dabf7f54baf725bbec1 100644
--- a/_tutorials-recipes/estimate_upvote.md
+++ b/_tutorials-recipes/estimate_upvote.md
@@ -1,24 +1,24 @@
---
title: Estimate the value of an upvote
position: 1
-description: Calculate the approximate value of an upvote on Steem
+description: Calculate the approximate value of an upvote on Hive
exclude: true
layout: full
canonical_url: estimate_upvote.html
---
-*By the end of this recipe you should know how to estimate value of each vote on Steem.*
+*By the end of this recipe you should know how to estimate value of each vote on Hive.*
This recipe will take you through the process of fetching necessary data and formulating estimation.
## Intro
-Calculating value of each vote depends on multiple factors. Reward fund, recent claims, account's total vests, rate of the sbd, voting power and weight of the vote. It is quite useful information for users to see and estimate. All of the data is possible to get via available APIs.
+Calculating value of each vote depends on multiple factors. Reward fund, recent claims, account's total vests, rate of the hbd, voting power and weight of the vote. It is quite useful information for users to see and estimate. All of the data is possible to get via available APIs.
## Steps
1. **Get Reward Fund** Current reward fund information is crucial part of estimation
-1. **Get Account** Steem power and voting power is another important info
+1. **Get Account** Hive power and voting power is another important info
1. **Feed history** To get price rate reported by witnesses
1. **Final calculation** Formulate all information we have
@@ -33,7 +33,7 @@ The response we're working with will look like:
{
"id":0,
"name":"post",
- "reward_balance":"741222.051 STEEM",
+ "reward_balance":"741222.051 HIVE",
"recent_claims":"457419472820935017",
"last_update":"2018-05-23T12:08:36",
"content_constant":"2000000000000",
@@ -123,21 +123,21 @@ The response example will look like:
"can_vote": true,
"voting_power": 9800,
"last_vote_time": "2018-05-22T20:10:45",
- "balance": "810.371 STEEM",
- "savings_balance": "0.000 STEEM",
- "sbd_balance": "4613.426 SBD",
- "sbd_seconds": "10828300402329",
- "sbd_seconds_last_update": "2018-05-22T22:34:24",
- "sbd_last_interest_payment": "2018-04-25T18:26:15",
- "savings_sbd_balance": "0.000 SBD",
- "savings_sbd_seconds": "0",
- "savings_sbd_seconds_last_update": "1970-01-01T00:00:00",
- "savings_sbd_last_interest_payment": "1970-01-01T00:00:00",
+ "balance": "810.371 HIVE",
+ "savings_balance": "0.000 HIVE",
+ "hbd_balance": "4613.426 HBD",
+ "hbd_seconds": "10828300402329",
+ "hbd_seconds_last_update": "2018-05-22T22:34:24",
+ "hbd_last_interest_payment": "2018-04-25T18:26:15",
+ "savings_hbd_balance": "0.000 HBD",
+ "savings_hbd_seconds": "0",
+ "savings_hbd_seconds_last_update": "1970-01-01T00:00:00",
+ "savings_hbd_last_interest_payment": "1970-01-01T00:00:00",
"savings_withdraw_requests": 0,
- "reward_sbd_balance": "79.490 SBD",
- "reward_steem_balance": "0.000 STEEM",
+ "reward_hbd_balance": "79.490 HBD",
+ "reward_hive_balance": "0.000 HIVE",
"reward_vesting_balance": "608341.169185 VESTS",
- "reward_vesting_steem": "293.101 STEEM",
+ "reward_vesting_hive": "293.101 HIVE",
"vesting_shares": "93540695.469156 VESTS",
"delegated_vesting_shares": "0.000000 VESTS",
"received_vesting_shares": "0.000000 VESTS",
@@ -163,7 +163,7 @@ The response example will look like:
"average_market_bandwidth": 1170000000,
"lifetime_market_bandwidth": 1170000000,
"last_market_bandwidth_update": "2016-07-27T15:10:09",
- "vesting_balance": "0.000 STEEM",
+ "vesting_balance": "0.000 HIVE",
"reputation": "146151592482665",
"transfer_history": [],
"market_history": [],
@@ -187,8 +187,8 @@ The response example will look like:
```json
{
- "base": "3.029 SBD",
- "quote": "1.000 STEEM"
+ "base": "3.029 HBD",
+ "quote": "1.000 HIVE"
}
```
@@ -201,7 +201,7 @@ total_vests = vesting_shares + received_vesting_shares - delegated_vesting_share
final_vest = total_vests * 1e6
power = (voting_power * weight / 10000) / 50
rshares = power * final_vest / 10000
-estimate = rshares / recent_claims * reward_balance * sbd_median_price
+estimate = rshares / recent_claims * reward_balance * hbd_median_price
```
That's all there is to it.
diff --git a/_tutorials-recipes/exchange_node.md b/_tutorials-recipes/exchange_node.md
index 3eec93627452a938dfa6c7b303c4b8ee81807218..ad295381ad051c9116e457d38efdab0960d15bab 100644
--- a/_tutorials-recipes/exchange_node.md
+++ b/_tutorials-recipes/exchange_node.md
@@ -10,7 +10,7 @@ canonical_url: exchange_node.html
### Intro
-By defining a range of accounts to track as a JSON pair `["from", "to"]`, we can instruct `steemd` to only track the exact accounts that involve the exchange.
+By defining a range of accounts to track as a JSON pair `["from", "to"]`, we can instruct `hived` to only track the exact accounts that involve the exchange.
These instructions are similar to setting up a [Get Transaction Node]({{ '/tutorials-recipes/get_transaction_node.html' | relative_url }}), but requires far less time to sync because it is configured to focus on only the exchange account(s).
@@ -21,7 +21,7 @@ If you prefer a docker version of these instructions, please refer to:
### Sections
* [Minimum Requirements](#minimum-requirements)
-* [Building `steemd`](#building-steemd)
+* [Building `hived`](#building-hived)
* [Configure Node](#configure-node)
* [Latest Block Log](#latest-block-log)
* [Sync Node](#sync-node)
@@ -31,7 +31,7 @@ If you prefer a docker version of these instructions, please refer to:
This tutorial assumes Ubuntu Server 18.04 LTS 16GB RAM and 320GB SSD/HDD.
-### Building `steemd`
+### Building `hived`
```bash
sudo apt-get update
@@ -53,7 +53,7 @@ cmake \
-DLOW_MEMORY_NODE=ON \
-DCLEAR_VOTES=ON \
-DSKIP_BY_TX_ID=OFF \
- -DSTEEM_LINT_LEVEL=OFF \
+ -DHIVE_LINT_LEVEL=OFF \
-DENABLE_MIRA=OFF \
..
make -j$(nproc)
@@ -63,12 +63,12 @@ sudo make install
### Configure Node
```bash
-mkdir -p ~/steem_data
-cd ~/steem_data
-steemd --data-dir=.
+mkdir -p ~/hive_data
+cd ~/hive_data
+hived --data-dir=.
```
-At the startup banner, press `^C` (Ctrl+C) to exit `steemd`. As a side effect, a default data-dir is created. Now we can purge the empty blockchain and create `config.ini` as follows:
+At the startup banner, press `^C` (Ctrl+C) to exit `hived`. As a side effect, a default data-dir is created. Now we can purge the empty blockchain and create `config.ini` as follows:
```bash
rm -Rf blockchain
@@ -103,10 +103,10 @@ Save `config.ini`.
Download the block log (optional but recommended).
```bash
-cd ~/steem_data
+cd ~/hive_data
mkdir -p blockchain
wget -O blockchain/block_log https://s3.amazonaws.com/steemit-dev-blockchainstate/block_log-latest
-steemd --data-dir=. --replay-blockchain
+hived --data-dir=. --replay-blockchain
```
### Sync Node
@@ -114,20 +114,20 @@ steemd --data-dir=. --replay-blockchain
If you did not download the latest block log:
```bash
-cd ~/steem_data
-steemd --data-dir=. --resync-blockchain
+cd ~/hive_data
+hived --data-dir=. --resync-blockchain
```
-After *replay* or *resync* is complete, the console will display `Got ## transactions from ...`. It's possible to close `steemd` with `^C` (Ctrl+C). Then, to start the node again:
+After *replay* or *resync* is complete, the console will display `Got ## transactions from ...`. It's possible to close `hived` with `^C` (Ctrl+C). Then, to start the node again:
```bash
-cd ~/steem_data
-steemd --data-dir=.
+cd ~/hive_data
+hived --data-dir=.
```
### Troubleshooting
-**Problem:** Got an error while trying to compile `steemd`:
+**Problem:** Got an error while trying to compile `hived`:
`c++: internal compiler error: Killed (program cc1plus)`
@@ -146,9 +146,9 @@ sudo swapon /var/swap.img
**Problem:** Got an error while replaying:
-`IO error: While open a file for appending: /root/steem_data/./blockchain/rocksdb_witness_object/012590.sst: Too many open files`
+`IO error: While open a file for appending: /root/hive_data/./blockchain/rocksdb_witness_object/012590.sst: Too many open files`
-**Solution:** You're using MIRA, but this tutorial recommends *not* to (`-DENABLE_MIRA=OFF`). If you really *intend* to try MIRA, you will need to set higher limits. Note, if you are also running `steemd` as `root` (not recommended), you must explicitly set hard/soft nofile/nproc lines for `root` instead of `*` in `/etc/security/limits.conf`.
+**Solution:** You're using MIRA, but this tutorial recommends *not* to (`-DENABLE_MIRA=OFF`). If you really *intend* to try MIRA, you will need to set higher limits. Note, if you are also running `hived` as `root` (not recommended), you must explicitly set hard/soft nofile/nproc lines for `root` instead of `*` in `/etc/security/limits.conf`.
To set the open file limit ...
diff --git a/_tutorials-recipes/forum-market-bandwidth.md b/_tutorials-recipes/forum-market-bandwidth.md
index 2675add27cfe858355a056bea80cf8b2bb6fe9c8..0b53cd744b04a553be92dd8ef5bbf3a2dab0c6f1 100644
--- a/_tutorials-recipes/forum-market-bandwidth.md
+++ b/_tutorials-recipes/forum-market-bandwidth.md
@@ -10,10 +10,10 @@ canonical_url: forum-market-bandwidth.html
### Intro
-We're going over the various API calls needed to determine the remaining bandwidth available to a particular account. As mentioned in the [STEEM Whitepaper](https://steem.io/steem-whitepaper.pdf):
+We're going over the various API calls needed to determine the remaining bandwidth available to a particular account. As mentioned in the [HIVE Whitepaper](https://hive.io/steem-whitepaper.pdf):
> Bandwidth used by an individual user should be measured over a suitably long period of time to allow that
user to time-shift their usage. Users tend to login, do many things at once, then logout. This means that
@@ -28,7 +28,7 @@ Bandwidth is specific to each account and depends on account activity.
1. [Getting Account Bandwidth](#getting-account-bandwidth)
1. [Dynamic Global Properties](#dynamic-global-properties)
-1. [Account STEEM Power](#account-steem-power)
+1. [Account HIVE Power](#account-steem-power)
1. [Calculate](#calculate)
### Getting Account Bandwidth
@@ -42,7 +42,7 @@ curl -s --data '{
"forum"
],
"id":1
-}' https://api.steemit.com
+}' https://api.hive.blog
```
```json
@@ -69,7 +69,7 @@ Note, `average_bandwidth` is expressed as an integer with six decimal places rep
To do the calculation, we need `max_virtual_bandwidth` and `total_vesting_shares` from the global properties, e.g.:
```bash
-curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.get_dynamic_global_properties", "params":[], "id":1}' https://api.steemit.com
+curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.get_dynamic_global_properties", "params":[], "id":1}' https://api.hive.blog
```
```json
@@ -83,19 +83,19 @@ curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.get_dynamic_global_pro
"current_witness":"followbtcnews",
"total_pow":514415,
"num_pow_witnesses":172,
- "virtual_supply":"283443693.176 STEEM",
- "current_supply":"271786073.683 STEEM",
- "confidential_supply":"0.000 STEEM",
- "current_sbd_supply":"15504633.926 SBD",
- "confidential_sbd_supply":"0.000 SBD",
- "total_vesting_fund_steem":"193007548.472 STEEM",
+ "virtual_supply":"283443693.176 HIVE",
+ "current_supply":"271786073.683 HIVE",
+ "confidential_supply":"0.000 HIVE",
+ "current_hbd_supply":"15504633.926 HBD",
+ "confidential_hbd_supply":"0.000 HBD",
+ "total_vesting_fund_hive":"193007548.472 HIVE",
"total_vesting_shares":"391468555319.000697 VESTS",
- "total_reward_fund_steem":"0.000 STEEM",
+ "total_reward_fund_hive":"0.000 HIVE",
"total_reward_shares2":"0",
"pending_rewarded_vesting_shares":"382967391.274340 VESTS",
- "pending_rewarded_vesting_steem":"187173.234 STEEM",
- "sbd_interest_rate":0,
- "sbd_print_rate":2966,
+ "pending_rewarded_vesting_hive":"187173.234 HIVE",
+ "hbd_interest_rate":0,
+ "hbd_print_rate":2966,
"maximum_block_size":65536,
"current_aslot":24341309,
"recent_slots_filled":"340282366920938463463374607431768211455",
@@ -109,12 +109,12 @@ curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.get_dynamic_global_pro
}
```
-### Account STEEM Power
+### Account HIVE Power
-We also need to know how much the account has in STEEM Power from `vesting_shares` and `received_vesting_shares`:
+We also need to know how much the account has in HIVE Power from `vesting_shares` and `received_vesting_shares`:
```bash
-curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.get_accounts", "params":[["cheetah"]], "id":1}' https://api.steemit.com
+curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.get_accounts", "params":[["cheetah"]], "id":1}' https://api.hive.blog
```
```json
@@ -140,7 +140,7 @@ curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.get_accounts", "params
"key_auths":[["STM5bicRFWhpxnwBymo2HHJv6mFLiaP6AwVVsFEnnVjVcqbvqzvFt", 100], ["STM7yFmwPSKUP7FCV7Ut9Aev5cwfDzJZixcreS1U3ha36XG47ZpqT", 100], ["STM8Jn23vNmBzVuDAgQeZzzR17LmruENmmZmv1ra53tbsBgYbJFwk", 100]]
},
"memo_key":"STM7yFmwPSKUP7FCV7Ut9Aev5cwfDzJZixcreS1U3ha36XG47ZpqT",
- "json_metadata":"{\"profile\":{\"profile_image\":\"https:\/\/c1.staticflickr.com\/6\/5739\/22389343016_25d10c52a3_b.jpg\",\"about\":\"I am a robot that automatically finds similar content. Check the website linked to on my blog to learn more about me!\",\"website\":\"http:\/\/steemit.com\/steemit\/@cheetah\/faq-about-cheetah\"}}",
+ "json_metadata":"{\"profile\":{\"profile_image\":\"https:\/\/c1.staticflickr.com\/6\/5739\/22389343016_25d10c52a3_b.jpg\",\"about\":\"I am a robot that automatically finds similar content. Check the website linked to on my blog to learn more about me!\",\"website\":\"http:\/\/hive.blog\/steemit\/@cheetah\/faq-about-cheetah\"}}",
"proxy":"",
"last_owner_update":"1970-01-01T00:00:00",
"last_account_update":"2017-06-13T00:14:00",
@@ -155,21 +155,21 @@ curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.get_accounts", "params
"can_vote":true,
"voting_power":1249,
"last_vote_time":"2018-07-18T16:39:21",
- "balance":"118.463 STEEM",
- "savings_balance":"0.000 STEEM",
- "sbd_balance":"67.717 SBD",
- "sbd_seconds":"127094582318",
- "sbd_seconds_last_update":"2018-07-18T14:13:15",
- "sbd_last_interest_payment":"2018-06-20T12:01:15",
- "savings_sbd_balance":"0.000 SBD",
- "savings_sbd_seconds":"0",
- "savings_sbd_seconds_last_update":"1970-01-01T00:00:00",
- "savings_sbd_last_interest_payment":"1970-01-01T00:00:00",
+ "balance":"118.463 HIVE",
+ "savings_balance":"0.000 HIVE",
+ "hbd_balance":"67.717 HBD",
+ "hbd_seconds":"127094582318",
+ "hbd_seconds_last_update":"2018-07-18T14:13:15",
+ "hbd_last_interest_payment":"2018-06-20T12:01:15",
+ "savings_hbd_balance":"0.000 HBD",
+ "savings_hbd_seconds":"0",
+ "savings_hbd_seconds_last_update":"1970-01-01T00:00:00",
+ "savings_hbd_last_interest_payment":"1970-01-01T00:00:00",
"savings_withdraw_requests":0,
- "reward_sbd_balance":"0.005 SBD",
- "reward_steem_balance":"0.009 STEEM",
+ "reward_hbd_balance":"0.005 HBD",
+ "reward_hive_balance":"0.009 HIVE",
"reward_vesting_balance":"26.366463 VESTS",
- "reward_vesting_steem":"0.013 STEEM",
+ "reward_vesting_hive":"0.013 HIVE",
"vesting_shares":"4770940.577823 VESTS",
"delegated_vesting_shares":"0.000000 VESTS",
"received_vesting_shares":"16020356.484882 VESTS",
@@ -190,7 +190,7 @@ curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.get_accounts", "params
"average_market_bandwidth":2406616155,
"lifetime_market_bandwidth":"224370000000",
"last_market_bandwidth_update":"2018-07-12T04:57:36",
- "vesting_balance":"0.000 STEEM",
+ "vesting_balance":"0.000 HIVE",
"reputation":"305786119478594",
"transfer_history":[],
"market_history":[],
diff --git a/_tutorials-recipes/get_transaction_node.md b/_tutorials-recipes/get_transaction_node.md
index fd00182d0cf03f815766c66c164aea150ff239da..753904b968c9c3991819dc7478f50f4152db7f2d 100644
--- a/_tutorials-recipes/get_transaction_node.md
+++ b/_tutorials-recipes/get_transaction_node.md
@@ -15,7 +15,7 @@ This tutorial will show how to setup the lowest possible resource node that can
### Sections
* [Minimum Requirements](#minimum-requirements)
-* [Building `steemd`](#building-steemd)
+* [Building `hived`](#building-hived)
* [Configure Node](#configure-node)
* [Latest Block Log](#latest-block-log)
* [Sync Node](#sync-node)
@@ -25,7 +25,7 @@ This tutorial will show how to setup the lowest possible resource node that can
This tutorial assumes Ubuntu Server 18.04 LTS 16GB RAM and 320GB SSD/HDD.
-### Building `steemd`
+### Building `hived`
```bash
sudo apt-get update
@@ -47,7 +47,7 @@ cmake \
-DLOW_MEMORY_NODE=ON \
-DCLEAR_VOTES=ON \
-DSKIP_BY_TX_ID=OFF \
- -DSTEEM_LINT_LEVEL=OFF \
+ -DHIVE_LINT_LEVEL=OFF \
-DENABLE_MIRA=OFF \
..
make -j$(nproc)
@@ -57,12 +57,12 @@ sudo make install
### Configure Node
```bash
-mkdir -p ~/steem_data
-cd ~/steem_data
-steemd --data-dir=.
+mkdir -p ~/hive_data
+cd ~/hive_data
+hived --data-dir=.
```
-At the startup banner, press `^C` (Ctrl+C) to exit `steemd`. As a side effect, a default data-dir is created. Now we can purge the empty blockchain and create `config.ini` as follows:
+At the startup banner, press `^C` (Ctrl+C) to exit `hived`. As a side effect, a default data-dir is created. Now we can purge the empty blockchain and create `config.ini` as follows:
```bash
rm -Rf blockchain
@@ -95,10 +95,10 @@ Save `config.ini`.
Download the block log (optional but recommended).
```bash
-cd ~/steem_data
+cd ~/hive_data
mkdir -p blockchain
wget -O blockchain/block_log https://s3.amazonaws.com/steemit-dev-blockchainstate/block_log-latest
-steemd --data-dir=. --replay-blockchain
+hived --data-dir=. --replay-blockchain
```
### Sync Node
@@ -106,20 +106,20 @@ steemd --data-dir=. --replay-blockchain
If you did not download the latest block log:
```bash
-cd ~/steem_data
-steemd --data-dir=. --resync-blockchain
+cd ~/hive_data
+hived --data-dir=. --resync-blockchain
```
-After *replay* or *resync* is complete, the console will display `Got ## transactions from ...`. It's possible to close `steemd` with `^C` (Ctrl+C). Then, to start the node again:
+After *replay* or *resync* is complete, the console will display `Got ## transactions from ...`. It's possible to close `hived` with `^C` (Ctrl+C). Then, to start the node again:
```bash
-cd ~/steem_data
-steemd --data-dir=.
+cd ~/hive_data
+hived --data-dir=.
```
### Troubleshooting
-**Problem:** Got an error while trying to compile `steemd`:
+**Problem:** Got an error while trying to compile `hived`:
`c++: internal compiler error: Killed (program cc1plus)`
@@ -138,9 +138,9 @@ sudo swapon /var/swap.img
**Problem:** Got an error while replaying:
-`IO error: While open a file for appending: /root/steem_data/./blockchain/rocksdb_witness_object/012590.sst: Too many open files`
+`IO error: While open a file for appending: /root/hive_data/./blockchain/rocksdb_witness_object/012590.sst: Too many open files`
-**Solution:** You're using MIRA, but this tutorial recommends *not* to (`-DENABLE_MIRA=OFF`). If you really *intend* to try MIRA, you will need to set higher limits. Note, if you are also running `steemd` as `root` (not recommended), you must explicitly set hard/soft nofile/nproc lines for `root` instead of `*` in `/etc/security/limits.conf`.
+**Solution:** You're using MIRA, but this tutorial recommends *not* to (`-DENABLE_MIRA=OFF`). If you really *intend* to try MIRA, you will need to set higher limits. Note, if you are also running `hived` as `root` (not recommended), you must explicitly set hard/soft nofile/nproc lines for `root` instead of `*` in `/etc/security/limits.conf`.
To set the open file limit ...
diff --git a/_tutorials-recipes/how-to-serialize-and-sign-using-js.md b/_tutorials-recipes/how-to-serialize-and-sign-using-js.md
index 14f3846f921981557de52bb4dd9f7fa2e6a0b10c..b45c9c8781deefc6c4606e9196b070a452038e19 100644
--- a/_tutorials-recipes/how-to-serialize-and-sign-using-js.md
+++ b/_tutorials-recipes/how-to-serialize-and-sign-using-js.md
@@ -1,10 +1,10 @@
---
-title: How to serialize and sign Steem transactions using Javascript
+title: How to serialize and sign Hive transactions using Javascript
position: 1
-description: Serialization and signing without additional Steem Javascript libraries.
+description: Serialization and signing without additional Hive Javascript libraries.
exclude: true
layout: hive-post
-canonical_url: https://steemit.com/steem/@mahdiyari/how-to-serialize-and-sign-steem-transactions-using-javascript-without-steem-javascript-libraries
+canonical_url: https://hive.blog/steem/@mahdiyari/how-to-serialize-and-sign-steem-transactions-using-javascript-without-steem-javascript-libraries
---
{{'@mahdiyari/how-to-serialize-and-sign-steem-transactions-using-javascript-without-steem-javascript-libraries' | hive_post}}
diff --git a/_tutorials-recipes/jussi-multiplexer.md b/_tutorials-recipes/jussi-multiplexer.md
index 572699a71bb5ae09034f1ae6303dacdedc59f0bc..64ff265d7ed52e005c3496398ec70f93280b0f84 100644
--- a/_tutorials-recipes/jussi-multiplexer.md
+++ b/_tutorials-recipes/jussi-multiplexer.md
@@ -44,11 +44,11 @@ cd jussi
Edit the file `DEV_config.json` and change all:
-`https://steemd.steemitdev.com`
+`https://hived.steemitdev.com`
... to ...
-`https://api.steemit.com`
+`https://api.hive.blog`
Also consider adding the [`retries`]({{ '/services/#retry' | relative_url }}) element to your `DEV_config.json`.
@@ -67,7 +67,7 @@ Now, you can use your new `jussi` node as if it's a full node running locally.
curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.get_block", "params":[8675309], "id":1}' http://localhost:9000
```
-In this case, `http://localhost:9000` will act like a full node. In reality, it's passing all of its request to its upstream, `https://api.steemit.com`.
+In this case, `http://localhost:9000` will act like a full node. In reality, it's passing all of its request to its upstream, `https://api.hive.blog`.
Once you've implemented your own `jussi` node in this manner, you should notice an improvement in bandwidth utilization. If you're internet provider implements packet shaping strategies, this will have a positive impact because you are no longer streaming the entire blockchain once for each application.
diff --git a/_tutorials-recipes/mira-performance-tuning.md b/_tutorials-recipes/mira-performance-tuning.md
index 0510756e596e47c9669b87572032d53a18cbe5a8..94ea0792a043c88584c9b3136cbbb05439ed4673 100644
--- a/_tutorials-recipes/mira-performance-tuning.md
+++ b/_tutorials-recipes/mira-performance-tuning.md
@@ -4,7 +4,7 @@ position: 1
description: Provides a way to get the most performance on specific hardware.
exclude: true
layout: hive-post
-canonical_url: https://steemit.com/steemit/@gerbino/mira-performance-tuning
+canonical_url: https://hive.blog/steemit/@gerbino/mira-performance-tuning
---
diff --git a/_tutorials-recipes/node-cli.md b/_tutorials-recipes/node-cli.md
index 50b4c7654a4f73bcddd85ed9a00b85a4cc15b0fc..97dad67f269501a15d921e843e27320b5a8698c4 100644
--- a/_tutorials-recipes/node-cli.md
+++ b/_tutorials-recipes/node-cli.md
@@ -1,7 +1,7 @@
---
-title: Steem Node Command Line Options
+title: Hive Node Command Line Options
position: 1
-description: All options available to `steemd` at command line interface
+description: All options available to `hived` at command line interface
exclude: true
layout: full
canonical_url: node-cli.html
@@ -10,7 +10,7 @@ canonical_url: node-cli.html
Command line options are typically expressed with double-dash (e.g., `--replay-blockchain`):
```bash
-steemd --data-dir=. --replay-blockchain
+hived --data-dir=. --replay-blockchain
```
Note that nearly all options available from `config.ini` can be set as command-line options. See: [Node Config]({{ '/tutorials-recipes/node-config.html' | relative_url }})
diff --git a/_tutorials-recipes/node-config.md b/_tutorials-recipes/node-config.md
index e0820e700e0c860a6c84d141f0b1fd392430eb35..8ae8de86e062f25524985452bd257df8936ffc87 100644
--- a/_tutorials-recipes/node-config.md
+++ b/_tutorials-recipes/node-config.md
@@ -1,13 +1,13 @@
---
-title: Steem Node Config
+title: Hive Node Config
position: 1
-description: All `config.ini` options available to `steemd`
+description: All `config.ini` options available to `hived`
exclude: true
layout: full
canonical_url: node-config.html
---
-When running `steemd` for the first time, once the startup banner appears, press `Ctrl+C` to exit. Running `steemd` like this will generate a data directory and a pristine copy of `config.ini`.
+When running `hived` for the first time, once the startup banner appears, press `Ctrl+C` to exit. Running `hived` like this will generate a data directory and a pristine copy of `config.ini`.
Also refer to:
@@ -700,7 +700,7 @@ See: [seednodes.txt](https://github.com/steemit/steem/blob/master/doc/seednodes.
```ini
# example, override compiled seeds
-p2p-seed-node = seed-east.steemit.com:2001 seed-central.steemit.com:2001 seed-west.steemit.com:2001 steem-seed1.abit-more.com:2001 52.74.152.79:2001 seed.steemd.com:34191 anyx.co:2001 seed.xeldal.com:12150 seed.steemnodes.com:2001 seed.liondani.com:2016 gtg.steem.house:2001 seed.jesta.us:2001 steemd.pharesim.me:2001 5.9.18.213:2001 lafonasteem.com:2001 seed.rossco99.com:2001 steem-seed.altcap.io:40696 seed.roelandp.nl:2001 steem.global:2001 seed.esteem.ws:2001 94.23.33.61:2001 104.199.118.92:2001 192.99.4.226:2001 seed.bhuz.info:2001 seed.steemviz.com:2001 steem-seed.lukestokes.info:2001 seed.blackrift.net:2001 seed.followbtcnews.com:2001 node.mahdiyari.info:2001 seed.jerrybanfield.com:2001 seed.windforce.farm:2001 seed.curiesteem.com:2001 seed.riversteem.com:2001 steem-seed.furion.me:2001 148.251.237.104:2001 seed1.blockbrothers.io:2001
+p2p-seed-node = seed-east.hive.blog:2001 seed-central.hive.blog:2001 seed-west.hive.blog:2001 steem-seed1.abit-more.com:2001 52.74.152.79:2001 seed.hiveblocks.com:34191 anyx.co:2001 seed.xeldal.com:12150 seed.steemnodes.com:2001 seed.liondani.com:2016 gtg.steem.house:2001 seed.jesta.us:2001 hived.pharesim.me:2001 5.9.18.213:2001 lafonasteem.com:2001 seed.rossco99.com:2001 steem-seed.altcap.io:40696 seed.roelandp.nl:2001 steem.global:2001 seed.esteem.ws:2001 94.23.33.61:2001 104.199.118.92:2001 192.99.4.226:2001 seed.bhuz.info:2001 seed.steemviz.com:2001 steem-seed.lukestokes.info:2001 seed.blackrift.net:2001 seed.followbtcnews.com:2001 node.mahdiyari.info:2001 seed.jerrybanfield.com:2001 seed.windforce.farm:2001 seed.curiesteem.com:2001 seed.riversteem.com:2001 steem-seed.furion.me:2001 148.251.237.104:2001 seed1.blockbrothers.io:2001
```
```ini
@@ -716,7 +716,7 @@ p2p-seed-node = 104.236.82.250:2001
p2p-seed-node = 212.47.249.84:40696
p2p-seed-node = 162.213.199.171:34191
p2p-seed-node = steem.kushed.com:2001
-p2p-seed-node = steemd.pharesim.me:2001
+p2p-seed-node = hived.pharesim.me:2001
p2p-seed-node = seed.steemed.net:2001
p2p-seed-node = steem.clawmap.com:2001
p2p-seed-node = seed.steemnodes.com:2001
@@ -964,9 +964,9 @@ webserver-ws-endpoint = 0.0.0.0:8752
Unix http endpoint for webserver requests (in addition to http and ws).
-Intended for node operators who use nginx or jussi on their front ends and `steemd` running on the same box. Since TCP over localhost is inefficient, the ability to use unix-sockets was added.
+Intended for node operators who use nginx or jussi on their front ends and `hived` running on the same box. Since TCP over localhost is inefficient, the ability to use unix-sockets was added.
-Example usage (assuming option set to `/tmp/steemd.sock`):
+Example usage (assuming option set to `/tmp/hived.sock`):
```bash
curl -s --data '{
@@ -974,14 +974,14 @@ curl -s --data '{
"method": "condenser_api.get_account_count",
"params": [],
"id": 1
-}' --unix-socket /tmp/steemd.sock http:
+}' --unix-socket /tmp/hived.sock http:
```
See: [#3205](https://github.com/steemit/steem/pull/3205)
```ini
# example
-webserver-unix-endpoint = /tmp/steemd.sock
+webserver-unix-endpoint = /tmp/hived.sock
```
### `rpc-endpoint`
@@ -1009,7 +1009,7 @@ webserver-thread-pool-size = 32
### `enable-stale-production`
-Enable block production, even if the chain is stale. Leaving this `false` will keep `steemd` from producing blocks until we receive a recent block.
+Enable block production, even if the chain is stale. Leaving this `false` will keep `hived` from producing blocks until we receive a recent block.
```ini
# default
diff --git a/_tutorials-recipes/paginated-api-methods.md b/_tutorials-recipes/paginated-api-methods.md
index 225e2286ab28aecd3f55ffd3d2662ebab4a08c23..d969e6d716614830acfe0426615f471c12891879 100644
--- a/_tutorials-recipes/paginated-api-methods.md
+++ b/_tutorials-recipes/paginated-api-methods.md
@@ -39,7 +39,7 @@ curl -s --data '{
"order": "by_comment_voter"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
### Start (primarily `database_api.list_*`)
@@ -56,7 +56,7 @@ curl -s --data '{
"order": "by_comment_voter"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
Using this pattern, it is possible to get the entire list of votes, given enough time.
@@ -77,7 +77,7 @@ curl -s --data '{
"order": "by_comment_voter"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
Using `by_comment_voter` sorts by the `author/permlink`, then the `voter`, so the start param consists of `author`, `permlink`, `voter`.
@@ -104,7 +104,7 @@ The following methods have various forms of pagination:
* [`list_limit_orders`](#database_apilist_limit_orders)
* [`list_owner_histories`](#database_apilist_owner_histories)
* [`list_savings_withdrawals`](#database_apilist_savings_withdrawals)
- * [`list_sbd_conversion_requests`](#database_apilist_sbd_conversion_requests)
+ * [`list_hbd_conversion_requests`](#database_apilist_hbd_conversion_requests)
* [`list_vesting_delegation_expirations`](#database_apilist_vesting_delegation_expirations)
* [`list_vesting_delegations`](#database_apilist_vesting_delegations)
* [`list_votes`](#database_apilist_votes)
@@ -161,7 +161,7 @@ curl -s --data '{
"limit": 10
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To get the next page of objects (`"start": 20`):
@@ -176,7 +176,7 @@ curl -s --data '{
"limit": 10
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To get the latest 10 objects (`"start": -1`):
@@ -191,7 +191,7 @@ curl -s --data '{
"limit": 10
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#account_history_api.get_account_history' | relative_url }})
@@ -216,7 +216,7 @@ curl -s --data '{
"order": "by_name"
},
"id":1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of accounts by name (assuming `alice` is the last entry in the previous page):
@@ -231,7 +231,7 @@ curl -s --data '{
"order": "by_name"
},
"id":1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
When using `order` of `by_proxy`, the `start` param must be an array with the first element of the account being proxied to and the second being the first account to page from. Thus, to get the first page of accounts that proxy to `alice`:
@@ -246,7 +246,7 @@ curl -s --data '{
"order": "by_proxy"
},
"id":1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
Then, to get the second page, assuming `bob` is the last account in the first result:
@@ -261,7 +261,7 @@ curl -s --data '{
"order": "by_proxy"
},
"id":1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
**Note:** Using `order` of `by_proxy` only orders the objects by proxy, it does not filter them (nor should it).
@@ -278,7 +278,7 @@ curl -s --data '{
"order": "by_next_vesting_withdrawal"
},
"id":1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of accounts by next vesting withdrawal:
@@ -293,7 +293,7 @@ curl -s --data '{
"order": "by_next_vesting_withdrawal"
},
"id":1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#database_api.list_accounts' | relative_url }})
@@ -317,7 +317,7 @@ curl -s --data '{
"order": "by_account"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of accounts by name (assuming `alice` is the last entry in the previous page):
@@ -332,7 +332,7 @@ curl -s --data '{
"order": "by_account"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the first 10 accounts by effective date then by name with an relevant recovery account request:
@@ -347,7 +347,7 @@ curl -s --data '{
"order": "by_effective_date"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#database_api.list_change_recovery_account_requests' | relative_url }})
@@ -371,7 +371,7 @@ curl -s --data '{
"order": "by_cashout_time"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of posts/comments by cashout time (assuming `2019-09-11T03:13:03`, `alice`, `alice-permlink` is the last `timestamp`, `author`, `permlink` entry in the previous page):
@@ -386,7 +386,7 @@ curl -s --data '{
"order": "by_cashout_time"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the first 10 posts/comments by permlink:
@@ -401,7 +401,7 @@ curl -s --data '{
"order": "by_permlink"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of posts/comments by permlink (assuming `alice`, `alice-permlink` is the last entry in the previous page):
@@ -416,7 +416,7 @@ curl -s --data '{
"order": "by_permlink"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the first 10 posts/comments by root post:
@@ -431,7 +431,7 @@ curl -s --data '{
"order": "by_root"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of posts/comments by root post:
@@ -446,7 +446,7 @@ curl -s --data '{
"order": "by_root"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the first 10 posts/comments by parent post:
@@ -461,7 +461,7 @@ curl -s --data '{
"order": "by_parent"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of posts/comments by parent post:
@@ -476,7 +476,7 @@ curl -s --data '{
"order": "by_parent"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#database_api.list_comments' | relative_url }})
@@ -498,7 +498,7 @@ curl -s --data '{
"order": "by_account"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of accounts (assuming `alice` is the last entry in the previous page):
@@ -513,7 +513,7 @@ curl -s --data '{
"order": "by_account"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the first 10 accounts by effective date:
@@ -528,7 +528,7 @@ curl -s --data '{
"order": "by_effective_date"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of accounts (assuming `2019-09-12T00:00:00`, `alice` is the last entry in the previous page):
@@ -543,7 +543,7 @@ curl -s --data '{
"order": "by_effective_date"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#database_api.list_decline_voting_rights_requests' | relative_url }})
@@ -565,7 +565,7 @@ curl -s --data '{
"order": "by_from_id"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of accounts (assuming `alice`, `99` is the last entry in the previous page):
@@ -580,7 +580,7 @@ curl -s --data '{
"order": "by_from_id"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the first 10 escrows ordered by `ratification_deadline`:
@@ -595,7 +595,7 @@ curl -s --data '{
"order": "by_ratification_deadline"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of escrows (assuming `true`, `2019-09-12T00:00:00`, `99` is the last entry in the previous page):
@@ -610,7 +610,7 @@ curl -s --data '{
"order": "by_ratification_deadline"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#database_api.list_escrows' | relative_url }})
@@ -632,10 +632,10 @@ curl -s --data '{
"order": "by_price"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
-To list the next page of limit orders (assuming `base` of `85.405 STEEM`, `quote` of `17.192 SBD` is the last price entry in the previous page):
+To list the next page of limit orders (assuming `base` of `85.405 HIVE`, `quote` of `17.192 HBD` is the last price entry in the previous page):
```bash
curl -s --data '{
@@ -650,7 +650,7 @@ curl -s --data '{
"order": "by_price"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the first 10 limit ordered by `account`, `order_id`:
@@ -665,7 +665,7 @@ curl -s --data '{
"order": "by_account"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of limit orders (assuming `alice`, `1567828370` is the last entry in the previous page):
@@ -680,7 +680,7 @@ curl -s --data '{
"order": "by_account"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#database_api.list_limit_orders' | relative_url }})
@@ -698,7 +698,7 @@ curl -s --data '{
"limit": 10
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of owner histories (assuming `alice`, `2019-09-12T00:00:00` is the last entry in the previous page):
@@ -712,7 +712,7 @@ curl -s --data '{
"limit": 10
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#database_api.list_owner_histories' | relative_url }})
@@ -735,7 +735,7 @@ curl -s --data '{
"order": "by_from_id"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of withdrawals (assuming `alice`, `1567828370` is the last entry in the previous page):
@@ -750,7 +750,7 @@ curl -s --data '{
"order": "by_from_id"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the first 10 withdrawals ordered by `completed`, `from`:
@@ -765,7 +765,7 @@ curl -s --data '{
"order": "by_complete_from_id"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of withdrawals (assuming `2019-09-12T00:00:00`, `alice`, `1567828370` is the last entry in the previous page):
@@ -780,7 +780,7 @@ curl -s --data '{
"order": "by_complete_from_id"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the first 10 withdrawals ordered by `to`, `completed`:
@@ -795,7 +795,7 @@ curl -s --data '{
"order": "by_to_complete"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of withdrawals (assuming `alice`, `2019-09-12T00:00:00`, `1567828370` is the last entry in the previous page):
@@ -810,12 +810,12 @@ curl -s --data '{
"order": "by_to_complete"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#database_api.list_savings_withdrawals' | relative_url }})
-### `database_api.list_sbd_conversion_requests`
+### `database_api.list_hbd_conversion_requests`
* `by_account` - `start` requires 2 values: `account`, `request_id`
* `by_conversion_date` - `start` requires 2 values: `timestamp`, `request_id`
@@ -825,14 +825,14 @@ To list the first 10 conversions ordered by `from`:
```bash
curl -s --data '{
"jsonrpc": "2.0",
- "method": "database_api.list_sbd_conversion_requests",
+ "method": "database_api.list_hbd_conversion_requests",
"params": {
"start": ["", 0],
"limit": 10,
"order": "by_account"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of conversions (assuming `alice`, `1567828370` is the last entry in the previous page):
@@ -840,14 +840,14 @@ To list the next page of conversions (assuming `alice`, `1567828370` is the last
```bash
curl -s --data '{
"jsonrpc": "2.0",
- "method": "database_api.list_sbd_conversion_requests",
+ "method": "database_api.list_hbd_conversion_requests",
"params": {
"start": ["alice", 1567828370],
"limit": 10,
"order": "by_account"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the first 10 conversions ordered by `from`:
@@ -855,14 +855,14 @@ To list the first 10 conversions ordered by `from`:
```bash
curl -s --data '{
"jsonrpc": "2.0",
- "method": "database_api.list_sbd_conversion_requests",
+ "method": "database_api.list_hbd_conversion_requests",
"params": {
"start": ["1970-01-01T00:00:00", 0],
"limit": 10,
"order": "by_conversion_date"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of conversions (assuming `2019-09-12T00:00:00`, `1567828370` is the last entry in the previous page):
@@ -870,17 +870,17 @@ To list the next page of conversions (assuming `2019-09-12T00:00:00`, `156782837
```bash
curl -s --data '{
"jsonrpc": "2.0",
- "method": "database_api.list_sbd_conversion_requests",
+ "method": "database_api.list_hbd_conversion_requests",
"params": {
"start": ["2019-09-12T00:00:00", 1567828370],
"limit": 10,
"order": "by_conversion_date"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
-Also see: [API Definition]({{ '/apidefinitions/#database_api.list_sbd_conversion_requests' | relative_url }})
+Also see: [API Definition]({{ '/apidefinitions/#database_api.list_hbd_conversion_requests' | relative_url }})
### `database_api.list_vesting_delegation_expirations`
@@ -899,7 +899,7 @@ curl -s --data '{
"order": "by_expiration"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of delegation expirations (assuming `2019-09-12T00:00:00`, `1567828370` is the last entry in the previous page):
@@ -914,7 +914,7 @@ curl -s --data '{
"order": "by_expiration"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the first 10 delegation expirations ordered by `account`, `expiration`:
@@ -929,7 +929,7 @@ curl -s --data '{
"order": "by_account_expiration"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of delegation expirations (assuming `alice`, `2019-09-12T00:00:00`, `1567828370` is the last entry in the previous page):
@@ -944,7 +944,7 @@ curl -s --data '{
"order": "by_account_expiration"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#database_api.list_vesting_delegation_expirations' | relative_url }})
@@ -965,7 +965,7 @@ curl -s --data '{
"order": "by_delegation"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of delegations (assuming `alice`, `bob` is the last entry in the previous page):
@@ -980,7 +980,7 @@ curl -s --data '{
"order": "by_delegation"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#database_api.list_vesting_delegations' | relative_url }})
@@ -1006,7 +1006,7 @@ curl -s --data '{
"order": "by_comment_voter"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of votes:
@@ -1021,7 +1021,7 @@ curl -s --data '{
"order": "by_comment_voter"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the first 10 votes ordered by `comment`, `voter`, `symbol`:
@@ -1036,7 +1036,7 @@ curl -s --data '{
"order": "by_comment_voter_symbol"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of votes:
@@ -1046,12 +1046,12 @@ curl -s --data '{
"jsonrpc": "2.0",
"method": "database_api.list_votes",
"params": {
- "start": ["steemit", "firstpost", "red", "STEEM"],
+ "start": ["steemit", "firstpost", "red", "HIVE"],
"limit": 10,
"order": "by_comment_voter_symbol"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the first 10 votes ordered by `voter`, `comment`:
@@ -1066,7 +1066,7 @@ curl -s --data '{
"order": "by_voter_comment"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of votes:
@@ -1081,7 +1081,7 @@ curl -s --data '{
"order": "by_voter_comment"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the first 10 votes ordered by `voter`, `comment`, `symbol`:
@@ -1096,7 +1096,7 @@ curl -s --data '{
"order": "by_voter_comment_symbol"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of votes:
@@ -1106,12 +1106,12 @@ curl -s --data '{
"jsonrpc": "2.0",
"method": "database_api.list_votes",
"params": {
- "start": ["nxt2", "dan", "is-the-dao-going-to-be-doa", "STEEM"],
+ "start": ["nxt2", "dan", "is-the-dao-going-to-be-doa", "HIVE"],
"limit": 10,
"order": "by_voter_comment_symbol"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the first 10 votes ordered by `comment`, `symbol`, `voter`:
@@ -1126,7 +1126,7 @@ curl -s --data '{
"order": "by_comment_symbol_voter"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of votes:
@@ -1136,12 +1136,12 @@ curl -s --data '{
"jsonrpc": "2.0",
"method": "database_api.list_votes",
"params": {
- "start": ["dan", "is-the-dao-going-to-be-doa", "STEEM", "nxt2"],
+ "start": ["dan", "is-the-dao-going-to-be-doa", "HIVE", "nxt2"],
"limit": 10,
"order": "by_comment_symbol_voter"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the first 10 votes ordered by `voter`, `symbol`, `comment`:
@@ -1156,7 +1156,7 @@ curl -s --data '{
"order": "by_voter_symbol_comment"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of votes:
@@ -1166,12 +1166,12 @@ curl -s --data '{
"jsonrpc": "2.0",
"method": "database_api.list_votes",
"params": {
- "start": ["nxt2", "STEEM", "dan", "is-the-dao-going-to-be-doa"],
+ "start": ["nxt2", "HIVE", "dan", "is-the-dao-going-to-be-doa"],
"limit": 10,
"order": "by_voter_symbol_comment"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#database_api.list_votes' | relative_url }})
@@ -1193,7 +1193,7 @@ curl -s --data '{
"order": "by_withdraw_route"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of routes (assuming `alice`, `bob` is the last entry in the previous page):
@@ -1208,7 +1208,7 @@ curl -s --data '{
"order": "by_withdraw_route"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the first 10 routes ordered by `to_account`, `route_id`:
@@ -1223,7 +1223,7 @@ curl -s --data '{
"order": "by_destination"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of routes (assuming `bob`, `1567828370` is the last entry in the previous page):
@@ -1238,7 +1238,7 @@ curl -s --data '{
"order": "by_destination"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#database_api.list_withdraw_vesting_routes' | relative_url }})
@@ -1260,7 +1260,7 @@ curl -s --data '{
"order": "by_account_witness"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of votes (assuming `alice`, `bob` is the last entry in the previous page):
@@ -1275,7 +1275,7 @@ curl -s --data '{
"order": "by_account_witness"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the first 10 votes ordered by `account`, `witness`:
@@ -1290,7 +1290,7 @@ curl -s --data '{
"order": "by_witness_account"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of votes (assuming `bob`, `alice` is the last entry in the previous page):
@@ -1305,7 +1305,7 @@ curl -s --data '{
"order": "by_witness_account"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#database_api.list_witness_votes' | relative_url }})
@@ -1328,7 +1328,7 @@ curl -s --data '{
"order": "by_name"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of witnesses (assuming `alice` is the last entry in the previous page):
@@ -1343,7 +1343,7 @@ curl -s --data '{
"order": "by_name"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the first 10 witnesses ordered by `votes`, `account`:
@@ -1358,7 +1358,7 @@ curl -s --data '{
"order": "by_vote_name"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of witnesses (assuming `0`, `alice` is the last entry in the previous page):
@@ -1373,7 +1373,7 @@ curl -s --data '{
"order": "by_vote_name"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the first 10 witnesses ordered by `virtual_scheduled_time`, `account`:
@@ -1388,7 +1388,7 @@ curl -s --data '{
"order": "by_schedule_time"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of witnesses (assuming `473718186844702107410533306`, `alice` is the last entry in the previous page):
@@ -1403,7 +1403,7 @@ curl -s --data '{
"order": "by_schedule_time"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#database_api.list_witnesses' | relative_url }})
@@ -1427,7 +1427,7 @@ curl -s --data '{
"status": "active"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of votes (assuming `alice`, `99` is the last entry in the previous page):
@@ -1444,7 +1444,7 @@ curl -s --data '{
"status": "active"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the first 10 votes ordered ascending by `proposal_id`, `voter` filtered by status `active`:
@@ -1461,7 +1461,7 @@ curl -s --data '{
"status": "active"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of votes (assuming `99`, `alice` is the last entry in the previous page):
@@ -1478,7 +1478,7 @@ curl -s --data '{
"status": "active"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#database_api.list_proposal_votes' | relative_url }})
@@ -1505,7 +1505,7 @@ curl -s --data '{
"active"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of proposals (assuming `alice`, `99` is the last entry in the previous page):
@@ -1523,7 +1523,7 @@ curl -s --data '{
"active"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the first 10 proposals ordered ascending by `start_date`, `proposal_id`, filtered by status `active` (identical pattern to `by_end_date`):
@@ -1541,7 +1541,7 @@ curl -s --data '{
"active"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of proposals (assuming `2019-09-12T00:00:00`, `99` is the last entry in the previous page):
@@ -1559,7 +1559,7 @@ curl -s --data '{
"active"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the first 10 proposals ordered ascending by `vests`, `proposal_id`, filtered by status `active`:
@@ -1577,7 +1577,7 @@ curl -s --data '{
"active"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of proposals (assuming `1272060680484393`, `99` is the last entry in the previous page):
@@ -1595,7 +1595,7 @@ curl -s --data '{
"active"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#database_api.list_proposals' | relative_url }})
@@ -1617,7 +1617,7 @@ curl -s --data '{
"order": "by_symbol_id"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of contributions (assuming `{"nai": "@@422838704", "decimals": 0}`, `99` is the last entry in the previous page):
@@ -1632,7 +1632,7 @@ curl -s --data '{
"order": "by_symbol_id"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the first 10 contributions ordered by symbol, id:
@@ -1647,7 +1647,7 @@ curl -s --data '{
"order": "by_symbol_contributor"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of contributions (assuming `{"nai": "@@422838704", "decimals": 0}`, `alice`, `99` is the last entry in the previous page):
@@ -1662,7 +1662,7 @@ curl -s --data '{
"order": "by_symbol_contributor"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#database_api.list_smt_contributions' | relative_url }})
@@ -1683,7 +1683,7 @@ curl -s --data '{
"order": "by_symbol_time"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of emissions (assuming `{"nai": "@@422838704", "decimals": 0}`, `"2019-08-07T16:54:03"` is the last entry in the previous page):
@@ -1698,7 +1698,7 @@ curl -s --data '{
"order": "by_symbol_time"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#database_api.list_smt_token_emissions' | relative_url }})
@@ -1720,7 +1720,7 @@ curl -s --data '{
"order": "by_symbol"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of tokens (assuming `{"nai": "@@422838704", "decimals": 0}` is the last entry in the previous page):
@@ -1735,7 +1735,7 @@ curl -s --data '{
"order": "by_symbol"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the first 10 tokens ordered by control account:
@@ -1750,7 +1750,7 @@ curl -s --data '{
"order": "by_control_account"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page of tokens (assuming `alice`, `{"nai": "@@422838704", "decimals": 0}` is the last entry in the previous page):
@@ -1765,7 +1765,7 @@ curl -s --data '{
"order": "by_control_account"
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#database_api.list_smt_tokens' | relative_url }})
@@ -1783,7 +1783,7 @@ curl -s --data '{
"limit": 10
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page (assuming `alice` is the last entry in the previous page):
@@ -1797,7 +1797,7 @@ curl -s --data '{
"limit": 10
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#follow_api.get_account_reputations' | relative_url }})
@@ -1816,7 +1816,7 @@ curl -s --data '{
"limit": 10
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page (assuming `alice`, `99` is the last entry in the previous page):
@@ -1831,7 +1831,7 @@ curl -s --data '{
"limit": 10
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#follow_api.get_blog' | relative_url }})
@@ -1850,7 +1850,7 @@ curl -s --data '{
"limit": 10
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page (assuming `alice`, `99` is the last entry in the previous page):
@@ -1865,7 +1865,7 @@ curl -s --data '{
"limit": 10
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#follow_api.get_blog_entries' | relative_url }})
@@ -1884,7 +1884,7 @@ curl -s --data '{
"limit": 10
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page (assuming `alice`, `99` is the last entry in the previous page):
@@ -1899,7 +1899,7 @@ curl -s --data '{
"limit": 10
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#follow_api.get_feed' | relative_url }})
@@ -1918,7 +1918,7 @@ curl -s --data '{
"limit": 10
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page (assuming `alice`, `99` is the last entry in the previous page):
@@ -1933,7 +1933,7 @@ curl -s --data '{
"limit": 10
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#follow_api.get_feed_entries' | relative_url }})
@@ -1953,7 +1953,7 @@ curl -s --data '{
"limit": 10
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page (assuming `alice`, `bob` is the last entry in the previous page):
@@ -1969,7 +1969,7 @@ curl -s --data '{
"limit": 10
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#follow_api.get_followers' | relative_url }})
@@ -1989,7 +1989,7 @@ curl -s --data '{
"limit": 10
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page (assuming `alice`, `bob` is the last entry in the previous page):
@@ -2005,7 +2005,7 @@ curl -s --data '{
"limit": 10
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#follow_api.get_following' | relative_url }})
@@ -2023,7 +2023,7 @@ curl -s --data '{
"limit": 10
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page (assuming `alice` is the last entry in the previous page):
@@ -2037,7 +2037,7 @@ curl -s --data '{
"limit": 10
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#reputation_api.get_account_reputations' | relative_url }})
@@ -2060,7 +2060,7 @@ curl -s --data '{
"limit": 10
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page (assuming `alice-permlink` is the last entry in the previous page):
@@ -2076,7 +2076,7 @@ curl -s --data '{
"limit": 10
},
"id": 1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#tags_api.get_discussions_by_author_before_date' | relative_url }})
@@ -2095,7 +2095,7 @@ curl -s --data '{
"limit": 10
},
"id":1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page (assuming `alice-permlink` is the last entry in the previous page):
@@ -2110,7 +2110,7 @@ curl -s --data '{
"limit": 10
},
"id":1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#tags_api.get_replies_by_last_update' | relative_url }})
@@ -2128,7 +2128,7 @@ curl -s --data '{
"limit": 10
},
"id":1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
To list the next page (assuming `photography` is the last entry in the previous page):
@@ -2142,7 +2142,7 @@ curl -s --data '{
"limit": 10
},
"id":1
-}' https://api.steemit.com | jq
+}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#tags_api.get_trending_tags' | relative_url }})
diff --git a/_tutorials-recipes/plugin-and-api-list.md b/_tutorials-recipes/plugin-and-api-list.md
index a3326fd0d5ff7739a45a680ac92c6597b4030857..fb94d3e7a27a95642abb15bba289358fd72e3905 100644
--- a/_tutorials-recipes/plugin-and-api-list.md
+++ b/_tutorials-recipes/plugin-and-api-list.md
@@ -1,7 +1,7 @@
---
title: Plugin & API List
position: 1
-description: Run a `steemd` node with your preferred APIs.
+description: Run a `hived` node with your preferred APIs.
exclude: true
layout: full
canonical_url: plugin-and-api-list.html
@@ -9,7 +9,7 @@ canonical_url: plugin-and-api-list.html
*This is a list of the plugins, and their associated dependencies, required to enable specific apis.*
-**When setting up the config file `steemd` will enable the `chain`, `p2p`, and `webserver` plugins regardless of other dependencies.**
+**When setting up the config file `hived` will enable the `chain`, `p2p`, and `webserver` plugins regardless of other dependencies.**
## API's with their respective plugin dependencies
@@ -155,7 +155,7 @@ plugin = follow_api
### `market_history_api`
-* **Purpose:** Used to lookup market history information. Can return the market and trade history of the internal STEEM:SBD market. The order book, recent trades and the market volume is made available through this plugin.
+* **Purpose:** Used to lookup market history information. Can return the market and trade history of the internal HIVE:HBD market. The order book, recent trades and the market volume is made available through this plugin.
* **Requires:** `market_history` (automatic)
* **Exposed Methods:** [`market_history_api.*`]({{ '/apidefinitions/#apidefinitions-market-history-api' | relative_url}})
diff --git a/_tutorials-recipes/understanding-configuration-values.md b/_tutorials-recipes/understanding-configuration-values.md
index a07214ef96123c64019639d3a969d07527409019..0a28c7132235a97f82cf995c40518a5ef5f670f6 100644
--- a/_tutorials-recipes/understanding-configuration-values.md
+++ b/_tutorials-recipes/understanding-configuration-values.md
@@ -13,7 +13,7 @@ These values underpin the behavior of the entire blockchain. In a sense, each w
See: [config.hpp](https://github.com/steemit/steem/blob/master/libraries/protocol/include/steem/protocol/config.hpp)
-Usually, these configuration values are universally adhered to, but there are situations where these values can and should be altered, like in the case of deploying a new blockchain (typically a testnet). Some of the values that do not affect consensus, like [`STEEM_SOFT_MAX_COMMENT_DEPTH`](#STEEM_SOFT_MAX_COMMENT_DEPTH), are allowed to change to some extent.
+Usually, these configuration values are universally adhered to, but there are situations where these values can and should be altered, like in the case of deploying a new blockchain (typically a testnet). Some of the values that do not affect consensus, like [`HIVE_SOFT_MAX_COMMENT_DEPTH`](#HIVE_SOFT_MAX_COMMENT_DEPTH), are allowed to change to some extent.
### Sections
@@ -105,7 +105,7 @@ Fields not covered in this recipe are:
### Example Method Call
```bash
-curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.get_config", "params":[], "id":1}' https://api.steemit.com
+curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.get_config", "params":[], "id":1}' https://api.hive.blog
```
### Example Output
@@ -127,7 +127,7 @@ curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.get_config", "params":
"SMT_DEFAULT_PERCENT_CURATION_REWARDS":2500,
"SMT_INITIAL_VESTING_PER_UNIT":1000000,
"SMT_BALLAST_SUPPLY_PERCENT":10,
- "SBD_SYMBOL":{"nai":"@@000000013", "precision":3},
+ "HBD_SYMBOL":{"nai":"@@000000013", "precision":3},
"HIVE_INITIAL_VOTE_POWER_RATE":40,
"HIVE_REDUCED_VOTE_POWER_RATE":10,
"HIVE_100_PERCENT":10000,
@@ -168,11 +168,11 @@ curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.get_config", "params":
"HIVE_CONVERSION_DELAY_PRE_HF_16":"604800000000",
"HIVE_CREATE_ACCOUNT_DELEGATION_RATIO":5,
"HIVE_CREATE_ACCOUNT_DELEGATION_TIME":"2592000000000",
- "HIVE_CREATE_ACCOUNT_WITH_STEEM_MODIFIER":30,
+ "HIVE_CREATE_ACCOUNT_WITH_HIVE_MODIFIER":30,
"HIVE_CURATE_APR_PERCENT":3875,
"HIVE_CUSTOM_OP_DATA_MAX_LENGTH":8192,
"HIVE_CUSTOM_OP_ID_MAX_LENGTH":32,
- "HIVE_DEFAULT_SBD_INTEREST_RATE":1000,
+ "HIVE_DEFAULT_HBD_INTEREST_RATE":1000,
"HIVE_DOWNVOTE_POOL_PERCENT_HF21":2500,
"HIVE_EQUIHASH_K":6,
"HIVE_EQUIHASH_N":140,
@@ -188,7 +188,7 @@ curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.get_config", "params":
"HIVE_INIT_MINER_NAME":"initminer",
"HIVE_INIT_PUBLIC_KEY_STR":"TST6LLegbAgLAy28EHrffBVuANFWcFgmqRMW13wBmTExqFE9SCkg4",
"HIVE_INIT_SUPPLY":"250000000000",
- "HIVE_SBD_INIT_SUPPLY":"7000000000",
+ "HIVE_HBD_INIT_SUPPLY":"7000000000",
"HIVE_INIT_TIME":"1970-01-01T00:00:00",
"HIVE_IRREVERSIBLE_THRESHOLD":7500,
"HIVE_LIQUIDITY_APR_PERCENT":750,
@@ -249,7 +249,7 @@ curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.get_config", "params":
"HIVE_MINING_TIME":"2016-01-01T00:00:00",
"HIVE_MIN_LIQUIDITY_REWARD":{"amount":"1200000", "precision":3, "nai":"@@000000021"},
"HIVE_MIN_LIQUIDITY_REWARD_PERIOD_SEC":60000000,
- "HIVE_MIN_PAYOUT_SBD":{"amount":"20", "precision":3, "nai":"@@000000013"},
+ "HIVE_MIN_PAYOUT_HBD":{"amount":"20", "precision":3, "nai":"@@000000013"},
"HIVE_MIN_POW_REWARD":{"amount":"1000", "precision":3, "nai":"@@000000021"},
"HIVE_MIN_PRODUCER_REWARD":{"amount":"1000", "precision":3, "nai":"@@000000021"},
"HIVE_MIN_TRANSACTION_EXPIRATION_LIMIT":15,
@@ -268,7 +268,7 @@ curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.get_config", "params":
"HIVE_POW_APR_PERCENT":750,
"HIVE_PRODUCER_APR_PERCENT":750,
"HIVE_PROXY_TO_SELF_ACCOUNT":"",
- "HIVE_SBD_INTEREST_COMPOUND_INTERVAL_SEC":2592000,
+ "HIVE_HBD_INTEREST_COMPOUND_INTERVAL_SEC":2592000,
"HIVE_SECONDS_PER_YEAR":31536000,
"HIVE_PROPOSAL_FUND_PERCENT_HF0":0,
"HIVE_PROPOSAL_FUND_PERCENT_HF21":1000,
@@ -280,10 +280,10 @@ curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.get_config", "params":
"HIVE_ROOT_POST_PARENT":"",
"HIVE_SAVINGS_WITHDRAW_REQUEST_LIMIT":100,
"HIVE_SAVINGS_WITHDRAW_TIME":"259200000000",
- "HIVE_SBD_START_PERCENT_HF14":200,
- "HIVE_SBD_START_PERCENT_HF20":900,
- "HIVE_SBD_STOP_PERCENT_HF14":500,
- "HIVE_SBD_STOP_PERCENT_HF20":1000,
+ "HIVE_HBD_START_PERCENT_HF14":200,
+ "HIVE_HBD_START_PERCENT_HF20":900,
+ "HIVE_HBD_STOP_PERCENT_HF14":500,
+ "HIVE_HBD_STOP_PERCENT_HF20":1000,
"HIVE_SECOND_CASHOUT_WINDOW":259200,
"HIVE_SOFT_MAX_COMMENT_DEPTH":255,
"HIVE_START_MINER_VOTING_BLOCK":864000,
@@ -325,7 +325,7 @@ curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.get_config", "params":
"HIVE_DECAY_BACKSTOP_PERCENT":9000,
"HIVE_BLOCK_GENERATION_POSTPONED_TX_LIMIT":5,
"HIVE_PENDING_TRANSACTION_EXECUTION_LIMIT":200000,
- "HIVE_TREASURY_ACCOUNT":"steem.dao",
+ "HIVE_TREASURY_ACCOUNT":"hive.fund",
"HIVE_TREASURY_FEE":10000,
"HIVE_PROPOSAL_MAINTENANCE_PERIOD":3600,
"HIVE_PROPOSAL_MAINTENANCE_CLEANUP":86400,
diff --git a/_tutorials-recipes/understanding-dynamic-global-properties.md b/_tutorials-recipes/understanding-dynamic-global-properties.md
index f6e2a66237731f680b4fb3631354a880b6063833..7fe05b946426ae674b2182fdb73288a77aeee489 100644
--- a/_tutorials-recipes/understanding-dynamic-global-properties.md
+++ b/_tutorials-recipes/understanding-dynamic-global-properties.md
@@ -100,10 +100,10 @@ Fields not covered in this recipe are:
### Example Method Call
-To retrieve the current results for [`condenser_api.get_dynamic_global_properties`](https://developers.steem.io/apidefinitions/#condenser_api.get_dynamic_global_properties), we can retrieve the current state information using `curl`:
+To retrieve the current results for [`condenser_api.get_dynamic_global_properties`](https://developers.hive.io/apidefinitions/#condenser_api.get_dynamic_global_properties), we can retrieve the current state information using `curl`:
```bash
-curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.get_dynamic_global_properties", "params":[], "id":1}' https://api.steemit.com
+curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.get_dynamic_global_properties", "params":[], "id":1}' https://api.hive.blog
```
### Example Output
@@ -119,20 +119,20 @@ curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.get_dynamic_global_pro
"current_witness":"xeldal",
"total_pow":514415,
"num_pow_witnesses":172,
- "virtual_supply":"283434761.199 STEEM",
- "current_supply":"271729171.190 STEEM",
- "confidential_supply":"0.000 STEEM",
- "current_sbd_supply":"15498201.173 SBD",
- "confidential_sbd_supply":"0.000 SBD",
- "total_vesting_fund_steem":"192913644.627 STEEM",
+ "virtual_supply":"283434761.199 HIVE",
+ "current_supply":"271729171.190 HIVE",
+ "confidential_supply":"0.000 HIVE",
+ "current_hbd_supply":"15498201.173 HBD",
+ "confidential_hbd_supply":"0.000 HBD",
+ "total_vesting_fund_hive":"192913644.627 HIVE",
"total_vesting_shares":"391296886352.617261 VESTS",
- "total_reward_fund_steem":"0.000 STEEM",
- "init_sbd_supply":"7000000.000 TBD",
+ "total_reward_fund_hive":"0.000 HIVE",
+ "init_hbd_supply":"7000000.000 TBD",
"total_reward_shares2":"0",
"pending_rewarded_vesting_shares":"379159224.860656 VESTS",
- "pending_rewarded_vesting_steem":"185294.019 STEEM",
- "sbd_interest_rate":0,
- "sbd_print_rate":2933,
+ "pending_rewarded_vesting_hive":"185294.019 HIVE",
+ "hbd_interest_rate":0,
+ "hbd_print_rate":2933,
"maximum_block_size":65536,
"current_aslot":24315228,
"recent_slots_filled":"340282366920938463463374607431768211400",
@@ -145,8 +145,8 @@ curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.get_dynamic_global_pro
"delegation_return_period":432000,
"reverse_auction_seconds":300,
"available_account_subsidies":137414104,
- "sbd_stop_percent":1000,
- "sbd_start_percent":900,
+ "hbd_stop_percent":1000,
+ "hbd_start_percent":900,
"next_maintenance_time":"2019-11-15T01:44:39",
"last_budget_time":"2019-11-15T00:44:39",
"content_reward_percent":6500,
diff --git a/_tutorials-recipes/understanding-transaction-status.md b/_tutorials-recipes/understanding-transaction-status.md
index da4bd8d2aa1976a6c8420049f9340c6dac16eb51..01088217507dd18efe01d64d2a9fbe2eeed40959 100644
--- a/_tutorials-recipes/understanding-transaction-status.md
+++ b/_tutorials-recipes/understanding-transaction-status.md
@@ -1,7 +1,7 @@
---
title: Understanding Transaction Status
position: 1
-description: How to use the Steem API to check the status of a transaction for a given `trx_id` value.
+description: How to use the Hive API to check the status of a transaction for a given `trx_id` value.
exclude: true
layout: full
canonical_url: understanding-transaction-status.html
@@ -81,7 +81,7 @@ The combination of [`condenser_api.broadcast_transaction`]({{ '/apidefinitions/#
Now that we have `trx_id`, we can poll `transaction_status_api.find_transaction`, for example:
```bash
-curl -s --data '{"jsonrpc":"2.0", "method":"transaction_status_api.find_transaction", "params":{"transaction_id":"eba610257ad6c60d89f84ce54d3e10b52c18d4cc"}, "id":1}' https://api.steemit.com
+curl -s --data '{"jsonrpc":"2.0", "method":"transaction_status_api.find_transaction", "params":{"transaction_id":"eba610257ad6c60d89f84ce54d3e10b52c18d4cc"}, "id":1}' https://api.hive.blog
```
Which returns:
@@ -93,7 +93,7 @@ Which returns:
We can provide the expiration:
```bash
-curl -s --data '{"jsonrpc":"2.0", "method":"transaction_status_api.find_transaction", "params":{"transaction_id":"eba610257ad6c60d89f84ce54d3e10b52c18d4cc","expiration":"2018-10-15T19:52:09"}, "id":1}' https://api.steemit.com
+curl -s --data '{"jsonrpc":"2.0", "method":"transaction_status_api.find_transaction", "params":{"transaction_id":"eba610257ad6c60d89f84ce54d3e10b52c18d4cc","expiration":"2018-10-15T19:52:09"}, "id":1}' https://api.hive.blog
```
Which returns:
diff --git a/_tutorials-recipes/using-hivemind.md b/_tutorials-recipes/using-hivemind.md
index c17f3b7665772192d2e77b96ec85ca3084db29cc..827cc0fa60c9fa1876e5d5ccf0a43ad69b32eed6 100644
--- a/_tutorials-recipes/using-hivemind.md
+++ b/_tutorials-recipes/using-hivemind.md
@@ -9,9 +9,9 @@ canonical_url: using-hivemind.html
## Intro
-Hive is a "consensus interpretation" layer for the Steem blockchain, maintaining the state of social features such as post feeds, follows, and communities. Written in Python, it synchronizes an SQL database with chain state, providing developers with a more flexible/extensible alternative to the raw steemd API. This means that you can bypass steemd and access data in a more traditional way, for example, with SQL. But you can't use SQL on steemd. So Hivemind solves that problem. Hive does not support any queries to do with wallets, orders, escrow, keys, recovery, or account history.
+Hive is a "consensus interpretation" layer for the Hive blockchain, maintaining the state of social features such as post feeds, follows, and communities. Written in Python, it synchronizes an SQL database with chain state, providing developers with a more flexible/extensible alternative to the raw hived API. This means that you can bypass hived and access data in a more traditional way, for example, with SQL. But you can't use SQL on hived. So Hivemind solves that problem. Hive does not support any queries to do with wallets, orders, escrow, keys, recovery, or account history.
-A good source of additional information on hive and how to use it can be found in [this Steemit article](https://steemit.com/hivemind/@inertia/hivemind-queries) by @inertia.
+A good source of additional information on hive and how to use it can be found in [this Hive article](https://hive.blog/hivemind/@inertia/hivemind-queries) by @inertia.
#### Supported API functionality:
@@ -33,7 +33,7 @@ A good source of additional information on hive and how to use it can be found i
**Additional functions available within hive-steem library**
-The majority of these functions are reliant on steemd so any changes to steemd would affect these function calls. The only two functions not directly reliant on steemd are `stream_blocks` and `get_steem_per_mvest`.
+The majority of these functions are reliant on hived so any changes to hived would affect these function calls. The only two functions not directly reliant on hived are `stream_blocks` and `get_hive_per_mvest`.
* get_accounts
* get_all_account_names
@@ -45,9 +45,9 @@ The majority of these functions are reliant on steemd so any changes to steemd w
* head_block
* last_irreversible
* gdgp_extended
-* get_steem_per_mvest
+* get_hive_per_mvest
* get_feed_price
-* get_steem_price
+* get_hive_price
* get_blocks_range
Detailed information on the hive-steem library can be found in the [Hivemind repo](https://github.com/steemit/hivemind/blob/master/hive/steem/client.py).
@@ -83,10 +83,10 @@ $ createdb hive
$ export DATABASE_URL=postgresql://user:pass@localhost:5432/hive
```
-By default Hivemind will connect to the mainnet [https://api.steemit.com](https://api.steemit.com) but if required you can change this to connect to a testnet. To do this set the environment variable as described below.
+By default Hivemind will connect to the mainnet [https://api.hive.blog](https://api.hive.blog) but if required you can change this to connect to a testnet. To do this set the environment variable as described below.
```bash
-$ export STEEMD_URL=https://testnet.steem.vc
+$ export HIVED_URL=https://testnet.steem.vc
```
Now that the basic setup is done you are able to sync the database.
diff --git a/_tutorials-recipes/using-multisignatire-accounts.md b/_tutorials-recipes/using-multisignatire-accounts.md
index 7d7ae6b9b4a8fc407f0160147bcb71c8598773b1..2f1bf9505706b1a852ceea8906a264b1e9377656 100644
--- a/_tutorials-recipes/using-multisignatire-accounts.md
+++ b/_tutorials-recipes/using-multisignatire-accounts.md
@@ -1,10 +1,10 @@
---
title: Using Multisignature Accounts
position: 1
-description: How to set up and use multisignature accounts on Steem Blockchain.
+description: How to set up and use multisignature accounts on Hive Blockchain.
exclude: true
layout: hive-post
-canonical_url: https://steemit.com/utopian-io/@crokkon/steem-multi-signature-transaction-guide-for-beem-python-1546636997324
+canonical_url: https://hive.blog/utopian-io/@crokkon/steem-multi-signature-transaction-guide-for-beem-python-1546636997324
---
{{'@crokkon/steem-multi-signature-transaction-guide-for-beem-python-1546636997324' | hive_post}}
diff --git a/_tutorials-recipes/vest-to-steem.md b/_tutorials-recipes/vest-to-steem.md
index 8987f6d24a9a7a0a794c1eead01a1d1610163296..93f4c0c5c79d3c6a7edc07951cb4957429e6620b 100644
--- a/_tutorials-recipes/vest-to-steem.md
+++ b/_tutorials-recipes/vest-to-steem.md
@@ -1,7 +1,7 @@
---
-title: Converting VESTS to STEEM
+title: Converting VESTS to HIVE
position: 1
-description: How to convert VESTS to STEEM or STEEM POWER
+description: How to convert VESTS to HIVE or HIVE POWER
exclude: true
layout: full
canonical_url: vest-to-steem.html
@@ -9,12 +9,12 @@ canonical_url: vest-to-steem.html
### Intro
-Steem's has base unit is VESTS and usually user doesn't know about this unit because everything is dynamically calucated and presented in STEEM form for convenience of the user. In this recipe we will talk about how converting is working behind the scenes on all Steem apps. Dynamic Global Properties are used in this recipe to fetch the current values of global blockchain properties.
+Hive's has base unit is VESTS and usually user doesn't know about this unit because everything is dynamically calucated and presented in HIVE form for convenience of the user. In this recipe we will talk about how converting is working behind the scenes on all Hive apps. Dynamic Global Properties are used in this recipe to fetch the current values of global blockchain properties.
## Steps
1. [**Get Dynamic Global Properties**](#get-global) Fetch current values of global blockchain properties
-1. [**Formulate VESTS_TO_STEEM**](#formula) Formulate function that will convert given VESTS to STEEM.
+1. [**Formulate VESTS_TO_HIVE**](#formula) Formulate function that will convert given VESTS to HIVE.
#### 1. Get Dynamic Global Properties
@@ -22,7 +22,7 @@ Steem's has base unit is VESTS and usually user doesn't know about this unit bec
Following method can be used to fetch global values
```bash
-curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.get_dynamic_global_properties", "params":[], "id":1}' https://api.steemit.com
+curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.get_dynamic_global_properties", "params":[], "id":1}' https://api.hive.blog
```
##### Example Output
@@ -38,19 +38,19 @@ curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.get_dynamic_global_pro
"current_witness":"xeldal",
"total_pow":514415,
"num_pow_witnesses":172,
- "virtual_supply":"283434761.199 STEEM",
- "current_supply":"271729171.190 STEEM",
- "confidential_supply":"0.000 STEEM",
- "current_sbd_supply":"15498201.173 SBD",
- "confidential_sbd_supply":"0.000 SBD",
- "total_vesting_fund_steem":"192913644.627 STEEM",
+ "virtual_supply":"283434761.199 HIVE",
+ "current_supply":"271729171.190 HIVE",
+ "confidential_supply":"0.000 HIVE",
+ "current_hbd_supply":"15498201.173 HBD",
+ "confidential_hbd_supply":"0.000 HBD",
+ "total_vesting_fund_hive":"192913644.627 HIVE",
"total_vesting_shares":"391296886352.617261 VESTS",
- "total_reward_fund_steem":"0.000 STEEM",
+ "total_reward_fund_hive":"0.000 HIVE",
"total_reward_shares2":"0",
"pending_rewarded_vesting_shares":"379159224.860656 VESTS",
- "pending_rewarded_vesting_steem":"185294.019 STEEM",
- "sbd_interest_rate":0,
- "sbd_print_rate":2933,
+ "pending_rewarded_vesting_hive":"185294.019 HIVE",
+ "hbd_interest_rate":0,
+ "hbd_print_rate":2933,
"maximum_block_size":65536,
"current_aslot":24315228,
"recent_slots_filled":"340282366920938463463374607431768211400",
@@ -64,14 +64,14 @@ curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.get_dynamic_global_pro
}
```
-#### 2. Formulate VESTS_TO_STEEM
+#### 2. Formulate VESTS_TO_HIVE
-From above results we have everything we need to calculate STEEM from given VESTS value.
+From above results we have everything we need to calculate HIVE from given VESTS value.
-Let's say we have been given `availableVESTS` variable, value in VESTS and we want to convert that to STEEM. By using values from above returned object our formula would be as follows:
+Let's say we have been given `availableVESTS` variable, value in VESTS and we want to convert that to HIVE. By using values from above returned object our formula would be as follows:
```
-vestSteem = ( result.total_vesting_fund_steem x availableVESTS ) / result.total_vesting_shares
+vestHive = ( result.total_vesting_fund_hive x availableVESTS ) / result.total_vesting_shares
```
That's it!
diff --git a/_tutorials-recipes/virtual-operations-when-streaming-blockchain-transactions.md b/_tutorials-recipes/virtual-operations-when-streaming-blockchain-transactions.md
index cde91f958c2f51667417ee1377563277cb2bedd5..e1be02218c20562a2c4c180495c6b1b762ac73ac 100644
--- a/_tutorials-recipes/virtual-operations-when-streaming-blockchain-transactions.md
+++ b/_tutorials-recipes/virtual-operations-when-streaming-blockchain-transactions.md
@@ -11,9 +11,9 @@ This recipe will take you through the process of streaming blockchain transactio
## Intro
-There are two points from which Steem blockchain transactions can be streamed to give a "live" view of what's happening on the blockchain. The first is from the `head block` which is the most recent block created on the chain (every 3 seconds when a new block is created). The second, is from the `last irreversible block` which is the newest block that has been confirmed by a sufficient number of block producers so that it can no longer be invalidated. This is not a live view but it is normally not far behind the head block number.
+There are two points from which Hive blockchain transactions can be streamed to give a "live" view of what's happening on the blockchain. The first is from the `head block` which is the most recent block created on the chain (every 3 seconds when a new block is created). The second, is from the `last irreversible block` which is the newest block that has been confirmed by a sufficient number of block producers so that it can no longer be invalidated. This is not a live view but it is normally not far behind the head block number.
-There is already a [javascript tutorial](https://developers.steem.io/tutorials-javascript/stream_blockchain_transactions) on the [devportal](https://developers.steem.io/) describing how to stream blockchain transactions. This recipe will go into further detail on operations on each block and more specifically the virtual operations that are executed with every new block. We will also assume that you have already run through the basic tutorials on the Steem blockchain and will focus more on the specific functions and outputs pertinent to this topic.
+There is already a [javascript tutorial](https://developers.hive.io/tutorials-javascript/stream_blockchain_transactions) on the [devportal](https://developers.hive.io/) describing how to stream blockchain transactions. This recipe will go into further detail on operations on each block and more specifically the virtual operations that are executed with every new block. We will also assume that you have already run through the basic tutorials on the Hive blockchain and will focus more on the specific functions and outputs pertinent to this topic.
## Steps
@@ -87,10 +87,10 @@ Virtual operations (curation rewards, etc) are derived from blockchain activity,
`steem-python` provides a very simple method to stream virtual or any other operations directly:
```python
-from steem import Steem
+from steem import Hive
from steem.blockchain import Blockchain
import pprint
-s = Steem()
+s = Hive()
b = Blockchain(s)
for op in b.stream('author_reward'):
@@ -106,8 +106,8 @@ With result:
"author": "hopehash",
"block_num": 25145619,
"permlink": "hopehash-btc-1-057",
- "sbd_payout": "0.000 SBD",
- "steem_payout": "2.341 STEEM",
+ "hbd_payout": "0.000 HBD",
+ "hive_payout": "2.341 HIVE",
"timestamp": "2018-08-17T17:11:36.18",
"trx_id": "0000000000000000000000000000000000000000",
"type": "author_reward",
diff --git a/_tutorials-ruby/blog_feed.md b/_tutorials-ruby/blog_feed.md
index b6281b534691e91b2cd8fe56e495b0a31d4ddb09..963eb5ebdf3dc7f069c8581b6cc81a26a96c166e 100644
--- a/_tutorials-ruby/blog_feed.md
+++ b/_tutorials-ruby/blog_feed.md
@@ -22,7 +22,7 @@ Finally, it creates the canonical URL by combining `parent_permlink`, `author`,
### To Run
-First, set up your workstation using the steps provided in [Getting Started](https://developers.steem.io/tutorials-ruby/getting_started). Then you can create and execute the script (or clone from this repository):
+First, set up your workstation using the steps provided in [Getting Started](https://developers.hive.io/tutorials-ruby/getting_started). Then you can create and execute the script (or clone from this repository):
```bash
git clone git@github.com:steemit/devportal-tutorials-rb.git
@@ -35,30 +35,30 @@ ruby blog_feed.rb steemitblog
```
2018-03-24 17:30:36 UTC
- Post: Happy 2nd Birthday Steem Blockchain
+ Post: Happy 2nd Birthday Hive Blockchain
By: steemitblog
Words: 301
- https://steemit.com/steem/@steemitblog/happy-2nd-birthday-steem-blockchain
+ https://hive.blog/steem/@steemitblog/happy-2nd-birthday-steem-blockchain
2018-03-07 20:56:36 UTC
- Post: Join Team Steemit at TokenFest!
+ Post: Join Team Hive at TokenFest!
By: steemitblog
Words: 104
- https://steemit.com/steemit/@steemitblog/join-team-steemit-at-tokenfest
+ https://hive.blog/steemit/@steemitblog/join-team-steemit-at-tokenfest
2018-02-27 20:18:36 UTC
Post: Smart Media Token Development
By: steemitblog
Words: 699
- https://steemit.com/smt/@steemitblog/smart-media-token-development
+ https://hive.blog/smt/@steemitblog/smart-media-token-development
2018-02-25 20:55:24 UTC
- Reblog: I filmed this video of @ned @pkattera and @sneak talking about the SMTs and the future of Steemit
+ Reblog: I filmed this video of @ned @pkattera and @sneak talking about the SMTs and the future of Hive
By: ruwan
Words: 89
- https://steemit.com/steemit/@ruwan/i-filmed-this-video-of-ned-pkattera-and-sneak-talking-about-the-smts-and-the-future-of-steemit
+ https://hive.blog/steemit/@ruwan/i-filmed-this-video-of-ned-pkattera-and-sneak-talking-about-the-smts-and-the-future-of-steemit
2018-02-22 17:41:00 UTC
- Post: STEEM 및 SBD가 GOPAX에 상장되었습니다
+ Post: HIVE 및 HBD가 GOPAX에 상장되었습니다
By: steemitblog
Words: 317
- https://steemit.com/gopax/@steemitblog/steem-sbd-gopa
+ https://hive.blog/gopax/@steemitblog/steem-hbd-gopa
```
diff --git a/_tutorials-ruby/edit_content_patching.md b/_tutorials-ruby/edit_content_patching.md
index 19b4a8fa702218195c0d38e94407339a6ab58a84..dafab4b39b5dfd30839872f5bcf71ea94437db88 100644
--- a/_tutorials-ruby/edit_content_patching.md
+++ b/_tutorials-ruby/edit_content_patching.md
@@ -12,7 +12,7 @@ title: How to edit a Post
position: 5
exclude: true
layout: main-script
-description: Patching changes to a post on Steem.
+description: Patching changes to a post on Hive.
main_script: tutorials-ruby/edit_content_patching.rb
main_type: ruby
main_script_anchor: Script
@@ -37,7 +37,7 @@ As stated earlier, you will need to change `broadcast` to `true`. You can also
### To Run
-First, set up your workstation using the steps provided in [Getting Started](https://developers.steem.io/tutorials-ruby/getting_started). Then you can create and execute the script (or clone from this repository):
+First, set up your workstation using the steps provided in [Getting Started](https://developers.hive.io/tutorials-ruby/getting_started). Then you can create and execute the script (or clone from this repository):
```bash
git clone git@github.com:steemit/devportal-tutorials-rb.git
diff --git a/_tutorials-ruby/follow_another_user.md b/_tutorials-ruby/follow_another_user.md
index dde244a45080c7c278c51edf3f9512bdaef04c09..05c48ddf1ef89714205df2b09bdb319a08323c17 100644
--- a/_tutorials-ruby/follow_another_user.md
+++ b/_tutorials-ruby/follow_another_user.md
@@ -59,7 +59,7 @@ We also specify `blog` to tell the API method that we're looking for followed, n
### To Run
-First, set up your workstation using the steps provided in [Getting Started](https://developers.steem.io/tutorials-ruby/getting_started). Then you can create and execute the script (or clone from this repository):
+First, set up your workstation using the steps provided in [Getting Started](https://developers.hive.io/tutorials-ruby/getting_started). Then you can create and execute the script (or clone from this repository):
```bash
git clone git@github.com:steemit/devportal-tutorials-rb.git
diff --git a/_tutorials-ruby/get_account_comments.md b/_tutorials-ruby/get_account_comments.md
index 2f7372993e220b921c52ad42ff833dacb9a96332..78dd317a5b7db69018c574b2d6b4276d0790a3c7 100644
--- a/_tutorials-ruby/get_account_comments.md
+++ b/_tutorials-ruby/get_account_comments.md
@@ -72,17 +72,17 @@ Reply to @saarliconvalley in discussion: "The Empire has sent you a friend reque
body_length: 33 (7 words)
replied at: 2018-03-27T16:02:45
net_votes: 0
- https://steemit.com/@lordvader/re-saarliconvalley-re-lordvader-2018327t16025594z-20180327t160243538z
+ https://hive.blog/@lordvader/re-saarliconvalley-re-lordvader-2018327t16025594z-20180327t160243538z
Reply to @teenovision in discussion: "The Empire has sent you a friend request."
body_length: 90 (16 words)
replied at: 2018-03-27T15:53:39, updated at: 2018-03-30T17:25:18, active at: 2018-03-30T17:25:18
net_votes: 0
- https://steemit.com/@lordvader/re-teenovision-re-lordvader-the-empire-has-sent-you-a-friend-request-20180327t155339532z
+ https://hive.blog/@lordvader/re-teenovision-re-lordvader-the-empire-has-sent-you-a-friend-request-20180327t155339532z
Reply to @gtg in discussion: "gtg witness log"
body_length: 130 (25 words)
replied at: 2018-04-06T04:29:00
net_votes: 2
- https://steemit.com/@lordvader/re-gtg-ffdhu-gtg-witness-log-20180406t042906872z
+ https://hive.blog/@lordvader/re-gtg-ffdhu-gtg-witness-log-20180406t042906872z
```
### Comment fields
@@ -101,7 +101,7 @@ In our example script, we want more detail than this, so for every `comment`, we
### To Run
-First, set up your workstation using the steps provided in [Getting Started](https://developers.steem.io/tutorials-ruby/getting_started). Then you can create and execute the script (or clone from this repository):
+First, set up your workstation using the steps provided in [Getting Started](https://developers.hive.io/tutorials-ruby/getting_started). Then you can create and execute the script (or clone from this repository):
* ``
diff --git a/_tutorials-ruby/get_account_replies.md b/_tutorials-ruby/get_account_replies.md
index 25168a8564df63a4f743699f33c17d4e918801f0..b67e1278dcf15c364fa176668ea0b863b0843f0e 100644
--- a/_tutorials-ruby/get_account_replies.md
+++ b/_tutorials-ruby/get_account_replies.md
@@ -72,17 +72,17 @@ Reply by @steemitboard in discussion: "The Empire has sent you a friend request.
body_length: 677 (99 words)
replied at: 2018-04-28T04:32:42
net_votes: 0
- https://steemit.com/@steemitboard/steemitboard-notify-lordvader-20180428t043241000z
+ https://hive.blog/@steemitboard/steemitboard-notify-lordvader-20180428t043241000z
Reply by @jedimasteryoda in discussion: "The Empire has sent you a friend request."
body_length: 65 (11 words)
replied at: 2018-06-07T18:47:54
net_votes: 0
- https://steemit.com/@jedimasteryoda/re-lordvader-the-empire-has-sent-you-a-friend-request-20180607t184754944z
+ https://hive.blog/@jedimasteryoda/re-lordvader-the-empire-has-sent-you-a-friend-request-20180607t184754944z
Reply by @koinbot in discussion: "The Empire has sent you a friend request."
body_length: 15 (2 words)
replied at: 2018-06-23T07:58:51
net_votes: 0
- https://steemit.com/@koinbot/re-lordvader-the-empire-has-sent-you-a-friend-request-20180623t075851464z
+ https://hive.blog/@koinbot/re-lordvader-the-empire-has-sent-you-a-friend-request-20180623t075851464z
```
### Comment fields
@@ -101,7 +101,7 @@ In our example script, we want more detail than this, so for every `comment`, we
### To Run
-First, set up your workstation using the steps provided in [Getting Started](https://developers.steem.io/tutorials-ruby/getting_started). Then you can create and execute the script (or clone from this repository):
+First, set up your workstation using the steps provided in [Getting Started](https://developers.hive.io/tutorials-ruby/getting_started). Then you can create and execute the script (or clone from this repository):
* ``
diff --git a/_tutorials-ruby/get_follower_and_following_list.md b/_tutorials-ruby/get_follower_and_following_list.md
index 8c1da0d2de000d7e9d36cc98f020d8b95d9a4a6b..ec4b02e5ffa3f29d82607547e2389139994bbf62 100644
--- a/_tutorials-ruby/get_follower_and_following_list.md
+++ b/_tutorials-ruby/get_follower_and_following_list.md
@@ -23,7 +23,7 @@ In `radiator`, we can request follow results using `condenser_api.get_following`
## Steps
-1. [**Configure connection**](#connection) Configuration of `radiator` to communicate with the Steem blockchain
+1. [**Configure connection**](#connection) Configuration of `radiator` to communicate with the Hive blockchain
2. [**Input variables**](#input) Collecting the required inputs via command line arguments
3. [**Get followers/following**](#query) Get the followers or accounts being followed
4. [**Display**](#display) Return the array of results to the console
@@ -84,7 +84,7 @@ end
### To Run
-First, set up your workstation using the steps provided in [Getting Started](https://developers.steem.io/tutorials-ruby/getting_started). Then you can create and execute the script (or clone from this repository):
+First, set up your workstation using the steps provided in [Getting Started](https://developers.hive.io/tutorials-ruby/getting_started). Then you can create and execute the script (or clone from this repository):
```bash
git clone git@github.com:steemit/devportal-tutorials-rb.git
diff --git a/_tutorials-ruby/get_post_comments.md b/_tutorials-ruby/get_post_comments.md
index a66266f4c381634345c43a240a139f743515a1ad..947776cd511299db3d80772659824a1c8cda4bee 100644
--- a/_tutorials-ruby/get_post_comments.md
+++ b/_tutorials-ruby/get_post_comments.md
@@ -16,13 +16,13 @@ First, we ask the blockchain for the replies on a post or comment. Then, we gra
### To Run
-First, set up your workstation using the steps provided in [Getting Started](https://developers.steem.io/tutorials-ruby/getting_started). Then you can create and execute the script (or clone from this repository):
+First, set up your workstation using the steps provided in [Getting Started](https://developers.hive.io/tutorials-ruby/getting_started). Then you can create and execute the script (or clone from this repository):
```bash
git clone git@github.com:steemit/devportal-tutorials-rb.git
cd devportal-tutorials-rb/tutorials/07_get_post_comments
bundle install
-ruby comments_list.rb https://steemit.com/steem/@steemitblog/dev-portal-update-new-steem-developer-resources
+ruby comments_list.rb https://hive.blog/steem/@steemitblog/dev-portal-update-new-steem-developer-resources
```
### Example Output
diff --git a/_tutorials-ruby/get_post_details.md b/_tutorials-ruby/get_post_details.md
index 865bc87e944e29812f8799b4b5a802077c888915..d4ee56b33264861f6fc90d0b695c5a4589623fe6 100644
--- a/_tutorials-ruby/get_post_details.md
+++ b/_tutorials-ruby/get_post_details.md
@@ -55,7 +55,7 @@ api.get_content("steemitdev", "announcing-the-steem-developer-portal") do |conte
#### Example api call using script
And to do the same with our tutorial script
```bash
-ruby get_post_details.rb https://steemit.com/steemdev/@steemitdev/announcing-the-steem-developer-portal
+ruby get_post_details.rb https://hive.blog/hivedev/@steemitdev/announcing-the-steem-developer-portal
```
#### Example Output
@@ -64,22 +64,22 @@ From the example we get the following output from our script
```
Post by steemitdev
- title: Announcing the Steem Developer Portal!
+ title: Announcing the Hive Developer Portal!
permlink: announcing-the-steem-developer-portal
- category: steemdev
+ category: hivedev
body_length: 2342 (381 words)
posted at: 2017-10-30T16:34:27, updated at: 2017-10-30T16:34:27, active at: 2018-04-11T10:34:00
children: 66
net_rshares: 0
vote_rshares: 0
payout:
- max_accepted_payout: 0.000 SBD
- percent_steem_dollars: 100.00 %
+ max_accepted_payout: 0.000 HBD
+ percent_hbd: 100.00 %
payout at: 2017-11-06T16:34:27 (235.2 days ago)
- author_rewards: 0.000 SBD
- curator_payout_value: 0.000 SBD
- total_payout_value: 0.000 SBD
- promoted: 0.000 SBD
+ author_rewards: 0.000 HBD
+ curator_payout_value: 0.000 HBD
+ total_payout_value: 0.000 HBD
+ promoted: 0.000 HBD
total_vote_weight: 0
reward_weight: 100.00 %
net_votes: 181, upvotes: 234, downvotes: 1, unvotes: 0, total: 235, top voter: thejohalfiles
@@ -87,7 +87,7 @@ Post by steemitdev
allow_votes: true
allow_curation_rewards: true
author_reputation: 14487360227924
- tags: steemdev, steem, dev
+ tags: hivedev, steem, dev
app: steemit/0.1
```
@@ -133,13 +133,13 @@ You will note that we must parse the string found in `content.cashout_time` by a
Even before payout, you can determine what the `max_accepted_payout` is. Most often, this is set to one of two values by the author:
-* `1000000.000 SBD` - Accepted Payout
-* `0.000 SBD` - Declined Payout
+* `1000000.000 HBD` - Accepted Payout
+* `0.000 HBD` - Declined Payout
-In addition to `max_accepted_payout`, the author may specify how much of the author reward should be in STEEM Power or liquid rewards. The most common settings are:
+In addition to `max_accepted_payout`, the author may specify how much of the author reward should be in HIVE Power or liquid rewards. The most common settings are:
* `10000` - Maximum Liquid Reward
-* `0` - STEEM Power Only
+* `0` - HIVE Power Only
Once the payout time has arrived, it's possible to determine the split between author and curation by inspecting at `author_rewards` and `curator_payout_value`.
@@ -151,7 +151,7 @@ In our script, we use the ruby statement:
content.beneficiaries.any?
```
-Some content will have a `beneficiaries` array. This is used to determine reward routes any account, up to eight. Payouts are in STEEM Power and are expressed as a reward percentage of the author reward.
+Some content will have a `beneficiaries` array. This is used to determine reward routes any account, up to eight. Payouts are in HIVE Power and are expressed as a reward percentage of the author reward.
To display a list of who the beneficiaries are, use the following ruby code, as seen in the example:
@@ -200,7 +200,7 @@ Note, we're using `rescue` in case the `json_metadata` string contains invalid J
### To Run
-First, set up your workstation using the steps provided in [Getting Started](https://developers.steem.io/tutorials-ruby/getting_started). Then you can create and execute the script (or clone from this repository):
+First, set up your workstation using the steps provided in [Getting Started](https://developers.hive.io/tutorials-ruby/getting_started). Then you can create and execute the script (or clone from this repository):
*``
diff --git a/_tutorials-ruby/get_posts.md b/_tutorials-ruby/get_posts.md
index 5f66aca5aa6816d2313e40b29ad137655fbf33e8..738d0d4fc8af630310b9ec1222bec99002079a31 100644
--- a/_tutorials-ruby/get_posts.md
+++ b/_tutorials-ruby/get_posts.md
@@ -39,7 +39,7 @@ For each post we retrieve, we are going to build up a summary to display the int
### To Run
-First, set up your workstation using the steps provided in [Getting Started](https://developers.steem.io/tutorials-ruby/getting_started). Then you can create and execute the script (or clone from this repository):
+First, set up your workstation using the steps provided in [Getting Started](https://developers.hive.io/tutorials-ruby/getting_started). Then you can create and execute the script (or clone from this repository):
```bash
git clone git@github.com:steemit/devportal-tutorials-rb.git
@@ -52,13 +52,13 @@ ruby get_posts_by_category.rb trending 1 steem
```
2018-05-24 06:38:33 UTC
- Post: New Phone App For Steemit - Wow!
+ Post: New Phone App For Hive - Wow!
By: happymoneyman
Votes: 1087
Replies: 332
- Promoted: 0.001 SBD
+ Promoted: 0.001 HBD
Words: 190
- https://steemit.com/steemit/@happymoneyman/new-phone-app-for-steemit-wow
+ https://hive.blog/steemit/@happymoneyman/new-phone-app-for-steemit-wow
```
#### Error Handling
diff --git a/_tutorials-ruby/get_voters_list_on_post.md b/_tutorials-ruby/get_voters_list_on_post.md
index 215e3eba8653637f6eeae0d6eab1a68859364e9a..ecd0bb0b7c1096fb2a531c1c65c7496608603e00 100644
--- a/_tutorials-ruby/get_voters_list_on_post.md
+++ b/_tutorials-ruby/get_voters_list_on_post.md
@@ -18,13 +18,13 @@ Then, we sort the votes by `rshares` to find the top voter.
### To Run
-First, set up your workstation using the steps provided in [Getting Started](https://developers.steem.io/tutorials-ruby/getting_started). Then you can create and execute the script (or clone from this repository):
+First, set up your workstation using the steps provided in [Getting Started](https://developers.hive.io/tutorials-ruby/getting_started). Then you can create and execute the script (or clone from this repository):
```bash
git clone git@github.com:steemit/devportal-tutorials-rb.git
cd devportal-tutorials-rb/tutorials/06_get_voters_list_on_post
bundle install
-ruby voter_list.rb https://steemit.com/steemdev/@steemitdev/announcing-the-steem-developer-portal
+ruby voter_list.rb https://hive.blog/hivedev/@steemitdev/announcing-the-steem-developer-portal
```
### Example Output
diff --git a/_tutorials-ruby/getting_started.md b/_tutorials-ruby/getting_started.md
index 7e005c9d129f75755da6619111e7c6f534a986a8..ebc69af45e2040477cc493a2d92816d50a60c6cf 100644
--- a/_tutorials-ruby/getting_started.md
+++ b/_tutorials-ruby/getting_started.md
@@ -1,7 +1,7 @@
---
title: 'RB: Getting Started'
position: 0
-description: "To access the Steem blockchain using Ruby, install the Radiator gem: [https://github.com/inertia186/radiator](https://github.com/inertia186/radiator). Full documentation on Radiator api methods are hosted on [rubydoc.info](http://www.rubydoc.info/gems/radiator)."
+description: "To access the Hive blockchain using Ruby, install the Radiator gem: [https://github.com/inertia186/radiator](https://github.com/inertia186/radiator). Full documentation on Radiator api methods are hosted on [rubydoc.info](http://www.rubydoc.info/gems/radiator)."
layout: full
canonical_url: getting_started.html
---
@@ -75,8 +75,8 @@ options = {
url: 'https://rpc.steemliberator.com',
failover_urls: [
'https://gtg.steem.house:8090',
- 'https://steemd.minnowsupportproject.org',
- 'https://steemd.privex.io',
+ 'https://hived.minnowsupportproject.org',
+ 'https://hived.privex.io',
]
}
api = Radiator::Api.new(options)
diff --git a/_tutorials-ruby/reblogging_post.md b/_tutorials-ruby/reblogging_post.md
index 63353ce7545b573872fbdba8b6edba3ca52406df..63b6bc445e6a89aa4e21c5fedd0a56181b838504 100644
--- a/_tutorials-ruby/reblogging_post.md
+++ b/_tutorials-ruby/reblogging_post.md
@@ -62,7 +62,7 @@ tx.operations << {
And to do the same with our tutorial script:
```bash
-ruby reblogging_post.rb https://steemit.com/@inertia/kinda-spooky
+ruby reblogging_post.rb https://hive.blog/@inertia/kinda-spooky
```
#### Example Output
@@ -82,7 +82,7 @@ From the example we get the following output from our script:
}
```
-The response we get after broadcasting the transaction gives us the transaction id ([`0aa41e0...`](https://steemd.com/tx/0aa41e06b2612315d32cadeb671eb1201f266dd7)), block number ([`24063620`](https://steemd.com/b/24063620)), and the transaction number of that block (`19`).
+The response we get after broadcasting the transaction gives us the transaction id ([`0aa41e0...`](https://hiveblocks.com/tx/0aa41e06b2612315d32cadeb671eb1201f266dd7)), block number ([`24063620`](https://hiveblocks.com/b/24063620)), and the transaction number of that block (`19`).
### Example Error
@@ -282,7 +282,7 @@ Broadcasting a `custom_json` operation will require the following fields:
### To Run
-First, set up your workstation using the steps provided in [Getting Started](https://developers.steem.io/tutorials-ruby/getting_started). Then you can create and execute the script (or clone from this repository):
+First, set up your workstation using the steps provided in [Getting Started](https://developers.hive.io/tutorials-ruby/getting_started). Then you can create and execute the script (or clone from this repository):
* ``
diff --git a/_tutorials-ruby/search_accounts.md b/_tutorials-ruby/search_accounts.md
index d599df1a79f4c67963b9771bd5785018f9ce956c..03df432f523a937a9d233025f4d0b190a5d893f3 100644
--- a/_tutorials-ruby/search_accounts.md
+++ b/_tutorials-ruby/search_accounts.md
@@ -60,7 +60,7 @@ alice alice-22 alice-is alice-labardo alice-mikhaylova alice-n-chains alice-rads
### To Run
-First, set up your workstation using the steps provided in [Getting Started](https://developers.steem.io/tutorials-ruby/getting_started). Then you can create and execute the script (or clone from this repository):
+First, set up your workstation using the steps provided in [Getting Started](https://developers.hive.io/tutorials-ruby/getting_started). Then you can create and execute the script (or clone from this repository):
* ``
* `[limit]` (optional)
diff --git a/_tutorials-ruby/search_tags.md b/_tutorials-ruby/search_tags.md
index fdb218d1b0daf545d6b66fe9f0fbe4eba69ec938..3f3b4b2f3d82c768afdfabae376a3d688bb7cbd3 100644
--- a/_tutorials-ruby/search_tags.md
+++ b/_tutorials-ruby/search_tags.md
@@ -56,16 +56,16 @@ ruby search_tags.rb
From the example we get the following output from our script:
```
-tag: , total_payouts: 57513246.041 SBD, net_votes: 47471936, top_posts: 4523493, comments: 27287924, trending: 100430269400
-tag: life, total_payouts: 12563434.550 SBD, net_votes: 10898489, top_posts: 1193059, comments: 1164873, trending: 7440962326
-tag: photography, total_payouts: 7529111.644 SBD, net_votes: 8578110, top_posts: 819008, comments: 1498469, trending: 7311205387
-tag: kr, total_payouts: 2953387.067 SBD, net_votes: 749380, top_posts: 79842, comments: 2138776, trending: 7009078414
-tag: steemit, total_payouts: 8531217.920 SBD, net_votes: 5393375, top_posts: 580400, comments: 1156174, trending: 5471456871
-tag: art, total_payouts: 4017591.434 SBD, net_votes: 3577651, top_posts: 330597, comments: 716566, trending: 3302526197
-tag: bitcoin, total_payouts: 3556944.650 SBD, net_votes: 2885034, top_posts: 416088, comments: 625529, trending: 3284115413
-tag: introduceyourself, total_payouts: 1863437.063 SBD, net_votes: 725570, top_posts: 24891, comments: 986875, trending: 3185017448
-tag: spanish, total_payouts: 1221282.258 SBD, net_votes: 2683931, top_posts: 154983, comments: 827033, trending: 3103643123
-tag: travel, total_payouts: 3976626.578 SBD, net_votes: 2505962, top_posts: 229401, comments: 622754, trending: 2687292306
+tag: , total_payouts: 57513246.041 HBD, net_votes: 47471936, top_posts: 4523493, comments: 27287924, trending: 100430269400
+tag: life, total_payouts: 12563434.550 HBD, net_votes: 10898489, top_posts: 1193059, comments: 1164873, trending: 7440962326
+tag: photography, total_payouts: 7529111.644 HBD, net_votes: 8578110, top_posts: 819008, comments: 1498469, trending: 7311205387
+tag: kr, total_payouts: 2953387.067 HBD, net_votes: 749380, top_posts: 79842, comments: 2138776, trending: 7009078414
+tag: steemit, total_payouts: 8531217.920 HBD, net_votes: 5393375, top_posts: 580400, comments: 1156174, trending: 5471456871
+tag: art, total_payouts: 4017591.434 HBD, net_votes: 3577651, top_posts: 330597, comments: 716566, trending: 3302526197
+tag: bitcoin, total_payouts: 3556944.650 HBD, net_votes: 2885034, top_posts: 416088, comments: 625529, trending: 3284115413
+tag: introduceyourself, total_payouts: 1863437.063 HBD, net_votes: 725570, top_posts: 24891, comments: 986875, trending: 3185017448
+tag: spanish, total_payouts: 1221282.258 HBD, net_votes: 2683931, top_posts: 154983, comments: 827033, trending: 3103643123
+tag: travel, total_payouts: 3976626.578 HBD, net_votes: 2505962, top_posts: 229401, comments: 622754, trending: 2687292306
```
### Tag fields
@@ -81,7 +81,7 @@ Tags in the results of `get_trending_tags` returns the following fields:
### To Run
-First, set up your workstation using the steps provided in [Getting Started](https://developers.steem.io/tutorials-ruby/getting_started). Then you can create and execute the script (or clone from this repository):
+First, set up your workstation using the steps provided in [Getting Started](https://developers.hive.io/tutorials-ruby/getting_started). Then you can create and execute the script (or clone from this repository):
* `[limit]` (optional)
diff --git a/_tutorials-ruby/stream_blockchain_transactions.md b/_tutorials-ruby/stream_blockchain_transactions.md
index a09b98f09da63d986296c1f1234a7c8ca57102dc..372ad13acc7539510e434f973c551ce7141c3e28 100644
--- a/_tutorials-ruby/stream_blockchain_transactions.md
+++ b/_tutorials-ruby/stream_blockchain_transactions.md
@@ -1,7 +1,7 @@
---
title: 'RB: Stream Blockchain Transactions'
position: 13
-description: "*How to stream transactions and operations from Steem blockchain.*"
+description: "*How to stream transactions and operations from Hive blockchain.*"
layout: full
canonical_url: stream_blockchain_transactions.html
---
@@ -28,7 +28,7 @@ ruby stream_blockchain_transactions.rb head transactions
This will instruct the script to follow transactions at head `block_num` instead of irreversible.
-See: [`head_block_number`](https://developers.steem.io/tutorials-recipes/understanding-dynamic-global-properties#head_block_number) vs. [`last_irreversible_block_num`](https://developers.steem.io/tutorials-recipes/understanding-dynamic-global-properties#last_irreversible_block_num)
+See: [`head_block_number`](https://developers.hive.io/tutorials-recipes/understanding-dynamic-global-properties#head_block_number) vs. [`last_irreversible_block_num`](https://developers.hive.io/tutorials-recipes/understanding-dynamic-global-properties#last_irreversible_block_num)
This is done by using the following ruby:
@@ -80,7 +80,7 @@ The `type` variable can be `nil` or the type of ops we're looking for whereas `a
### To Run
-First, set up your workstation using the steps provided in [Getting Started](https://developers.steem.io/tutorials-ruby/getting_started). Then you can create and execute the script (or clone from this repository):
+First, set up your workstation using the steps provided in [Getting Started](https://developers.hive.io/tutorials-ruby/getting_started). Then you can create and execute the script (or clone from this repository):
```bash
git clone git@github.com:steemit/devportal-tutorials-rb.git
diff --git a/_tutorials-ruby/submit_comment_reply.md b/_tutorials-ruby/submit_comment_reply.md
index a02f743473d612c6058cb7e8b9ff91d71448eea8..27e3b3d0b9e50872e1a8fc7bdbe23901b697188e 100644
--- a/_tutorials-ruby/submit_comment_reply.md
+++ b/_tutorials-ruby/submit_comment_reply.md
@@ -1,7 +1,7 @@
---
title: 'RB: Submit Comment Reply'
position: 11
-description: "_By the end of this tutorial you should know how to prepare comments for Steem and then submit using Radiator._"
+description: "_By the end of this tutorial you should know how to prepare comments for Hive and then submit using Radiator._"
layout: full
canonical_url: submit_comment_reply.html
---
@@ -18,7 +18,7 @@ A reply is differentiated from a post by whether or not a `parent_author` exists
### Script
-You should change `wif` to the posting key that matches your `author`. This script will pass along the values as a [`comment` operation](https://developers.steem.io/apidefinitions/broadcast-ops.html#broadcast_ops_comment):
+You should change `wif` to the posting key that matches your `author`. This script will pass along the values as a [`comment` operation](https://developers.hive.io/apidefinitions/broadcast-ops.html#broadcast_ops_comment):
* `author` - Account name of the author currently replying.
* `permlink` - Value unique to the author
@@ -30,7 +30,7 @@ You should change `wif` to the posting key that matches your `author`. This scr
### To Run
-First, set up your workstation using the steps provided in [Getting Started](https://developers.steem.io/tutorials-ruby/getting_started). Then you can create and execute the script (or clone from this repository):
+First, set up your workstation using the steps provided in [Getting Started](https://developers.hive.io/tutorials-ruby/getting_started). Then you can create and execute the script (or clone from this repository):
```bash
git clone git@github.com:steemit/devportal-tutorials-rb.git
@@ -54,7 +54,7 @@ ruby submit_comment_reply.rb
}
```
-The response we get after broadcasting the transaction gives us the transaction id ([`3fef14c...`](https://steemd.com/tx/3fef14cac921e9baa7b31e43245e5380f3fb4332)), block number ([`22867626`](https://steemd.com/b/23355115)), and the transaction number of that block (`13`).
+The response we get after broadcasting the transaction gives us the transaction id ([`3fef14c...`](https://hiveblocks.com/tx/3fef14cac921e9baa7b31e43245e5380f3fb4332)), block number ([`22867626`](https://hiveblocks.com/b/23355115)), and the transaction number of that block (`13`).
#### Error Handling
diff --git a/_tutorials-ruby/submit_post.md b/_tutorials-ruby/submit_post.md
index db9ed38216cacf3849a7b5a5cfec720e1cac7831..a2471c8ddca5925d0ac640eddf7c99598be16aab 100644
--- a/_tutorials-ruby/submit_post.md
+++ b/_tutorials-ruby/submit_post.md
@@ -26,7 +26,7 @@ You should change `wif` to the posting key that matches your `author`. This scr
### To Run
-First, set up your workstation using the steps provided in [Getting Started](https://developers.steem.io/tutorials-ruby/getting_started). Then you can create and execute the script (or clone from this repository):
+First, set up your workstation using the steps provided in [Getting Started](https://developers.hive.io/tutorials-ruby/getting_started). Then you can create and execute the script (or clone from this repository):
```bash
git clone git@github.com:steemit/devportal-tutorials-rb.git
@@ -50,7 +50,7 @@ ruby submit_a_new_post.rb
}
```
-The response we get after broadcasting the transaction gives us the transaction id ([`768f7f6...`](https://steemd.com/tx/768f7f64cee94413da0017ef79f592bb4da86baf)), block number ([`22867626`](https://steemd.com/b/22867626)), and the transaction number of that block (`43`).
+The response we get after broadcasting the transaction gives us the transaction id ([`768f7f6...`](https://hiveblocks.com/tx/768f7f64cee94413da0017ef79f592bb4da86baf)), block number ([`22867626`](https://hiveblocks.com/b/22867626)), and the transaction number of that block (`43`).
#### Error Handling
diff --git a/_tutorials-ruby/vote_on_content.md b/_tutorials-ruby/vote_on_content.md
index 3836606c3ef39015f70e32cda48fce5cdb7c4af4..8250a536b402b0e089af4c5b508b728fe7693f3d 100644
--- a/_tutorials-ruby/vote_on_content.md
+++ b/_tutorials-ruby/vote_on_content.md
@@ -52,7 +52,7 @@ tx.operations << {
And to do the same with our tutorial script:
```bash
-ruby vote_on_content.rb https://steemit.com/@inertia/kinda-spooky
+ruby vote_on_content.rb https://hive.blog/@inertia/kinda-spooky
```
#### Example Output
@@ -72,12 +72,12 @@ From the example we get the following output from our script:
}
```
-The response we get after broadcasting the transaction gives us the transaction id ([`244a67b...`](https://steemd.com/tx/244a67bf1e64f05fb2ab52a0652a8edd30c5d273)), block number ([`27035223`](https://steemd.com/b/27035223)), and the transaction number of that block (`15`).
+The response we get after broadcasting the transaction gives us the transaction id ([`244a67b...`](https://hiveblocks.com/tx/244a67bf1e64f05fb2ab52a0652a8edd30c5d273)), block number ([`27035223`](https://hiveblocks.com/b/27035223)), and the transaction number of that block (`15`).
Note, this script accepts accepts an optional percentage (defaulting `100.0 %`). To set the vote to `50.0 %`:
```bash
-ruby vote_on_content.rb https://steemit.com/@inertia/kinda-spooky 50
+ruby vote_on_content.rb https://hive.blog/@inertia/kinda-spooky 50
```
### Example Error
@@ -89,7 +89,7 @@ If an invalid vote weight is given (e.g.: `101 %`), we will get back an error:
"jsonrpc": "2.0",
"error": {
"code": -32000,
- "message": "Assert Exception:abs(weight) <= STEEM_100_PERCENT: Weight is not a STEEMIT percentage",
+ "message": "Assert Exception:abs(weight) <= HIVE_100_PERCENT: Weight is not a HIVE percentage",
"data": {
"code": 10,
"name": "assert_exception",
@@ -98,13 +98,13 @@ If an invalid vote weight is given (e.g.: `101 %`), we will get back an error:
{
"context": {
"level": "error",
- "file": "steem_operations.cpp",
+ "file": "hive_operations.cpp",
"line": 179,
"method": "validate",
"hostname": "",
"timestamp": "2018-10-22T16:09:50"
},
- "format": "abs(weight) <= STEEM_100_PERCENT: Weight is not a STEEMIT percentage",
+ "format": "abs(weight) <= HIVE_100_PERCENT: Weight is not a HIVE percentage",
"data": {
}
},
@@ -198,7 +198,7 @@ Broadcasting a `vote` operation will require the following fields:
### To Run
-First, set up your workstation using the steps provided in [Getting Started](https://developers.steem.io/tutorials-ruby/getting_started). Then you can create and execute the script (or clone from this repository) with the following arguments:
+First, set up your workstation using the steps provided in [Getting Started](https://developers.hive.io/tutorials-ruby/getting_started). Then you can create and execute the script (or clone from this repository) with the following arguments:
* `` - the URL to vote on
* `[weight]` - the weight of the vote as percentage, optional (default `100.0 %`)
diff --git a/images/logo.svg b/images/logo.svg
index 18a98e278062db80b1c54e3e7f7172bf4b3c2eb8..09b052aeec70765808f7a072dbac27f3ace0ce4b 100644
--- a/images/logo.svg
+++ b/images/logo.svg
@@ -1,6 +1,6 @@