Trading
Mutuality is mandatory.
- %, risk.reward
The trading system
In hackmud, trading is an alternative method to exchange resources between users, the only method of exchanging bits ⌽, and the process through which qubits ⓠ are realised.
Instead of using accts.xfer_gc_to and sys.xfer_upgrade_to, trading uses the trade shell command, and has its own interface and fees.
Starting a trade
The syntax for starting a trade is trade <user>. This will send a trade request to the inputted user, and they must do the same, with your name.
To trade as a corp representative, replace trade with trade_corp.
Example
angie wishes to trade with bo, so angie sends bo a trade request:
>>trade bo
Success
bo then sees the trade request, and accepts:
trade request received. begin trade with trade angie
>>trade angie
Success
At which point both parties then see the trade interface appear:
║ trade 68b1152c50334a086f9b258e ║
╙━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╢
angie offers ║ bo offers
┗ AS SELF ║ ┗ AS SELF
━━━ ║ ━━━
║
-- EMPTY -- ║ -- EMPTY --
║
make trade offers with trade_bits, trade_gc, trade_add
for usage see trade_help
A trade has begun.
Making offers
GC, upgrades, bits ⌽, and qubits ⓠ can be offered using the commands outlined in trade_help.
There will be a trade fee based on what is offered, which is outlined later in detail.
Commands
The commands for making offers, as shown in trade_help:
trade_bits <bit amount> [sets your offered bits amount]
trade_fee <0 or 1> [selects which user pays the trade fee]
trade_gc <GC num or string> [adds GC to your offers]
trade_add <upgrade index> [adds an upgrade to your offers]
trade_rem <upgrade trade index> [removes an offered upgrade from your offers]
trade_up_info <upgrade trade index> [shows detailed upgrade information for an offered upgrade]
Offering qubits (and corp donations)
To offer qubits ⓠ for realization, you use the same command as when offering bits ⌽ (trade_bits), and qubits ⓠ will be offered first, given the current trade is a corp donation.
To be a "corp donation", the following criteria must be met:
- Exactly one party is acting as a corp
- The non-corp party is offering bits ⌽ (bits ⌽ and qubits ⓠ are treated the same)
- No other items are offered by either party
Corp donations have no trade fee.
When qubits ⓠ are offered in a donation and the trade is completed, the offered qubits ⓠ will be realized as bits ⌽ in the corp's "bits purse".
Concluding a trade
Trades can end in two ways: both parties accept the trade and the resources are exchanged, or one party runs trade_end and no resources are exchanged.
Fees
Use of the trade system incurs a fee, paid with bits ⌽. The minimum trade fee is 3⌽
The fee is based on the resources exchanged on completion of the trade - not all resources present,
The trade fee will be reduced if the involved parties are corp representatives or COMCODE supporters.
These fee reductions apply as "stacks" - multiple instances of criteria being met will reduce the fee further. For example: both parties being supporters will apply two "stacks" of fee reduction.
Corp representative and COMCODE supporter criteria are not mutually exclusive, allowing for up to 4 stacks of fee reduction when both parties are supporters and trading as corps.
Corp donations (outlined above) have no fee.
If fee reduction criteria are met, it will be displayed in the trade UI.
Bits
The fee on an exchange of bits is calculated as a percentage of the bits exchanged, with the following values:
| Reduction Stacks | Fee % |
|---|---|
| 0 | 5% |
| 1 | 4% |
| 2 | 3% |
| 3 | 2% |
| 4 | 1% |
| Corp donation | No fee |
GC
The fee on an exchange of GC is calculated as a percentage of the BGC exchanged, with the following values:
| Reduction Stacks | Fee % |
|---|---|
| 0 | 50% |
| 1 | 40% |
| 2 | 30% |
| 3 | 20% |
| 4 | 10% |
Upgrades
The fee on an exchange of upgrades is based on the rarity of the upgrades, with the following values:
| Rarity | 0 Reduction | 1 Reduction | 2 Reduction | 3 Reduction | 4 Reduction |
|---|---|---|---|---|---|
| noob | 3 ⌽ | 3 ⌽ | 3 ⌽ | 3 ⌽ | 3 ⌽ |
| kiddie | 3 ⌽ | 3 ⌽ | 3 ⌽ | 3 ⌽ | 3 ⌽ |
| h4x0r | 5 ⌽ | 4 ⌽ | 3 ⌽ | 3 ⌽ | 3 ⌽ |
| h4rdc0r3 | 25 ⌽ | 20 ⌽ | 15 ⌽ | 10 ⌽ | 5 ⌽ |
| |_|b3|2 | 50 ⌽ | 40 ⌽ | 30 ⌽ | 20 ⌽ | 10 ⌽ |
| 31337 | [404] | [404] | [404] | [404] | [404] |
Notes
- You cannot offer something the other party is unable to hold.
- You can trade among your own users, but you cannot offer bits ⌽.
- With the exclusion of corp <-> user and corp <-> corp trades.
- The trade system can exceed the 32BGC xfer limit.
- Each party appears to only be able to offer 1 upgrade.
- Fees of rarity 5 upgrades are currently undocumented due to lack of publicly available data.
- Fee reduction stacks are counted based on the users.
- A supporter doing a trade between their own users (no corp parties) would have 2 stacks of fee reduction, not 1.