Bitcoin Forum
April 18, 2024, 04:06:13 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 [1609] 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 ... 2557 »
  Print  
Author Topic: NXT :: descendant of Bitcoin - Updated Information  (Read 2761521 times)
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
February 11, 2014, 02:59:46 PM
 #32161

CfB: Will everyone with at least 1000 Nxt be able to release an asset or will there be a manual validation prior to the issuasnce of the asset?

Everyone. No manual validation.
1713456373
Hero Member
*
Offline Offline

Posts: 1713456373

View Profile Personal Message (Offline)

Ignore
1713456373
Reply with quote  #2

1713456373
Report to moderator
Transactions must be included in a block to be properly completed. When you send a transaction, it is broadcast to miners. Miners can then optionally include it in their next blocks. Miners will be more inclined to include your transaction if it has a higher transaction fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713456373
Hero Member
*
Offline Offline

Posts: 1713456373

View Profile Personal Message (Offline)

Ignore
1713456373
Reply with quote  #2

1713456373
Report to moderator
1713456373
Hero Member
*
Offline Offline

Posts: 1713456373

View Profile Personal Message (Offline)

Ignore
1713456373
Reply with quote  #2

1713456373
Report to moderator
dawn
Full Member
***
Offline Offline

Activity: 121
Merit: 100


View Profile
February 11, 2014, 03:01:16 PM
 #32162

I have 2 aliases with the same name

Not possible. Provide your account number please.

What is possible is to reassign an alias. say I bought the alias "google", but I assigned a wrong URI to it. Then I would assign the alias again (with 1NXT fee) and change the URI. Only the owner of an alias can reassign it.

Another possibility that could have happened to you is that you set the deadline too short. Say you set the deadline to 1 minute, and the next block gets created after 2 minutes, then your alias assignement gets cancelled because it was not included in a block before hitting deadline.

Thanks a lot for your answer. That was also what I was thinking/understood. My account # is 18282429533886242938. The URI is exactly the same as the alias. Both aliases have now over 70 confirmations.

PS: I'm using NXT Solaris client 1.7.0.20 (x64) and NRS 0.7.2.

0.011BTC/GH contract for 5 years !!!!!: >>Get it now! (weekly payouts)<< Got my 5th weekly payout
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
February 11, 2014, 03:01:21 PM
 #32163

Cancel order in testnet does not seem to work for me. Bid placed using ClieNXT, tried to cancel with API:

Code:
https://holms.cloudapp.net:6875/nxt?requestType=cancelBidOrder&secretPhrase=[SECRETPHRASE]&order=14239583640911742797&fee=1&deadline=1
{"transaction":"8601055425027365025"}

Transaction keeps appearing as unknown:

Code:
https://holms.cloudapp.net:6875/nxt?requestType=getTransaction&transaction=8601055425027365025
{"errorCode":5,"errorDescription":"Unknown transaction"}

Bid still in order table:

Code:
https://holms.cloudapp.net:6875/nxt?requestType=getBidOrderIds&asset=11862239544331900808&timestamp=1
{"bidOrderIds":["13707244546342930361","14239583640911742797"]}

Does testnet take this long in confirmations?

Looks like the incorrect time/timezone issue.
nxtru
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
February 11, 2014, 03:04:43 PM
 #32164

It's not a bug. It's a reassignment.

Perhaps if the alias is found to exist and not have been changed (in terms of the "data" part) then it shouldn't be broadcast as a tx at all?


Yet another client-side check?
brooklynbtc
Sr. Member
****
Offline Offline

Activity: 336
Merit: 250

AKA jefdiesel


View Profile
February 11, 2014, 03:05:00 PM
 #32165

thanks for test coins,,. using ClientNXT

set up an asset, and tried to buy some, how many confirms does it take?


SN
S   U   P   E   R    N   E   T
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀   
Uniting cryptocurrencies, Rewarding talent, Sharing benefits..

Blockchain Technology.

CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1075


Ian Knowles - CIYAM Lead Developer


View Profile WWW
February 11, 2014, 03:08:02 PM
 #32166

Yet another client-side check?

It makes sense that a client should such checks rather than the NRS itself - the server side is correct to assume "that you know what you are doing" so if you ask to re-assign an alias to the same value then as far as the server is concerned that is what you meant.

The other way I guess it could be resolved would be to have a "second parameter" to the alias API that states whether it is "creating" or "updating" the alias.

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
brooklynbtc
Sr. Member
****
Offline Offline

Activity: 336
Merit: 250

AKA jefdiesel


View Profile
February 11, 2014, 03:09:22 PM
 #32167

If i issue an asset, it costs min 1000nxt as a FEE? or as an investment in the IPO?

Then I OWN all the shares correct? and can sell them as I want.

I have created 10 shares for choco salty balls. they are asking 100nxt each. Who wants some?

edit why am I getting not enough funds error to post ask orders on shares i created?

is this because I cancelled a previous ask order and have to wait for them to reconfirm to my account?

SN
S   U   P   E   R    N   E   T
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀   
Uniting cryptocurrencies, Rewarding talent, Sharing benefits..

Blockchain Technology.

CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1075


Ian Knowles - CIYAM Lead Developer


View Profile WWW
February 11, 2014, 03:10:40 PM
 #32168

@CfB In regards to "malleability" I have seen that "sipa" has already created a potential BIP to try and "resolve" (as best as possible) the issue for Bitcoin.

Should we not consider trying to do the same for Nxt (am not sure whether the problem in Nxt is just parts of a tx that are not signed or whether the signatures themselves are malleable which I understand has been the major problem with Bitcoin)?

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
omo
Full Member
***
Offline Offline

Activity: 147
Merit: 100


View Profile
February 11, 2014, 03:11:14 PM
 #32169

UPDATE: ClieNXT GUI

version 0.0.5 [code name] AE testnet

* this version solely works with testnet server http://holms.cloudapp.net:6874/
* Asset Exchange window has major features

------
Download
------
https://bitbucket.org/fmiboy/clienxt/downloads/clienxt_005.zip


------
Usage
------

* Windows users unzip the archive and run Clienxt.jar file
* Linux users unzip the archive and run in terminal ./clienxt.run &
* Mac users unzip the archive and run in terminal ./clienxt.run & (not tested, working on creating *.app file or *.pkg installer)

* Languages English, Russian only Asset Exchange window translations are missing.

NB: don't use your own accounts on "testnet"

click Unlock button to open new or existing accounts on "testnet" (unlock and watch if you have more accounts)
go to Asset Exchange window and start Trading

------
Screenshots
------
All available Assets


Issue Asset (fill all fields and Issue Asset, min. fee 1000)


Transfer Asset (select account that is added in Unlock window, it will detect all available Assets with their amount, fill rest fields and Transfer Asset)


My orders (all Ask and Bid orders for selected account)


Context menu (select any Asset and right click)


View Open orders (for selected Asset)


Place Order (ask or bid order for selected Asset, enter price 100 that will be considered 1, minimum price is 100)


Cancel Order (in My orders, you can select your order and right click to cancel order)


Cancel order window (requires only secret Phrase of account that placed same order)


Trade history (history of all trades for selected Asset)



Please report bugs or feature request here: https://bitbucket.org/fmiboy/clienxt/issues?status=new&status=open
Once client is tested, we can use it tomorrow without an issue!
Translators are very much welcome! The more languages we have the more people test Asset Exchange tomorrow.

Translators can find word list in Bundle.Properties (everything right side of "=" needs translation) here: https://bitbucket.org/fmiboy/clienxt/src/0a35a05b7786b2c3cf1e69ca16c0bbd48d8f953c/src/clienxt/Bundle.properties?at=master

If you like my work, donate nxt 13792774143018875909 and thank you very much for all supports.

how to start the "place order" dialogue window? I can not find it

BTC:1Fu4TNpVPToxxhSXBNSvE9fz6X3dbYgB8q
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
February 11, 2014, 03:12:12 PM
 #32170

@CfB In regards to "malleability" I have seen that "sipa" has already created a potential BIP to try and "resolve" (as best as possible) the issue for Bitcoin.

Should we not consider trying to do the same for Nxt (am not sure whether the problem in Nxt is just parts of a tx that are not signed or whether the signatures themselves are malleable which I understand has been the major problem with Bitcoin)?


Maybe we should do it for Nxt too. Discuss or just vote?  Wink
Anon136
Legendary
*
Offline Offline

Activity: 1722
Merit: 1217



View Profile
February 11, 2014, 03:13:08 PM
 #32171

So what are people testing this thing on. Do we have an experimental nrs version out now that lets you issue test assets?

Rep Thread: https://bitcointalk.org/index.php?topic=381041
If one can not confer upon another a right which he does not himself first possess, by what means does the state derive the right to engage in behaviors from which the public is prohibited?
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
February 11, 2014, 03:13:36 PM
 #32172

Quoted twice, coz one time is definitely not enough...

UPDATE: ClieNXT GUI

version 0.0.5 [code name] AE testnet

* this version solely works with testnet server http://holms.cloudapp.net:6874/
* Asset Exchange window has major features

------
Download
------
https://bitbucket.org/fmiboy/clienxt/downloads/clienxt_005.zip


------
Usage
------

* Windows users unzip the archive and run Clienxt.jar file
* Linux users unzip the archive and run in terminal ./clienxt.run &
* Mac users unzip the archive and run in terminal ./clienxt.run & (not tested, working on creating *.app file or *.pkg installer)

* Languages English, Russian only Asset Exchange window translations are missing.

NB: don't use your own accounts on "testnet"

click Unlock button to open new or existing accounts on "testnet" (unlock and watch if you have more accounts)
go to Asset Exchange window and start Trading

------
Screenshots
------
All available Assets


Issue Asset (fill all fields and Issue Asset, min. fee 1000)


Transfer Asset (select account that is added in Unlock window, it will detect all available Assets with their amount, fill rest fields and Transfer Asset)


My orders (all Ask and Bid orders for selected account)


Context menu (select any Asset and right click)


View Open orders (for selected Asset)


Place Order (ask or bid order for selected Asset, enter price 100 that will be considered 1, minimum price is 100)


Cancel Order (in My orders, you can select your order and right click to cancel order)


Cancel order window (requires only secret Phrase of account that placed same order)


Trade history (history of all trades for selected Asset)



Please report bugs or feature request here: https://bitbucket.org/fmiboy/clienxt/issues?status=new&status=open
Once client is tested, we can use it tomorrow without an issue!
Translators are very much welcome! The more languages we have the more people test Asset Exchange tomorrow.

Translators can find word list in Bundle.Properties (everything right side of "=" needs translation) here: https://bitbucket.org/fmiboy/clienxt/src/0a35a05b7786b2c3cf1e69ca16c0bbd48d8f953c/src/clienxt/Bundle.properties?at=master

If you like my work, donate nxt 13792774143018875909 and thank you very much for all supports.

how to start the "place order" dialogue window? I can not find it

UPDATE: ClieNXT GUI

version 0.0.5 [code name] AE testnet

* this version solely works with testnet server http://holms.cloudapp.net:6874/
* Asset Exchange window has major features

------
Download
------
https://bitbucket.org/fmiboy/clienxt/downloads/clienxt_005.zip


------
Usage
------

* Windows users unzip the archive and run Clienxt.jar file
* Linux users unzip the archive and run in terminal ./clienxt.run &
* Mac users unzip the archive and run in terminal ./clienxt.run & (not tested, working on creating *.app file or *.pkg installer)

* Languages English, Russian only Asset Exchange window translations are missing.

NB: don't use your own accounts on "testnet"

click Unlock button to open new or existing accounts on "testnet" (unlock and watch if you have more accounts)
go to Asset Exchange window and start Trading

------
Screenshots
------
All available Assets


Issue Asset (fill all fields and Issue Asset, min. fee 1000)


Transfer Asset (select account that is added in Unlock window, it will detect all available Assets with their amount, fill rest fields and Transfer Asset)


My orders (all Ask and Bid orders for selected account)


Context menu (select any Asset and right click)


View Open orders (for selected Asset)


Place Order (ask or bid order for selected Asset, enter price 100 that will be considered 1, minimum price is 100)


Cancel Order (in My orders, you can select your order and right click to cancel order)


Cancel order window (requires only secret Phrase of account that placed same order)


Trade history (history of all trades for selected Asset)



Please report bugs or feature request here: https://bitbucket.org/fmiboy/clienxt/issues?status=new&status=open
Once client is tested, we can use it tomorrow without an issue!
Translators are very much welcome! The more languages we have the more people test Asset Exchange tomorrow.

Translators can find word list in Bundle.Properties (everything right side of "=" needs translation) here: https://bitbucket.org/fmiboy/clienxt/src/0a35a05b7786b2c3cf1e69ca16c0bbd48d8f953c/src/clienxt/Bundle.properties?at=master

If you like my work, donate nxt 13792774143018875909 and thank you very much for all supports.

how to start the "place order" dialogue window? I can not find it
CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1075


Ian Knowles - CIYAM Lead Developer


View Profile WWW
February 11, 2014, 03:14:04 PM
 #32173

If it isn't too much to ask could people please refrain from embedding "screen snapshots" into their posts (and instead just put links).

I find it rather hard to read new posts when my screen keeps on jumping up because of screen snapshots in previous posts.

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
February 11, 2014, 03:14:32 PM
 #32174

So what are people testing this thing on. Do we have an experimental nrs version out now that lets you issue test assets?

http://holms.cloudapp.net:6874/

Don't use ur real adddress here!
Passion_ltc
Hero Member
*****
Offline Offline

Activity: 714
Merit: 500


Crypti Community Manager


View Profile
February 11, 2014, 03:14:49 PM
 #32175

Is it possible to issue fees for the AE? For example if Person A wants to buy 500 Assets and Person A pays 500 NXT for them, will it be possible for me as the asset owner to issue a fee of 5 NXT for this transaction?

afaik no. Basically you can only profit from an asset when you create it, or when you pay dividends (not payout 100%)

Okay thanks.

achimsmile
Legendary
*
Offline Offline

Activity: 1225
Merit: 1000


View Profile
February 11, 2014, 03:15:40 PM
 #32176

I have 2 aliases with the same name

Not possible. Provide your account number please.

What is possible is to reassign an alias. say I bought the alias "google", but I assigned a wrong URI to it. Then I would assign the alias again (with 1NXT fee) and change the URI. Only the owner of an alias can reassign it.

Another possibility that could have happened to you is that you set the deadline too short. Say you set the deadline to 1 minute, and the next block gets created after 2 minutes, then your alias assignement gets cancelled because it was not included in a block before hitting deadline.

Thanks a lot for your answer. That was also what I was thinking/understood. My account # is 18282429533886242938. The URI is exactly the same as the alias. Both aliases have now over 70 confirmations.

PS: I'm using NXT Solaris client 1.7.0.20 (x64) and NRS 0.7.2.

Ok, then everything is fine Wink

I can see that you assigned the same alias twice, so you only have 1 alias now.

If unsure about your aliases, check: http://87.230.14.1/nxt/nxt.cgi?action=4000&acc=18282429533886242938
dawn
Full Member
***
Offline Offline

Activity: 121
Merit: 100


View Profile
February 11, 2014, 03:18:17 PM
 #32177

Yet another client-side check?

It makes sense that a client should such checks rather than the NRS itself - the server side is correct to assume "that you know what you are doing" so if you ask to re-assign an alias to the same value then as far as the server is concerned that is what you meant.

The other way I guess it could be resolved would be to have a "second parameter" to the alias API that states whether it is "creating" or "updating" the alias.


The client displayed me an error about a timeout. I didn't tought it went trough. But after it billed me for both aliases (same alias, same URL). I'm not sure if I understand you correctly: This is only a client problem and the two same aliases I get displayed under "Account aliases" are a bug? I not got the same alias twice, but I payed for the same alias and URI a second time (for the assignement). Right?

0.011BTC/GH contract for 5 years !!!!!: >>Get it now! (weekly payouts)<< Got my 5th weekly payout
joefox
Full Member
***
Offline Offline

Activity: 210
Merit: 100


View Profile WWW
February 11, 2014, 03:19:13 PM
 #32178

Hey gang,

It appears my "J-captain" is AWOL.  I have created testNxt account 12008119612428572143 on the test-net.  Would anyone be a pal and fire me some testcoin?  I wanna buy some UNIGOTS!!

Thanks!

I admin the Nxt Wiki at http://wiki.nxtcrypto.org/ Please support my work by donating to Nxt account #1234567740944417915
achimsmile
Legendary
*
Offline Offline

Activity: 1225
Merit: 1000


View Profile
February 11, 2014, 03:19:46 PM
 #32179

Quoted twice, coz one time is definitely not enough...

 Cheesy hilarious
opticalcarrier
Full Member
***
Offline Offline

Activity: 238
Merit: 100



View Profile
February 11, 2014, 03:20:19 PM
 #32180

So what are people testing this thing on. Do we have an experimental nrs version out now that lets you issue test assets?

ive CLI'ed the API in a bash script if people dont want to use a 2nd party client.  Not that is does not use https due to limitation with curl.  so only ever use it on your localhost, except the testnet will be ok since it doesnt use real NXT or real accounts.  And Im not 100% sure but I also believe it will only work with numbers/letters for passphrase as some characters hose up in curl

Code:
# cat /usr/local/sbin/ncli
#!/bin/bash


# to update for additional API calls, enter the new command in the array API, but be sure to
# keep the case switch sections in the same order as in the API array
#

API=(getAccount cancelBidOrder cancelAskOrder getBidOrder getAskOrder getAccountCurrentBidOrderIds getAccountCurrentAskOrderIds getBidOrderIds getAskOrderIds placeBidOrder placeAskOrder transferAsset getAsset getAssetIds issueAsset sendMoney getTransactionBytes getTransaction broadcastTransaction decodeToken getPeers getPeer getAccountId getAccountBlockIds getAccountPublicKey getAccountTransactionIds getBalance getGuaranteedBalance assignAlias getAliasId getAliasIds getAliasURI listAccountAliases sendMessage getBlock getConstants getMyInfo getState getTime decodeHallmark markHost)

if [ "$2" = "l" ]; then
        HOST="127.0.0.1"
else
        HOST=$2
fi

if [ "$HOST" = "holms.cloudapp.net" ]; then
        PORT="6874"
else
        PORT="7874"
fi

case "$1" in

getAccount)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1\&account\=$3\&timestamp=$4 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server account timestamp"
fi
        ;;

cancelBidOrder)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1\&secretPhrase\=$3\&order\=$4\&fee\=$5\&deadline\=$6 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server passphrase orderID fee deadline"
fi
        ;;

cancelAskOrder)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1\&secretPhrase\=$3\&order\=$4\&fee\=$5\&deadline\=$6 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server passphrase orderID fee deadline"
fi
        ;;

getBidOrder)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1\&order\=$3 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server orderID"
fi
        ;;

getAskOrder)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1\&order\=$3 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server orderID"
fi
        ;;

getAccountCurrentBidOrderIds)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1\&account\=$3\&asset\=$4 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server account asset(optional)"
fi
        ;;

getAccountCurrentAskOrderIds)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1\&account\=$3\&asset\=$4 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server account asset(optional)"
fi
        ;;

getBidOrderIds)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1\&asset\=$3\&timestamp\=$4 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server assetID timestamp"
fi
        ;;

getAskOrderIds)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1\&asset\=$3\&timestamp\=$4 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server assetID timestamp"
fi
        ;;

placeBidOrder)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1\&secretPhrase=$3\&asset\=$4\&quantity\=$5\&price\=$6\&fee\=$7\&deadline\=$8 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server passphrase asset quantity price fee deadline "
fi
        ;;

placeAskOrder)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1\&secretPhrase=$3\&asset\=$4\&quantity\=$5\&price\=$6\&fee\=$7\&deadline\=$8 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server passphrase asset quantity price fee deadline "
fi
        ;;

transferAsset)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1\&secretPhrase=$3\&recipient\=$4\&asset\=$5\&quantity\=$6\&fee\=$7\&deadline\=$8 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server passphrase recipient asset quantity fee deadline "
fi
        ;;

getAsset)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1\&asset\=$3 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server assetID "
fi
        ;;

getAssetIds)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server "
fi
        ;;

issueAsset)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1\&secretPhrase\=$3\&name\=$4\&description\=$5\&quantity\=$6\&fee\=$7 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server passphrase name description quantity fee "
fi
        ;;

sendMoney)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1\&secretPhrase\=$3\&recipient\=$4\&amount\=$5\&fee=$6\&deadline\=$7 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server passphrase recipient amount fee deadline"
fi
        ;;

getTransactionBytes)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1\&transaction\=$3 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server transactionID"
fi
        ;;

getTransaction)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1\&transaction\=$3 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server transactionId"
fi
        ;;

broadcastTransaction)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1\&transactionBytes\=$3 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server bytecode"
        fi
;;

decodeToken)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
       curl -s http://$HOST:$PORT/nxt\?requestType\=$1\&website\=$3\&token\=$4 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server site.domain.tld 160characterToken"
fi
        ;;

getPeers)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server"
fi
        ;;

getPeer)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1\&peer\=$3 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server peerIPorDNS"
fi
        ;;

getAccountId)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1\&secretPhrase\=$3 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server passphrase"
fi
        ;;

getAccountBlockIds)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1\&account\=$3\&timestamp\=$4 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server account timestamp"
fi
        ;;

getAccountPublicKey)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1\&account\=$3 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server account"
fi
        ;;

getAccountTransactionIds)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1\&account\=$3\&timestamp\=$4 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server account timestamp"
fi
        ;;

getBalance)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1\&account\=$3 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server account"
fi
        ;;

getGuaranteedBalance)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1\&account\=$3\&numberOfConfirmations\=$4 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server account numberOfConfirmationsRequired"
fi
        ;;

assignAlias)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1\&secretPhrase\=$3\&alias\=$4\&uri\=$5\&fee\=$6\&deadline\=$7 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server passphrase alias uri fee deadline"
fi
        ;;

getAliasId)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1\&alias\=$3 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server alias"
fi
        ;;

getAliasIds)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1\&timestamp\=$3 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server timestamp"
fi
        ;;

getAliasURI)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1\&alias=$3 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server alias"
fi
        ;;

listAccountAliases)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
 curl -s http://$HOST:$PORT/nxt\?requestType\=$1\&account=$3 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server account"
fi
        ;;

sendMessage)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1\&secretPhrase\=$3\&recipient\=$4\&fee=$5\&message\=$6\&deadline\=$7 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server passphrase recipient fee HEX deadline"
        echo "note the message is NOT sent encrypted.  Encrypt yourself if required"
fi
        ;;

getBlock)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1\&block=$3 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server blockID"
fi
        ;;

getConstants)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server"
fi
        ;;

getMyInfo)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server"
fi
        ;;

getState)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
       else
        echo "ncli $1 server"
fi
        ;;

getTime)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server"
fi
        ;;

decodeHallmark)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
        curl -s http://$HOST:$PORT/nxt\?requestType\=$1\&hallmark=$3 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
else
        echo "ncli $1 server hallmarkString"
fi
        ;;

markHost)
if [[ "$HOST" != "help" && "$HOST" != "" ]]; then
 curl -s http://$HOST:$PORT/nxt\?requestType\=$1\&secretPhrase=$3\&host\=$4\&weight\=$5\&date\=$6 | python -m json.tool | sed -e 's/\([]"{}[,]\)//g'
       else
        echo "ncli $1 server passphrase IPaddressOrDNSname weight date"
        echo "where date format is YYYY-MM-DD"
fi
        ;;

*)      echo ""
        echo "Usage:  ncli APIcmd server option1 option2..."
        echo ""
        echo "where server is IP/DNS or use l to query localhost"
        echo "and options are APIcmd specific"
        echo "API commands:"

        for item in ${API[*]}
        do
                printf " %s\n" $item
        done
        echo "use 'ncli APIcmd help' for more help on a particular API command"
;;

esac
Pages: « 1 ... 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 [1609] 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 ... 2557 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!