You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,8 +87,8 @@ Where:
87
87
88
88
``request`` is Django's view HttpRequest object
89
89
``order_id`` is just your order id
90
-
``coin`` is the coin you wish to use, can be one of: ``['btc', 'eth', 'bch', 'ltc', 'iota']`` and you need to have a ``Provider`` set up for that coin.
91
-
``value`` is an integer of the value of your order, either in satoshi, litoshi, wei or IOTA
90
+
``coin`` is the coin you wish to use, can be one of: ``['btc', 'eth', 'bch', 'ltc', 'xmr', 'iota']`` and you need to have a ``Provider`` set up for that coin.
91
+
``value`` is an integer of the value of your order, either in satoshi, litoshi, wei, piconero or IOTA
92
92
93
93
94
94
### Getting notified when the user pays
@@ -122,7 +122,7 @@ This library has a couple of helpers to help you get started
122
122
There's also some template tags which you can import to help you with conversions and the protocols.
123
123
You just need to load ``cryptapi_helper`` on your template and use the following tags / filters:
124
124
125
-
``{% convert_value coin value %}`` where the coin is one of ``['btc', 'eth', 'bch', 'ltc', 'iota']`` and the value is the value in satoshi, litoshi, wei or IOTA, will convert to the main coin denomination.
125
+
``{% convert_value coin value %}`` where the coin is one of ``['btc', 'eth', 'bch', 'ltc', 'xmr', 'iota']`` and the value is the value in satoshi, litoshi, wei or IOTA, will convert to the main coin denomination.
126
126
127
127
128
128
``{{ coin|coin_name }}`` will output the properly formatted cryptocurrency name
0 commit comments