Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hyperspace #17

Draft
wants to merge 38 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
c040888
add hyperspace config
lalexgap Feb 27, 2023
25e0bd7
update simple hub
lalexgap Feb 27, 2023
e193ded
update start script to handle hyperspace
lalexgap Feb 27, 2023
c73a67f
update bignumberify to work with latest ethers
lalexgap Feb 27, 2023
25d92a9
update ethers and our local state channel packages
lalexgap Feb 27, 2023
6b7896f
disable chain id check for now
lalexgap Feb 27, 2023
e5a5239
initialize hub comms after our wallet is enabled
lalexgap Feb 27, 2023
3735171
remove preinstall
lalexgap Feb 27, 2023
c04d838
fix weird import error
lalexgap Feb 27, 2023
225fc92
check in lockfile
geoknee Feb 27, 2023
c71b6d9
use BigNumber.from() instead of utils.Bignumberify
geoknee Feb 27, 2023
9df989d
use "0x00" instead ofutils.zeroPad('0x0', 20)
geoknee Feb 27, 2023
b390c4f
Merge pull request #18 from statechannels/hyperspace-george-fixes
lalexgap Feb 27, 2023
10e0c1e
remove extra init
lalexgap Feb 27, 2023
a9c8f6f
add prod env vars
lalexgap Feb 27, 2023
7b3edb8
update to hyperspace provider
lalexgap Feb 27, 2023
ab6ac9b
get simple-hub deploying
lalexgap Feb 27, 2023
d2ad248
use heroku url for tracker
lalexgap Feb 27, 2023
54d68d5
update to TFIL denoms
lalexgap Feb 28, 2023
4900f2b
remove <p> tag
geoknee Feb 28, 2023
18903ac
networkChanged => chainChanged
geoknee Feb 28, 2023
f12b52d
patch @statechannels/iframe-channel-provider
geoknee Feb 28, 2023
24dd17b
Merge pull request #20 from statechannels/quirks
geoknee Feb 28, 2023
f175f87
Merge pull request #21 from statechannels/patch-iframe-provider
geoknee Feb 28, 2023
dc157ff
remove chatlio
lalexgap Feb 28, 2023
db33d67
update persistent seeder for hyperspace
lalexgap Feb 28, 2023
ec10b66
yarn.lock update
lalexgap Feb 28, 2023
49636dd
try longer yarn timeout for persistent seeder
lalexgap Feb 28, 2023
5831974
update FAQ link
geoknee Mar 2, 2023
cde6e74
Merge pull request #22 from statechannels/faq-link
geoknee Mar 2, 2023
198f6c3
Ethererum -> Hyperspace
Mar 3, 2023
30118cb
channels -> channel
Mar 3, 2023
ae88126
ETH -> tFIL
Mar 3, 2023
0010d4a
add link to chainlist hyperspace wallet connection
Mar 3, 2023
6ecb0eb
update to new firebase
lalexgap Mar 3, 2023
a52d905
Merge pull request #24 from statechannels/cmk.ethereum-to-hyperspace
NiloCK Mar 3, 2023
2df122b
make prettier happy
geoknee Mar 3, 2023
8d91103
Merge pull request #25 from statechannels/prettier
geoknee Mar 3, 2023
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 prod env vars
lalexgap committed Feb 27, 2023
commit a9c8f6ffa8a481aaf2c5341f8926997a8d0441c7
1 change: 0 additions & 1 deletion .env.local-hyperspace
Original file line number Diff line number Diff line change
@@ -30,7 +30,6 @@ WALLET_URL = 'http://localhost:3055'
## simple-hub, xstate-wallet
CONSENSUS_APP_ADDRESS = '0xeB1170bf49fac482fA296C98Ac04024e8a2d6519'

### NitroAdjudicator and ETHAssetHolder deployed by George Knee, by uploading files to https://remix.ethereum.org/ and using compiler 0.6.10+commit.00c0fcaf, optimization ON. Source code verified on https://goerli.etherscan.io/ .
NITRO_ADJUDICATOR_ADDRESS = '0xaA512d99EC808FBf49b1e6491A251f2E75f913Ad'
ETH_ASSET_HOLDER_ADDRESS = '0x6abaBB7e642C794264DAa2a1477B48521AaE1553'

68 changes: 68 additions & 0 deletions .env.production-hyperspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
## all
NODE_ENV = 'production'
LOG_DESTINATION = 'console'
LOG_LEVEL = 'info'
# e2e-tests
BROWSER_LOG_DESTINATION = 'browser.log'
HEADLESS = 'false'
USE_DAPPETEER = 'true'
WEB3TORRENT_URL = 'https://hyperspace-torrent.statechannels.org'
CLOSE_BROWSERS = 'true'

## web3torrent, xstate-wallet, rps, simple-hub
CHAIN_NETWORK_ID = '3141'

## simple-hub, e2e
INFURA_API_KEY = ''
RPC_ENDPOINT = https://api.hyperspace.node.glif.io/rpc/v1

## simple-hub, rps
FIREBASE_API_KEY = 'AIzaSyAOvhDzJir_El3O6SJ2xQlrpOisnObq6zw'
FIREBASE_PREFIX = 'netlify-hyperspace'
FIREBASE_PROJECT = 'rock-paper-scissors-production'

## rps, xstate-wallet, ttt
TARGET_NETWORK = 'hyperspace'

## web3torrent, rps, ttt
WALLET_URL = 'https://hyperspace-wallet.statechannels.org/'

## simple-hub, xstate-wallet
CONSENSUS_APP_ADDRESS = '0xeB1170bf49fac482fA296C98Ac04024e8a2d6519'

NITRO_ADJUDICATOR_ADDRESS = '0xaA512d99EC808FBf49b1e6491A251f2E75f913Ad'
ETH_ASSET_HOLDER_ADDRESS = '0x6abaBB7e642C794264DAa2a1477B48521AaE1553'

TRIVIAL_APP_ADDRESS = '0x95900b17Bd2CE12431C99A886FfDC5a451C14344'

## simple-hub
FIREBASE_URL = https://${FIREBASE_PROJECT}.firebaseio.com/
# This is a funded address on goerli for the hub. This is NOT the production address/key
HUB_CHAIN_PK = '0xBB72BD0824663E0B52FA3523ACED0F866550BBC1FD600D7F2DA9C45CAC509AE7'
HUB_PARTICIPANT_ID = 'firebase:simple-hub'

## xstate-wallet
# This is a funded address on goerli for the hub. This is NOT the production address/key
HUB_DESTINATION = '0x000000000000000000000000c4FB59b7fb0D8001Bda6DEA539117664573006c9'
USE_INDEXED_DB = 'true'

## web3torrent
FUNDING_STRATEGY = 'Virtual'
SINGLE_ASSET_PAYMENT_CONTRACT_ADDRESS = '0x4964f1aE3Ca9Ea0a1e7EF873a379768dBc74F034'
SKIP_PREFLIGHT_CHECK = 'true'
TRACKER_URL = 'hyperspace-torrent.statechannels.org'
TRACKER_URL_HTTP_PROTOCOL = 'https'
GENERATE_SOURCEMAP = 'true'

## rps
RPS_CONTRACT_ADDRESS = '0x'

## web3torrent-tracker
TRACKER_PORT = 80

## ttt
TTT_CONTRACT_ADDRESS = '0x'
FIREBASE_PROJECT_TTT = 'tic-tac-toe-production'


ADD_LOGS = true