Skip to content

Commit fe4a66e

Browse files
authored
Merge pull request #114 from celo-tools/1.8.0
v1.8.0
2 parents d201217 + 4bd3e51 commit fe4a66e

39 files changed

Lines changed: 14856 additions & 9992 deletions

.github/workflows/bundle-desktop.yml

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ jobs:
1212
runs-on: ${{ matrix.os }}
1313
strategy:
1414
matrix:
15-
# os: [macos-latest, windows-latest, ubuntu-latest]
16-
os: [windows-2019, ubuntu-latest]
15+
os: [macos-11, windows-2019, ubuntu-latest]
1716

1817
steps:
1918
- uses: actions/checkout@v2
@@ -22,11 +21,8 @@ jobs:
2221
node-version: '14'
2322
check-latest: true
2423

25-
- name: Adjust yarn timeout
26-
run: yarn config set network-timeout 1800000 -g
27-
2824
- name: Install dependencies
29-
run: yarn --frozen-lockfile
25+
run: yarn --immutable
3026

3127
- name: Run linter
3228
run: yarn lint
@@ -43,21 +39,20 @@ jobs:
4339
ALCHEMY_KEY: ${{ secrets.ALCHEMY_KEY }}
4440
WALLET_CONNECT_KEY: ${{ secrets.WALLET_CONNECT_KEY }}
4541

46-
# Mac builds on Github are very flaky, disabling for now as they're easy to make locally anyway
47-
# - name: Build on Mac
48-
# run: yarn electron-builder --mac --publish never
49-
# env:
50-
# CSC_LINK: ${{ secrets.MAC_CSC_LINK2 }}
51-
# CSC_KEY_PASSWORD: ${{ secrets.MAC_CSC_KEY_PASSWORD }}
52-
# DISABLE_MULTIPART_DOWNLOADING: true
53-
# if: runner.os == 'macOS'
42+
- name: Build on Mac
43+
run: yarn electron-builder --mac --publish never
44+
env:
45+
CSC_LINK: ${{ secrets.MAC_CSC_LINK }}
46+
CSC_KEY_PASSWORD: ${{ secrets.MAC_CSC_KEY_PASSWORD }}
47+
APPLE_ID: ${{ secrets.APPLE_ID }}
48+
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
49+
if: runner.os == 'macOS'
5450

5551
- name: Build on Windows
56-
run: yarn electron-builder --win --publish never || yarn electron-builder --win --publish never
57-
env:
58-
# CSC_LINK: ${{ secrets.WINDOWS_CSC_LINK2 }}
52+
run: yarn electron-builder --win --publish never
53+
# env:
54+
# CSC_LINK: ${{ secrets.WINDOWS_CSC_LINK }}
5955
# CSC_KEY_PASSWORD: ${{ secrets.WINDOWS_CSC_KEY_PASSWORD }}
60-
DISABLE_MULTIPART_DOWNLOADING: true
6156
if: runner.os == 'Windows'
6257

6358
- name: Install deps for Linux

.github/workflows/publish-desktop.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
runs-on: ${{ matrix.os }}
77
strategy:
88
matrix:
9-
os: [macos-latest, windows-2019, ubuntu-latest]
9+
os: [macos-11, windows-2019, ubuntu-latest]
1010

1111
steps:
1212
- uses: actions/checkout@v2
@@ -15,11 +15,8 @@ jobs:
1515
node-version: '14'
1616
check-latest: true
1717

18-
- name: Adjust yarn timeout
19-
run: yarn config set network-timeout 600000 -g
20-
2118
- name: Install dependencies
22-
run: yarn --frozen-lockfile
19+
run: yarn --immutable
2320

2421
- name: Run linter
2522
run: yarn lint

.github/workflows/publish-mac.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,8 @@ jobs:
1212
node-version: '14'
1313
check-latest: true
1414

15-
- name: Adjust yarn timeout
16-
run: yarn config set network-timeout 600000 -g
17-
1815
- name: Install dependencies
19-
run: yarn --frozen-lockfile
16+
run: yarn --immutable
2017

2118
- name: Build with webpack for electron
2219
shell: bash

.github/workflows/publish-ubuntu.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,8 @@ jobs:
1212
node-version: '14'
1313
check-latest: true
1414

15-
- name: Adjust yarn timeout
16-
run: yarn config set network-timeout 600000 -g
17-
1815
- name: Install dependencies
19-
run: yarn --frozen-lockfile
16+
run: yarn --immutable
2017

2118
- name: Build with webpack for electron
2219
shell: bash

.github/workflows/publish-windows.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,8 @@ jobs:
1212
node-version: '14'
1313
check-latest: true
1414

15-
- name: Adjust yarn timeout
16-
run: yarn config set network-timeout 600000 -g
17-
1815
- name: Install dependencies
19-
run: yarn --frozen-lockfile
16+
run: yarn --immutable
2017

2118
- name: Build with webpack for electron
2219
shell: bash

.gitignore

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
1+
# dependencies
2+
/node_modules
3+
/.pnp
4+
.pnp.js
5+
.pnp.*
6+
.yarn/*
7+
!.yarn/patches
8+
!.yarn/plugins
9+
!.yarn/releases
10+
!.yarn/sdks
11+
!.yarn/versions
12+
113
.cache/
214
coverage/
315
dist/
416
dist-electron/
5-
node_modules/
617
*.log
718

819
# OS generated files
@@ -13,3 +24,4 @@ node_modules/
1324
.Trashes
1425
ehthumbs.db
1526
Thumbs.db
27+

.yarn/releases/yarn-3.6.1.cjs

Lines changed: 874 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
nodeLinker: node-modules
2+
3+
yarnPath: .yarn/releases/yarn-3.6.1.cjs

FAQ.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,3 @@ Your seed phrases, from which you keys are derived, are encrypted using your pas
5252
Yes, Ledger hardware is supported on both the web and desktop versions. Due to browser limitations, Ledger has been found to work best in Chrome.
5353

5454
Note though that currently not all transactions can be parsed by the Celo Ledger app. Simple payments (like CELO or cUSD transfers) will show transaction details on the Ledger itself but transfers with comments or token exchanges will not yet show details.
55-
56-
## Can feature X be added?
57-
58-
Maybe, let's chat about it! Please see the [wallet Discord channel](https://discord.gg/ht885KmG5A) for open discussion.

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ This wallet uses [Subresource Integrity](https://developer.mozilla.org/en-US/doc
1616

1717
* Main bundle: `bundle.js -> sha256-mKlBK5sVilEAlbFWUFdhTsCB8Gn833r/J7y+kERB368=`
1818
* Optional Ledger bundle: `bundle-ledger.js -> sha256-TIQHOQhHK0Nlw5+LcUVxb8jBwGmoCHFkPfihIy42d9Y=`
19-
* Optional WalletConnect v1 bundle: `bundle-walletconnectv1.js -> sha256-drWkNcYufDCGAFcjfOsETtWH8H1ODgV4fEcd1ktfA2o=`
2019
* Optional WalletConnect v2 bundle: `bundle-walletconnectv2.js -> sha256-FijbSmdr+Dyizc5+HDlB8vI6tLPxyYhiHI36dCYmOCI=`
2120

2221
Advanced users can verify the source integrity by comparing the hashes in their page source to these values.
@@ -48,7 +47,6 @@ yarn electron:dev
4847
## Contributing
4948

5049
For small contributions such as bug fixes or style tweaks, please open a Pull Request.
51-
For new features, please create an issue to start a discussion on [Discord](https://discord.gg/ht885KmG5A).
5250

5351
## License
5452

0 commit comments

Comments
 (0)