What is the dev preview#848
Conversation
e554bad to
ecc1176
Compare
ecc1176 to
5b5c285
Compare
|
Scratch that, I missed that you added it to the regular requirements. |
| ************* | ||
| Raiden has a Restful API with URL endpoints corresponding to actions that the user can perform with his channels. The endpoints accept and return JSON encoded objects. The api url path always contains the api version in order to differentiate queries to different API versions. All queries start with: ``/api/<version>/`` where ``<version>`` is an integer representing the current API version. | ||
| ============= | ||
| Raiden has a Restful API with URL endpoints corresponding to actions that the user can perform with its channels. The endpoints accept and return JSON encoded objects. The API URL path always contains the API version in order to differentiate queries to different API versions. All queries start with: ``/api/<version>/`` where ``<version>`` is an integer representing the current API version. |
There was a problem hiding this comment.
It's referring to user so singular and not plural
There was a problem hiding this comment.
The proper way to be gender neutral is to use plural their and not neutral form.
| Below is a series of different scenarios showing different ways that the Raiden API can be used and interacted with. | ||
|
|
||
| A good way to check that you started Raiden correctly before proceeding is to check that your Raiden address is the same address as the Ethereum address that you chose, when starting the Raiden node:: | ||
| A good way to check that we started Raiden correctly before proceeding is to check that our Raiden address is the same address as the Ethereum address that we chose, when starting the Raiden node:: |
There was a problem hiding this comment.
Please do not use the "we" form here. Either leave it as is, or if you really really wanna change it, then make it to passive voice. But I see absolutely no problem in leaving it as it is.
There was a problem hiding this comment.
Hmm. I see your point. I changed it to "we" for consistency, but I'd prefer the passive voice.
There was a problem hiding this comment.
@LefterisJP I use we consistently throughout the entire document. Would you prefer that I change it to consistently be your/you instead?
There was a problem hiding this comment.
Personally I prefer we because I find it less personal, but could also try to make it it entirely neutral.
There was a problem hiding this comment.
we is quite personal. You is more neutral. It can be either you singular or plural. Even more neutral is passive voice. But I still think leaving it as you is fine. Changing it to we is not.
| GET /api/1/address | ||
|
|
||
| If this returns your address, you know that your Raiden node has the API up and running. | ||
| If this returns our address, we know that our Raiden node is up and running correctly. |
There was a problem hiding this comment.
Same goes here and in all the other places below where you changed you to we and your to our.
|
|
||
| There are some interesting parameters to note here. The ``role`` defines whether the address sending the message is the ``maker`` or the ``taker``. The maker call must be carried out before the taker call can be carried out. The ``sending_amount`` and the ``sending_token`` represents the token for which the maker wants to send some amount in return for a ``receiving_token`` and a ``receiving_amount``. So in this specific case Alice is making an offer of 42 of ``tokenA`` with the address ``0xea674fdde714fd979de3edf0f56aa9716b898ec8`` for 76 of ``tokenB`` with the address ``0x2a65aca4d5fc5b5c859090a6c34d164135398226``. | ||
|
|
||
| Now all we need is for someone to take the offer. It could be that Alice and Bob has decided on the swap in private and thus Alice simply tells Bob the ``identifier``. Or it could be that the offer is taken by Bob who sees the offer on some decentralized exchange powered by Raiden. |
There was a problem hiding this comment.
Alice and Bob has -> Alice and Bob have
| "receiving_token": "0x2a65aca4d5fc5b5c859090a6c34d164135398226" | ||
| } | ||
|
|
||
| There are some interesting parameters to note here. The ``role`` defines whether the address sending the message is the ``maker`` or the ``taker``. The maker call must be carried out before the taker call can be carried out. The ``sending_amount`` and the ``sending_token`` represents the token for which the maker wants to send some amount in return for a ``receiving_token`` and a ``receiving_amount``. So in this specific case Alice is making an offer of 42 of ``tokenA`` with the address ``0xea674fdde714fd979de3edf0f56aa9716b898ec8`` for 76 of ``tokenB`` with the address ``0x2a65aca4d5fc5b5c859090a6c34d164135398226``. |
There was a problem hiding this comment.
represents the token for which -> represent the token for which
|
|
||
| Introduction | ||
| ------------ | ||
| The goal with releasing the Developer Preview is to give developers a chance to get familiar with the |
There was a problem hiding this comment.
The goal with releasing the Developer -> The goal of releasing the Developer
| Introduction | ||
| ------------ | ||
| The goal with releasing the Developer Preview is to give developers a chance to get familiar with the | ||
| Raiden API and to figure out what will be possible to do with Raiden, once it's fully ready. |
There was a problem hiding this comment.
and to figure out what will be possible to do with Raiden, once it's fully ready. -> and to get an idea of the full potential of Raiden once all issues are addressed
|
|
||
| - Opening, closing and settling of payment channels. | ||
| - Direct and mediated (multi hop) transfers. | ||
| - Automatically joining a token network and connecting to peers |
| - Automatically joining a token network and connecting to peers | ||
| - A :doc:`REST API <rest_api>` with endpoints for all functionality. | ||
| - Possibility to create token networks for all ERC20 tokens. | ||
| - Restartability of Raiden nodes. |
There was a problem hiding this comment.
Here perhaps make a note that restartability means only if case of a proper shutdown
| ---------------------------- | ||
|
|
||
| - Safe to use in the main net and we do not recommend that anyone deploy the contracts to the Ethereum main net. | ||
| - Properly security audited and should, hence, not be used to transfer anything of actual value. |
There was a problem hiding this comment.
anything of actual value. -> anything of considerable value.
fix Raiden capitalization removing unexisting link`
5b5c285 to
6d1260a
Compare
fix superflous comma and add paragraf about IP addresses
6d1260a to
0772d5a
Compare
No description provided.