Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
beem
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
beem
Commits
3017f3c2
Unverified
Commit
3017f3c2
authored
6 years ago
by
Holger Nahrstaedt
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #43 from crokkon/sc_examples
fix SteemConnect TransactionBuilder example
parents
a14aee98
16d611bb
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
beem/steemconnect.py
+3
-2
3 additions, 2 deletions
beem/steemconnect.py
with
3 additions
and
2 deletions
beem/steemconnect.py
+
3
−
2
View file @
3017f3c2
...
...
@@ -59,14 +59,15 @@ class SteemConnect(object):
from beembase import operations
from beem.steemconnect import SteemConnect
from pprint import pprint
stm = Steem()
stm = Steem(nobroadcast=True, unsigned=True)
sc2 = SteemConnect(steem_instance=stm)
tx = TransactionBuilder(steem_instance=stm)
op = operations.Transfer(**{
"
from
"
:
'
test
'
,
"
to
"
:
'
test1
'
,
"
amount
"
:
'
1.000 STEEM
'
,
"
memo
"
:
'
test
'
})
tx.appendOps(op)
pprint(sc2.url_from_tx(tx)
pprint(sc2.url_from_tx(tx
.json())
)
.. testcode::
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment