Pages:
Author

Topic: Nxt Monetary System launched: Now on Nxt Testnet! - page 5. (Read 8504 times)

sr. member
Activity: 364
Merit: 250
i will get some testnet coin , let's see what will happen then

For more info specific to using this release, please keep an eye on https://nxtforum.org/nrs-releases/nrs-v1-4-0e/

It's still in testing, so things are less intuitive than they will be in the stable release.  Smiley
thanks , will join the communication soon
legendary
Activity: 1092
Merit: 1010
i will get some testnet coin , let's see what will happen then

For more info specific to using this release, please keep an eye on https://nxtforum.org/nrs-releases/nrs-v1-4-0e/

It's still in testing, so things are less intuitive than they will be in the stable release.  Smiley
sr. member
Activity: 364
Merit: 250
i will get some testnet coin , let's see what will happen then
tyz
legendary
Activity: 3360
Merit: 1533


NXT is pure innovation!
legendary
Activity: 2142
Merit: 1010
Newbie
Why not just use NXT itself?  What utility will this feature provide?

Decentralization2
legendary
Activity: 1246
Merit: 1000
Why not just use NXT itself?  What utility will this feature provide?
sr. member
Activity: 251
Merit: 250
Use for loyalty points/tokens? Smiley
Less technical skills required than when you have to create/clone your own crypto.
hero member
Activity: 515
Merit: 502
It is one of those things that you don't know exactly what it will be good for but, at the same time, you sense that it's great and that people will find many ingenious and useful applications  Cool  crowdfunding is only the first one
full member
Activity: 232
Merit: 100
This release will definitely change the Cryptocurrency landscape.
legendary
Activity: 1092
Merit: 1010
Hello people,

Beware Wall-of-Text below...

tl;dr version:
The Nxt Monetary System is a feature so distinct that I think it merits a separate topic.
Wíth the Monetary System, it becomes possible to issue Nxt backed currencies on top of the Nxt blockchain. These currencies can either work as a PoS currency ór a PoW currency.
The currencies are created by "locking" a certain amount of Nxt as collateral for all the coins subsequently released. Below, you can read the several parameters that can be set for these currencies, as well as several possible use cases for this feature of Nxt.

The Monetary System is currently running on the Nxt Testnet, so if you want to have a test drive, and even better: go on a bughunt, please join us and fiddle around with it.

How to use TestNet!
CHECK THIS VERY WELL!

1. Download last NRS release into some folder, say "testnxt". Version 1.4.0e can be found here: https://nxtforum.org/nrs-releases/nrs-v1-4-0e/
2. Unzip the archive, and go to folder testnxt\nxt\conf
3. Edit file nxt.properties: find the string nxt.isTestnet=false, and change it to nxt.isTestnet=true
4. Navigate to testnxt\nxt\, and start run.bat (windows) or ./run.sh (linux).
5. Open http://localhost:6876/ in your browser.
6. Request TestNxt in this thread: https://nxtforum.org/testnet/some-testnxt-to-test-asset-exchange/
7. Happy fiddling (and testing)

Overview

The "Currency" entity is the basic building block of the NXT Monetary System, currency has a unique name and code and uniqueness is guaranteed by the protocol, currencies can be deleted and their code can be reused under certain conditions.

The total currency supply is divisible into currency units. Like assets, currency units supports decimal positions implemented as a client side feature. The maximum number of currency units which can be issued per currency is similar to NXT i.e. 10^9 * 10^8. The actual maximum units supply is set by the currency issuer. The currency issuer is the account which issues the currency and pays the issuance fee. The issuer is responsible for setting the currency properties and in some configurations has additional control over the currency usage. Like asset balance, currency units can be transferred between accounts.

Currency Properties


The currency entity supports several properties. Properties can be mixed and matched in various ways to compose the currency type. The currency type then controls the inner workings of the currency. The list of available currency properties is as follows:
EXCHANGEABLE - the currency can be exchanged with NXT. Holders of the currency can publish an exchange offer specifying the buy and sell rate of the currency much the same as banks or currency exchanges publish their exchange rates . Each account can publish only a single exchange offer at any given time. Exchange offers has an expiry block after which they are no longer in effect. Buyers and sellers can issue exchange requests to match published exchange offers. Unlike asset bid/ask orders, exchange requests are not saved, they are either executed immediately (fully or partially) or not executed at all. A match of exchange offer with a buy or sell exchange request creates an exchange entity which represents the transfer of currency units in return to NXT balance and causes the relevant account balances to update. Issuing an exchange offer reduces the NXT and currency balance of the offer temporary as long as the exchange offer is in effect. Exchange offers also specify the limit on the number of exchanged units which can be larger than the number of units offered. When a buy exchange request matches an exchange offer the number of units offered for sell is reduced and the number of units offered to buy is increased as long as the limit has not been reached. Once the exchange limit of an exchange offer has been reached, This exchange offer can no longer be used.
CONTROLLABLE - currency property suitable for currencies which need to track an external entity. It imposes the following limitations on the currency (1) Currency can be transferred only to/from the issuer account (2) only the issuer account can publish exchange offers. The issuer account can issue a large (practically infinite) supply of units in advance, then transfer units to accounts or offer to exchange units to reflect actual transactions which takes place in an external system. The large supply of units in the issuer account can be used to mimic the effect of creating units out of nowhere to support features such as creating new units and interest payments.
RESERVABLE - currency units are not issued immediately. Instead the currency issuer sets a block height at which the currency is to be issued and a limit of NXT per unit needed in order to issue the currency. Currency "founders" then spend their NXT to reserve their currency stake. If the amount of NXT per unit needed in order to issue the currency is not reserved before reaching the block height the issuance is cancelled and funds are returned minus fees. If the required reserve is allocated, the currency is issued and units are split between founders according to their proportional stake of invested NXT. In case of rounding, leftovers are sent to the issuer account. See below discussion of usage scenarios for Reservable currency.
CLAIMABLE - currency units of resereable currency can later be claimed at the same NXT per unit rate reached when reserving the currency. The ability to claim a currency at a certain rate imposes some practical limits on the rates in which users would want to exchange it. However claimable currency can also be exchanged if only for the purpose of exchanging the whole currency supply so that the currency can be deleted.
MINTABLE - currency can be minted using proof of work algorithms much the same as Bitcoin. Unlike Bitcoin mining, minting currency does not secure the network (this is done by NXT). Minting is used solely for creating new currency units and serve as the only mechanism to increase the number of available units after the currency issuance.
NON_SHUFFLEABLE - this property indicates that in the future this currency cannot participate in coin shuffling. By default currencies are allowed to participate in shuffling.
Properties are combined into an Integer bit mask designated as the Currency type.

Currency Exchange
For exchangeable currency, each currency holder account, can publish a single exchange offer specifying the buy rate and sell rate vs NXT and the number of units she is willing to exchange (which cannot exceed her available currency units and NXT balance). Users can observe all currency exchange offers (intuitively similar to fiat exchange offices) and try to match them with buy/sell exchange requests. An exchange offer has an expiration height as well as a limit on the total number of units which can be exchanged. When units are bought from an exchange offer the number of units to sell increases automatically and vise versa. The publisher can also limit the total transaction volume of currency units traded for a specific exchange offer.

Deleting a Currency
Since the available currency codes are limited to 3, 4 or 5 uppercase letters, the total number of codes is limited to 26^3 + 26^4 + 26^5 - 1 = 12355927 unique values (The code "NXT" is reserved), it is likely that some of these codes will have value by themselves. Therefore deleting a currency is possible under certain conditions depending on the currency type. Users may re-issue or delete a currency and then issue a new currency with the same code but with different properties. In order to delete or re-issue a currency an account must poses all the currency units (and additional conditions apply based on the currency type)

Creating new Currency Units
The only way to create new currency units after issuing a currency is using proof of work minting. Other methods of creating units are susceptible to denial of service attacks and/or sock puppets and are therefore not allowed. The controlable currency type provides a partial solution for creating new units, by allowing the currency issuer account to treat her supply as a treasury and only consider units outside of this account as the total currency supply. This approach requires users to trust the currency issuer which can increase the currency supply at any time.

Minting
Users can issue minting requests in order to mint additional currency units. Each minting request triggers a hash calculation based on the submitted data and the currency hash algorithm. The resulting hash code is compared to the target value derived from the current currency difficulty. Minimal and maximal currency difficulty values and minting algorithm are specified when issuing the currency and cannot be changed later. The expected number of hash calculations (i.e. difficulty) of minting the first unit is 2^minDifficulty while the difficulty of minting the last unit is 2^maxDifficulty. Difficulty increases linearly from min to max based on the ratio between the current number of units and the total supply. Difficulty increases linearly with the number of units minted per CurrencyMint request, small minters can mint only a few units per request while large minters can mint large number of units per request. The number of units per minting request is limited to 1/10000 of the total unit supply. Minting is limited to a single minting transaction per block/account/currency. Currency issuers can specify initial supply of units as a "pre-mint" supply assigned to the issuer account then use crowd funding by making the currency RESERVABLE and EXCHANGEABLE. Once the currency becomes active the delta between the current supply (pre-minted and reserved) and total supply can be minted. The NRS provides a Java based, reference implementation mInter, which can be used for minting. In practice we expect users to enhance this minter to calculate hash codes using their Asics or GPUs, trying to match the current target, and once solving a hash, submit a currency mint transaction (thus paying a fee).
If indeed the hash code is smaller than the target the currency units are credited to the sender account.

Store of Value
The combination of RESERVABLE and CLAIMABLE properties can be used to allocate initial value for a currency by locking NXT. Once the currency is issued the reserved NXT are locked and the only way to release them is to claim back the currency units in return to NXT. This provides the currency a value based on the locked NXT balance. Note: locked NXT do not participate in forging, therefore, in theory its possible that large amount of NXT becomes locked as currency store of value thus reducing the amount of NXT used for securing the network, we are aware of this problem and we'll monitor it closely. We do not expect this to become a major problem any time soon.

Crowd Funding
The combination of RESERVABLE and (not CLAIMABLE) properties can be used for crowd funding, in this configuration the NXT balance reserved by founders, is not locked, instead it is sent to the currency issuer account once the currency becomes active. The issuer can use these NXT for its operations and the founders cannot claim back their currency units, only exchange it based on the published exchange offers.

Fees
Currency issuance fee is based on the length of the currency code.
3 Letters - 25000 NXT
4 Letters - 1000 NXT
5 Letters - 40 NXT
Re-issuing an existing currency with different properties costs 40 NXT regardless of the number of letters. All other currency transaction (as of today) has a fee on 1 NXT.
Pages:
Jump to: