@@ -83,13 +83,14 @@
8383 "secure-ls": "^1.2.6",
8484 "styled-components": "^5.3.0",
8585 "styled-system": "^5.1.5",
86+ "truffle": "^5.11.4",
8687 "typescript": "^4.3.2",
8788 "urbit-key-generation": "^0.19.0",
8889 "urbit-ob": "^4.1.4",
8990 "urbit-paper-renderer": "^2.0.13",
90− "web3": "^1.8.0",
91− "web3-core": "^1.8.0",
92− "web3-utils": "^1.8.0",
91+ "web3": "^1.10.2",
92+ "web3-core": "^1.10.2",
93+ "web3-utils": "^1.10.2",
9394 "zustand": "^3.5.9"
9495 },
9596 "devDependencies": {
@@ -109,7 +110,7 @@
109110 "eslint-config-prettier": "^5.1.0",
110111 "eslint-config-react-app": "^7.0.1",
111112 "eslint-plugin-prettier": "^3.4.1",
112− "ganache-cli": "^6.2.1",
113+ "ganache": "^7.9.1",
113114 "husky": "^2.4.0",
114115 "npm-run-all": "^4.1.3",
115116 "prettier": "^1.19.1",
@@ -124,7 +125,7 @@
124125 },
125126 "scripts": {
126127 "preview:mainnet": "VITE_MAINNET=true vite preview --port 3000",
127− "start": "vite",
128+ "start": "vite --clearScreen false",
128129 "build": "VITE_MAINNET=true vite build",
129130 "build:goerli": "VITE_GOERLI=true vite build",
130131 "test": "echo 'TODO: set up vitest'",
@@ -132,7 +133,8 @@
132133 "zip": "BRIDGE_VERSION=${VITE_BRIDGE_VERSION:-$npm_package_version}; zip -ur bridge-$BRIDGE_VERSION.zip README.md bridge-https.py checksums.txt && cd build && zip -ur ../bridge-$BRIDGE_VERSION.zip ./* && cd ..",
133134 "release": "npm install && npm run build && npm run checksum && npm run zip",
134135 "release:goerli": "export VITE_BRIDGE_VERSION=$npm_package_version\"r\"; npm install && npm run build:goerli && npm run checksum && npm run zip",
135− "pilot:ganache": "ganache-cli --blockTime 1 --networkId 5 --host '0.0.0.0' -m 'benefit crew supreme gesture quantum web media hazard theory mercy wing kitten' > /dev/null &",
136+ "pilot:ganache": "ganache --blockTime 1 --chain.chainId=1337 --chain.networkId=5 --chain.hardfork=merge --host '0.0.0.0' -m 'benefit crew supreme gesture quantum web media hazard theory mercy wing kitten' > /dev/null &",
137+ "pilot:truffle": "truffle deploy",
136138 "pilot:setup": "npm run pilot:ganache && truffle deploy",
137139 "pilot": "HTTPS=true npm-run-all pilot:setup start pilot:cleanup --continue-on-error",
138140 "pilot-invites": "WITH_TEST_STATE=INVITES npm run pilot",
@@ -142,7 +144,7 @@
142144 "pilot-l2": "BROWSER=NONE WITH_TEST_STATE=L2 HTTPS=false NODE_ENV=development npm-run-all pilot:setup start pilot:cleanup --continue-on-error",
143145 "pilot-l2-local": "BROWSER=NONE VITE_L2=true HTTPS=false NODE_ENV=development npm run start --continue-on-error",
144146 "pilot-goerli": "VITE_GOERLI=true HTTPS=true npm-run-all start --continue-on-error",
145− "pilot:cleanup": "pkill -f ganache-cli",
147+ "pilot:cleanup": "pkill -f ganache",
146148 "lint:check": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
147149 "lint:fix": "eslint --fix 'src/**/*.{js,jsx,ts,tsx}'",
148150 "analyze": "source-map-explorer 'build/static/js/*.js'"