Skip to content

What is the dev preview#848

Merged
LefterisJP merged 7 commits intoraiden-network:masterfrom
czepluch:what_is_the_dev_preview
Aug 9, 2017
Merged

What is the dev preview#848
LefterisJP merged 7 commits intoraiden-network:masterfrom
czepluch:what_is_the_dev_preview

Conversation

@czepluch
Copy link
Copy Markdown
Contributor

@czepluch czepluch commented Aug 2, 2017

No description provided.

@ulope
Copy link
Copy Markdown
Collaborator

ulope commented Aug 3, 2017

I'm getting a message that sphinx_rtd_theme isn't bundled with sphinx any more. pip install sphinx_rtd_theme fixed it. So it seems that package needs to be added to requirements-dev.txt

Scratch that, I missed that you added it to the regular requirements.

Comment thread docs/api_walkthrough.rst Outdated
*************
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.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its -> their

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's referring to user so singular and not plural

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The proper way to be gender neutral is to use plural their and not neutral form.

Comment thread docs/api_walkthrough.rst Outdated
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::
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm. I see your point. I changed it to "we" for consistency, but I'd prefer the passive voice.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@LefterisJP I use we consistently throughout the entire document. Would you prefer that I change it to consistently be your/you instead?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Personally I prefer we because I find it less personal, but could also try to make it it entirely neutral.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread docs/api_walkthrough.rst Outdated
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.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same goes here and in all the other places below where you changed you to we and your to our.

Comment thread docs/api_walkthrough.rst Outdated

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.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alice and Bob has -> Alice and Bob have

Comment thread docs/api_walkthrough.rst Outdated
"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``.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

represents the token for which -> represent the token for which

Comment thread docs/what_is_the_dev_preview.rst Outdated

Introduction
------------
The goal with releasing the Developer Preview is to give developers a chance to get familiar with the
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The goal with releasing the Developer -> The goal of releasing the Developer

Comment thread docs/what_is_the_dev_preview.rst Outdated
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.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Comment thread docs/what_is_the_dev_preview.rst Outdated

- Opening, closing and settling of payment channels.
- Direct and mediated (multi hop) transfers.
- Automatically joining a token network and connecting to peers
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add a full stop

Comment thread docs/what_is_the_dev_preview.rst Outdated
- 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.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here perhaps make a note that restartability means only if case of a proper shutdown

Comment thread docs/what_is_the_dev_preview.rst Outdated
----------------------------

- 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.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

anything of actual value. -> anything of considerable value.

@czepluch czepluch force-pushed the what_is_the_dev_preview branch from 5b5c285 to 6d1260a Compare August 8, 2017 13:32
fix superflous comma and add paragraf about IP addresses
@czepluch czepluch force-pushed the what_is_the_dev_preview branch from 6d1260a to 0772d5a Compare August 8, 2017 14:21
@LefterisJP LefterisJP merged commit 45bf0f3 into raiden-network:master Aug 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants