Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Add geth + Ethereum Wallet integration into Brave #13177

Closed
wants to merge 47 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
e26429a
[WIP] eth wallet support
diracdeltas Feb 17, 2018
99fa452
geth runs when wallet is enabled
jumde Feb 17, 2018
7c46a0b
lint errors
jumde Feb 17, 2018
00cdfdd
move UI into a browserAction
diracdeltas Feb 17, 2018
aebc91e
fixed args for spawn
jumde Feb 17, 2018
566444c
Merge remote-tracking branch 'origin/feature/ethwallet' into feature/…
diracdeltas Feb 17, 2018
9e09bb3
Add tooling for upgrading geth, bundling
evq Feb 17, 2018
166cc16
style fixes
diracdeltas Feb 17, 2018
e94bb0f
exit issue
jumde Feb 17, 2018
84628d1
lint issue
jumde Feb 17, 2018
821fcde
lint issue
jumde Feb 17, 2018
b66ce0e
lint issue
jumde Feb 17, 2018
d54b113
add ETHEREUM_NETWORK env var to launch geth with --testnet
evq Feb 17, 2018
f4edf64
update package-lock.json
diracdeltas Feb 17, 2018
61a91a8
add buttons to browserAction
diracdeltas Feb 17, 2018
9a8da0c
fix about:ethwallet paths with more than one slash
diracdeltas Feb 17, 2018
994baaa
separate geth download from tools/downloadEthwallet
diracdeltas Feb 17, 2018
d3729f4
update meteor-dapp-wallet-prebuilt
diracdeltas Feb 17, 2018
daab0dd
remove ethwallet about: url mapping
diracdeltas Feb 17, 2018
a960129
remove unused fs require
diracdeltas Feb 17, 2018
b4a5bcd
Fix ethereum wallet title display in titleMode
diracdeltas Feb 17, 2018
28386ec
WIP: adding BAT balance display
diracdeltas Feb 18, 2018
d403826
fixup geth downloader, only dl once plus updates, change bin path
evq Feb 18, 2018
3a2c479
missing lint
evq Feb 18, 2018
f1d0d12
add hacky way to load transfer funds URL
diracdeltas Feb 18, 2018
8d77930
resized ethereum logo
jumde Feb 18, 2018
08713f3
resized ethereum logo
jumde Feb 18, 2018
72ea6a7
make transfer funds button slightly less hacky
diracdeltas Feb 18, 2018
0eb9686
fix geth download on macos
diracdeltas Feb 18, 2018
fd18cc7
fix launching geth for packaged builds
evq Feb 18, 2018
4560cbf
store geth data in user data dir
evq Feb 18, 2018
fb55f53
remove BAT balance for now
diracdeltas Feb 18, 2018
352dcca
resolving conflicts
jumde Feb 18, 2018
d4cb3b7
lint
jumde Feb 18, 2018
1fd6668
add bat contract on first load
evq Feb 18, 2018
771b53c
style
jumde Feb 18, 2018
964537a
invert colors
evq Feb 18, 2018
4bedfca
More style fixes, simplify create-wallet IPC
diracdeltas Feb 18, 2018
0c2229a
use new geth binary, WIP read geth pw from stdin
diracdeltas Feb 18, 2018
3c5a6d3
end geth stdin
diracdeltas Feb 18, 2018
851ae67
open ethwallet tab when wallet creation is done
diracdeltas Feb 18, 2018
e56e25f
switch to using ipc directly vs shelling out to get for account creation
evq Feb 18, 2018
f146f5f
pass ipcath explicitly
evq Feb 18, 2018
df3e5fe
UI tweaks
diracdeltas Feb 18, 2018
65820f2
remove unneccessary console.log
diracdeltas Feb 18, 2018
b0e9d2e
update Geth to 1.8.1
evq Feb 21, 2018
bfdab47
update Geth to 1.8.12
evq Jul 11, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add ETHEREUM_NETWORK env var to launch geth with --testnet
evq committed Feb 17, 2018
commit d54b1139e6551e8cfc572636d07651a8e0f26b9c
6 changes: 5 additions & 1 deletion app/extensions.js
Original file line number Diff line number Diff line change
@@ -569,7 +569,11 @@ module.exports.init = () => {
loadExtension(config.syncExtensionId, getExtensionsPath('brave'), generateSyncManifest(), 'unpacked')

if (getSetting(settings.ETHWALLET_ENABLED)) {
var geth = spawn(path.join(__dirname, 'Geth/unpacked/geth'), ['--rpc', '--rpccorsdomain', 'chrome-extension://dakeiobolocmlkdebloniehpglcjkgcp'])
var gethArgs = ['--light', '--rpc', '--rpccorsdomain', 'chrome-extension://dakeiobolocmlkdebloniehpglcjkgcp']
if (process.env.ETHEREUM_NETWORK === 'ropsten') {
gethArgs.push('--testnet')
}
var geth = spawn(path.join(__dirname, 'Geth/unpacked/geth'), gethArgs)
geth.stdout.on('data', (data) => {
console.warn(data.toString())
})