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 ...
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: ...
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.
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 ...
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 ...
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": "...
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 ...
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....
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 ...
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
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(...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
python × 10cleos × 3
nodeos × 2
eosio.token × 2
api × 2
smart-contract × 1
accounts × 1
eosio.cdt × 1
c++ × 1
keosd × 1
docker × 1
signing × 1
http × 1
block-explorer × 1