Comments (1)
You need to make Jeff Garzik's python-bitcoinrpc available on the python
path. There are two modules one which handles the Bitcoin side, and another
which handles the json-rpc, which you don't seem to have. the built-in
json-rpc won't work.
On Jun 17, 2015 9:30 AM, "Brian Muhia" [email protected] wrote:
I've followed all the steps in alpha-README.md, but fail to see the
expected result in Step 6 of To Move Money into Elements Alpha.$ ./contrib/sidechain-manipulation.py send-to-sidechain 2MuCWkMxPNLoV2qxCKXUSnmeZpz8VMtEzjz 1
Sending 1 to 2N82VPmsiZRC3xbDX9fxgiTKgkiY8BFjKZt...
(nonce: 4483e3dccfef99bc6e350a9665fc1ee5)Traceback (most recent call last):
File "./contrib/sidechain-manipulation.py", line 121, in
txid = bitcoin.sendtoaddress(send_address, Decimal(sys.argv[3]))
File "/usr/local/lib/python2.7/dist-packages/bitcoinrpc/authproxy.py", line 107, in call
'id': self.id_count})
File "/usr/lib/python2.7/json/__init.py", line 231, in dumps
return _default_encoder.encode(obj)
File "/usr/lib/python2.7/json/encoder.py", line 201, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/usr/lib/python2.7/json/encoder.py", line 264, in iterencode
return _iterencode(o, 0)
File "/usr/lib/python2.7/json/encoder.py", line 178, in default
raise TypeError(repr(o) + " is not JSON serializable")
TypeError: Decimal('1') is not JSON serializableβ
Reply to this email directly or view it on GitHub
#30.
from elements.
Related Issues (20)
- Increase block size HOT 4
- Can sendmany be used to send assets? HOT 2
- Green wallet seed import can't compatible with sideswap wallet HOT 3
- Elements/Liquidv1 package for StartOS HOT 1
- How to use with bitcoinlib-js HOT 7
- Message signing only works with legacy addresses HOT 4
- Block proof invalid after block 431 HOT 16
- issueasset: issuance is always blinded HOT 2
- RPC example or tutorial opcodes enabled by liquid HOT 1
- Write and sign custom transaction code HOT 2
- CanΒ΄t mint tokens HOT 1
- Can't enable coin control features HOT 5
- Given claim_script does not match the given Bitcoin transaction. HOT 9
- signmessage HOT 1
- Wallet migration fails with confidential transactions HOT 8
- wallet managed by elements-cli receives tx with tokens but doesn't process them (not in the locally parsed TX, not in the balance) HOT 2
- Received funds appear in listreceivedbyaddress, but are not taken into account for the wallet balance and cannot be transferred
- Support for Jade hardware wallet HOT 3
- Confidential peg-in transaction HOT 11
- Sending transactions with 0.01 instead of 0.1 sats/vbyte
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elements.