chore: docs removal and editting

feature: redux fixes
versioning: 0.5
This commit is contained in:
Andre Neves 2019-03-30 17:43:18 -04:00
parent 1576b10711
commit c58b76c5ff
8 changed files with 11 additions and 106 deletions

View File

@ -1,6 +1,6 @@
# Development Workflow
This repository follow the GitFlow paradigm. If you are unfamiliar with GitFlow, please read [Atlassian's GitFlow documentation](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow) illustrating the concepts and its advantages.
This repository aims to follow the GitFlow paradigm. If you are unfamiliar with GitFlow, please read [Atlassian's GitFlow documentation](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow) illustrating the concepts and its advantages.
# Branching
@ -43,18 +43,8 @@ docs: commit messages doc
## Pull Requests
When it comes time to open a PR, make sure that the PR covers all development in the current ticket being worked on. Do your due diligence and make sure everything is working to the best of your knowledge, on every operating system you can test on. If everything is good to go a PR may be opened.
### Title
#### Title
The title of the PR should have the type shown (feature, hotfix, chore, etc..) as well as a brief description of the PR's purpose. Example
The title of the PR should have the type shown (feature, hotfix, chore, etc..) as well as a brief description of the PR's purpose. If this PR relates directly to a ticket (as they ideally should), add the ticket number in as well. Example
`[feature] [ZC-12] Add Infinite Scroll`
In some cases there may be a reason that a PR should be opened for discussion among all engineers. If this is the case you should prefix your PR's with [WIP] Example
`[WIP] [feature] [ZC-12] Add Infinite Scroll`
## Linting
All prjects containing Javascript must be linted. This helps us deliver clean and uniform code. ESLint will be the linter used on all projects, and `.eslintrc` file will provide the linting rules to follow.
`[feature] Add Infinite Scroll`

88
NODE.md
View File

@ -1,88 +0,0 @@
# Zcash Node Setup
The original `zcashd` daemon built by the Zcash Company, is built entirely in for Linux systems. If you're running a Linux distro, you should look [here](https://github.com/zcash/zcash) for instructions on how to install it.
For macOS users, please follow [this guide](https://github.com/kozyilmaz/zcash-apple) to build the binaries locally on your machine and then install it. After downloading the tarball and the hash, use the steps below to kickstart your node and connect it to the network.
## Installing
Download the attached files from Zcash Apple repository, verify the checksum of the archive and then extract its contents:
```bash
shasum -a 256 -c zcash-macos-v2.0.1a.tar.bz2.hash
tar -xvf zcash-macos-v2.0.1a.tar.bz2
```
## Running
When launching Zcash on macOS for the first time, certain initialization steps should be completed. Please run the commands below once for the first time
```
cd zcash-macos-v2.0.1a/usr/local/bin
./zcash-fetch-params
./zcash-init
```
You can just run Zcash by launching the daemon afterwards:
```
./zcashd
```
## Basic Commands
Along with `zcashd`, the daemon provides the `zcash-cli` utility which allows you to run RPC commands to your node, and receive the output data.
Some useful commands can be found below:
### General
> List information for a command
```bash
./zcash-cli help <command>
```
> List all shielded addresses
```bash
./zcash-cli z_listaddresses
```
> Create new shielded address
```bash
./zcash-cli z_getnewaddress
```
> Get total balance
```bash
./zcash-cli z_gettotalbalance
```
### Sending Funds
```bash
export ZADDR='zcNeXiyD3JkhKTrU38xM9C6HQGy9aP5qqVFH25qFzQGnmdwYZ2Dr53Jy7iRp64D4CzkMZdmKagN6mmtu3jVKHuZ8xZp8fw3'
export FRIEND='zcfZJW3qLHpSc7q7W1SXRGdVjgM6Q6kRwdkz1DHW5sP2EqcMHf5RCp3Frpf2qnb81j9K6upzRN4HoVxfboVwLTRaZ7bKn8b'
```
> Send from shielded address to shielded address (with memo and fee)
```bash
./zcash-cli z_sendmany "$ZADDR" "[{\"address\": \"$FRIEND\", \"amount\": 0.05, \"memo\": \"9876543210\"}]" 1 0.002
```
> Get send result
```bash
./zcash-cli z_getoperationresult [\"$OPID\"]
```
> List amounts received by shielded address
```bash
./zcash-cli z_listreceivedbyaddress "$ZADDR"
```
## Helpful Resources
* [Zcash Documentation (ReadTheDocs)](https://zcash.readthedocs.io/en/latest/rtd_pages/user_guide.html)
* [Zcash Apple Daemon](https://github.com/kozyilmaz/zcash-apple)
* [Zcash Community Forum](https://forum.zcashcommunity.com/)
* [Zcash Foundation](https://z.cash.foundation/)
* [Zcash Daemon](https://github.com/zcash/zcash)
* [Zcash Payment API Docs](https://github.com/zcash/zcash/blob/master/doc/payment-api.md)

View File

@ -36,7 +36,7 @@ const ChildrenWrapper = styled.div`
`;
const Message = styled(TextComponent)`
margin: 15px 0;
margin: 35px 0;
`;
const ErrorImage = styled.img`
@ -86,7 +86,7 @@ export class ErrorModalComponent extends PureComponent<Props> {
<ChildrenWrapper>
<ErrorImage src={ErrorIcon} alt='Error Icon' />
<Message value={message} />
<Button label='Ok!' onClick={onRequestClose} />
<Button label='Ok' onClick={onRequestClose} />
</ChildrenWrapper>
</ModalWrapper>,
this.element,

View File

@ -1,4 +1,5 @@
// @flow
import electronStore from '../../../config/electron-store';
import { ZCASH_NETWORK, EMBEDDED_DAEMON } from '../../constants/zcash-network';

View File

@ -1,4 +1,5 @@
// @flow
import type { Action } from '../../types/redux';
export const SEND_TRANSACTION = 'SEND_TRANSACTION';

View File

@ -1,4 +1,5 @@
// @flow
import uniqBy from 'lodash.uniqby';
import type { Action } from '../../types/redux';
import type { Transaction } from '../../components/transaction-item';

View File

@ -72,7 +72,7 @@ const AmountWrapper = styled.div`
position: relative;
&:before {
content: ${getCoinName()};
content: '${getCoinName()}';
font-family: ${props => props.theme.fontFamily};
position: absolute;
margin-top: 16px;

View File

@ -1,6 +1,6 @@
{
"name": "zepio",
"version": "0.4.6",
"version": "0.5.0",
"description": "Zepio",
"main": "config/main.js",
"license": "MIT",