Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more
4 votes
Accepted

Error 3030002 when trying to set contract steps

The set contract operation takes the account name as its first parameter (eosin.token in your example). If this account doesn't exist, if cannot set the contract. In your example above, you create a ...
John Haager's user avatar
  • 1,844
3 votes
Accepted

How to sign a transaction locally using python?

What you are missing here is the chain ID of the network. Mainnet: aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906 Jungle Testnet: ...
Muhzin's user avatar
  • 510
3 votes

How to sign a transaction locally using python?

The api '/v1/wallet' is from the server keosd, not the nodeosd. You may change the port that keosd served.
W Yg's user avatar
  • 31
3 votes

Python tooling around EOS

I am trying to use EOS rpc APIs by python. So, I started with my own wrapper for python. This is the link. It is in very early stage. If you want to contribute, you are very welcome. When we push a ...
Rajat Chaudhary's user avatar
2 votes

Python tooling around EOS

I would like to add to JavaHead1560's answer by recommending the use of shlex package, which correctly deals with cases with quoted contents inside command. import shlex, json import subprocess from ...
J. Hu's user avatar
  • 115
2 votes
Accepted

Get_account with Python

You need 'account_name' instead of 'account', and json needs to be dumped. import requests, json url = "https://api.eosn.io/v1/chain/get_account" data = {"account_name": "...
conr2d's user avatar
  • 2,320
1 vote
Accepted

EOSFLARE API Request

Please see the documentation here: https://developers.eos.io/manuals/eos/latest/nodeos/plugins/chain_api_plugin/api-reference/index#operation/get_account You must send the account name in POST request ...
Matthew Darwin's user avatar
1 vote

How to start learning EOS with python?

commands like cleos/nodeos/keosd can be run from a python script #!/usr/bin/python import subprocess import smtplib from subprocess import PIPE def do_cmd(command): return subprocess....
JavaHead1560's user avatar
1 vote
Accepted

How to start learning EOS with python?

It is/will be possible to generate smart contracts via Python and other languages, an example here. However, the mainstream method, especially in the early days, is with C++, as per the EOS ...
John Williamson's user avatar
1 vote
Accepted

Python tooling around EOS

I ran into github to answer your question and found a very interesting project. https://github.com/learnforpractice/pyeos
smarteasy's user avatar
  • 1,015
1 vote

Python tooling around EOS

you can run the different programs (cleos/nodeos/keosd) in python like you can run any other command: #!/usr/bin/python import subprocess import smtplib from subprocess import PIPE def do_cmd(...
JavaHead1560's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible