Forum rules


Warning !
Avoid using binary softwares from untrusted users.
Prefer compiling it yourself and verify sources.



Reply to topic  [ 20 posts ]  Go to page 1, 2  Next
ANTPY - Atomic Name Trading Pythonscript 
Author Message

Posts: 1625
Reply with quote
Post ANTPY - Atomic Name Trading Pythonscript
https://github.com/phelixnmc/antpy


ANTPY - Atomic Name Trading Pythonscript

phelix / blockchained d0t com

v0.1beta

Transfer a Namecoin name for NMC in a single Namecoin transaction.


How to use

1.) Buyer starts ant_buyer.py to create a half finished transaction and sends it to the seller as an offer.
2.) Seller starts ant_seller.py to accept, finish and broadcast the transaction.

To copy/paste you might have to click the icon on the top left of the command window.

Note this is an early version and there might still be vulnerabilities and bugs.

_________________
nx.bit - some namecoin stats
nf.bit - shortcut to this forum


Thu Jun 12, 2014 9:59 am
Profile

Posts: 1083
Reply with quote
Post Re: ANTPY - Atomic Name Trading Pythonscript
Thanks for your efforts here, I really appreciate you building a front-end for the raw tx atomic trades! This should make life easier. A quick review of the code from my side (although no real testing so far) looks good, BTW.

_________________
BTC: 1domobKsPZ5cWk2kXssD8p8ES1qffGUCm | NMC: NCdomobcmcmVdxC5yxMitojQ4tvAtv99pY
BM-GtQnWM3vcdorfqpKXsmfHQ4rVYPG5pKS
Use your Namecoin identity as OpenID: https://nameid.org/


Fri Jun 13, 2014 5:18 am
Profile WWW

Posts: 541
Reply with quote
Post Re: ANTPY - Atomic Name Trading Pythonscript
I am not directly involved in name trading but I find it a good development. :)

How secure is such a name trading ?

What other implications could have for the future ? For example decentralized exchange or trading when name entries represent fiat bonds or stocks.

_________________
http://namecoinia.org/
Calendars for free to print: 2014 Calendar in JPG | 2014 Calendar in PDF Protect the Environment with Namecoin: 2014 Calendar in JPG | 2014 Calendar in PDF
BTC: 15KXVQv7UGtUoTe5VNWXT1bMz46MXuePba | NMC: NABFA31b3x7CvhKMxcipUqA3TnKsNfCC7S


Fri Jun 13, 2014 9:34 am
Profile WWW

Posts: 1625
Reply with quote
Post Re: ANTPY - Atomic Name Trading Pythonscript
virtual_master wrote:
I am not directly involved in name trading but I find it a good development. :)

How secure is such a name trading ?

Theoretically it should be perfectly secure. Name transfer and compensation transfer in a single transaction - both or nothing.

Quote:
What other implications could have for the future ? For example decentralized exchange or trading when name entries represent fiat bonds or stocks.

It should make handling things like this much easier. I hope we will find out soon.

_________________
nx.bit - some namecoin stats
nf.bit - shortcut to this forum


Fri Jun 13, 2014 6:06 pm
Profile

Posts: 307
Reply with quote
Post Re: ANTPY - Atomic Name Trading Pythonscript
has the rpc been committed to any of the repos yet?


Sat Jun 14, 2014 1:43 am
Profile

Posts: 1625
Reply with quote
Post Re: ANTPY - Atomic Name Trading Pythonscript
snailbrain wrote:
has the rpc been committed to any of the repos yet?

Yup. All live. Also will be in the upcoming 0.3.75 release.

_________________
nx.bit - some namecoin stats
nf.bit - shortcut to this forum


Sat Jun 14, 2014 9:14 am
Profile

Posts: 307
Reply with quote
Post Re: ANTPY - Atomic Name Trading Pythonscript
ok, just checking

I tried this branch yestarday (on windows)
https://github.com/namecoin/namecoin/tree/namecoinq-rc

Code:
Traceback (most recent call last):
  File "ant_seller.py", line 21, in <module>
    rpc = namerpc.CoinRpc()
  File "E:\antpy-master\namerpc.py", line 54, in __init__
    raise Exception("Could not connect to Namecoin client.")
Exception: Could not connect to Namecoin client.


i can do other rpc's from cmdline

i scanned through the commits and couldn't see it, but i saw a readme with some info in it, so i assumed it was in

what am i doing wrong :)


Sat Jun 14, 2014 10:19 am
Profile

Posts: 1625
Reply with quote
Post Re: ANTPY - Atomic Name Trading Pythonscript
snailbrain wrote:
ok, just checking

I tried this branch yestarday (on windows)
https://github.com/namecoin/namecoin/tree/namecoinq-rc

Code:
Traceback (most recent call last):
  File "ant_seller.py", line 21, in <module>
    rpc = namerpc.CoinRpc()
  File "E:\antpy-master\namerpc.py", line 54, in __init__
    raise Exception("Could not connect to Namecoin client.")
Exception: Could not connect to Namecoin client.


i can do other rpc's from cmdline

i scanned through the commits and couldn't see it, but i saw a readme with some info in it, so i assumed it was in

what am i doing wrong :)

This does not look like a problem with missing rpc functionality. For some reason it seems it can not connect to the client... maybe I put a bug in there, will take a look later.

_________________
nx.bit - some namecoin stats
nf.bit - shortcut to this forum


Sat Jun 14, 2014 10:35 am
Profile

Posts: 1625
Reply with quote
Post Re: ANTPY - Atomic Name Trading Pythonscript
snailbrain wrote:
ok, just checking

I tried this branch yestarday (on windows)
https://github.com/namecoin/namecoin/tree/namecoinq-rc

Code:
Traceback (most recent call last):
  File "ant_seller.py", line 21, in <module>
    rpc = namerpc.CoinRpc()
  File "E:\antpy-master\namerpc.py", line 54, in __init__
    raise Exception("Could not connect to Namecoin client.")
Exception: Could not connect to Namecoin client.


i can do other rpc's from cmdline

i scanned through the commits and couldn't see it, but i saw a readme with some info in it, so i assumed it was in

what am i doing wrong :)

Please give it another try, hopefully it will output a better error message now. If the problem is still there please send me your namecoin.conf (with password change to 123 or something).

_________________
nx.bit - some namecoin stats
nf.bit - shortcut to this forum


Sat Jun 14, 2014 2:22 pm
Profile

Posts: 307
Reply with quote
Post Re: ANTPY - Atomic Name Trading Pythonscript
phelix wrote:
snailbrain wrote:
ok, just checking

I tried this branch yestarday (on windows)
https://github.com/namecoin/namecoin/tree/namecoinq-rc

Code:
Traceback (most recent call last):
  File "ant_seller.py", line 21, in <module>
    rpc = namerpc.CoinRpc()
  File "E:\antpy-master\namerpc.py", line 54, in __init__
    raise Exception("Could not connect to Namecoin client.")
Exception: Could not connect to Namecoin client.


i can do other rpc's from cmdline

i scanned through the commits and couldn't see it, but i saw a readme with some info in it, so i assumed it was in

what am i doing wrong :)

Please give it another try, hopefully it will output a better error message now. If the problem is still there please send me your namecoin.conf (with password change to 123 or something).


will try later.. nothing special in conf (not sure why i add daemon=1, but always have :) )

Code:
rpcuser=xx
rpcpassword=xx
server=1
daemon=1
rpcallowip=127.0.0.1
rpcallowip=192.168.0.*


did just notice i'm on a different subnet since i last changed it.. will change later just incase


Sat Jun 14, 2014 3:23 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 20 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.