@@ -83,13 +83,14 @@
83 "secure-ls": "^1.2.6",
83 "secure-ls": "^1.2.6",
84 "styled-components": "^5.3.0",
84 "styled-components": "^5.3.0",
85 "styled-system": "^5.1.5",
85 "styled-system": "^5.1.5",
86+ "truffle": "^5.11.4",
86 "typescript": "^4.3.2",
87 "typescript": "^4.3.2",
87 "urbit-key-generation": "^0.19.0",
88 "urbit-key-generation": "^0.19.0",
88 "urbit-ob": "^4.1.4",
89 "urbit-ob": "^4.1.4",
89 "urbit-paper-renderer": "^2.0.13",
90 "urbit-paper-renderer": "^2.0.13",
90− "web3": "^1.8.0",
91+ "web3": "^1.10.2",
91− "web3-core": "^1.8.0",
92+ "web3-core": "^1.10.2",
92− "web3-utils": "^1.8.0",
93+ "web3-utils": "^1.10.2",
93 "zustand": "^3.5.9"
94 "zustand": "^3.5.9"
95 "devDependencies": {
96 "devDependencies": {
@@ -109,7 +110,7 @@
109 "eslint-config-prettier": "^5.1.0",
110 "eslint-config-prettier": "^5.1.0",
110 "eslint-config-react-app": "^7.0.1",
111 "eslint-config-react-app": "^7.0.1",
111 "eslint-plugin-prettier": "^3.4.1",
112 "eslint-plugin-prettier": "^3.4.1",
112− "ganache-cli": "^6.2.1",
113+ "ganache": "^7.9.1",
113 "husky": "^2.4.0",
114 "husky": "^2.4.0",
114 "npm-run-all": "^4.1.3",
115 "npm-run-all": "^4.1.3",
115 "prettier": "^1.19.1",
116 "prettier": "^1.19.1",
@@ -124,7 +125,7 @@
125 "scripts": {
126 "scripts": {
126 "preview:mainnet": "VITE_MAINNET=true vite preview --port 3000",
127 "preview:mainnet": "VITE_MAINNET=true vite preview --port 3000",
127− "start": "vite",
128+ "start": "vite --clearScreen false",
128 "build": "VITE_MAINNET=true vite build",
129 "build": "VITE_MAINNET=true vite build",
129 "build:goerli": "VITE_GOERLI=true vite build",
130 "build:goerli": "VITE_GOERLI=true vite build",
130 "test": "echo 'TODO: set up vitest'",
131 "test": "echo 'TODO: set up vitest'",
@@ -132,7 +133,8 @@
132 "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 ..",
133 "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 ..",
133 "release": "npm install && npm run build && npm run checksum && npm run zip",
134 "release": "npm install && npm run build && npm run checksum && npm run zip",
134 "release:goerli": "export VITE_BRIDGE_VERSION=$npm_package_version\"r\"; npm install && npm run build:goerli && npm run checksum && npm run zip",
135 "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",
136 "pilot:setup": "npm run pilot:ganache && truffle deploy",
138 "pilot:setup": "npm run pilot:ganache && truffle deploy",
137 "pilot": "HTTPS=true npm-run-all pilot:setup start pilot:cleanup --continue-on-error",
139 "pilot": "HTTPS=true npm-run-all pilot:setup start pilot:cleanup --continue-on-error",
138 "pilot-invites": "WITH_TEST_STATE=INVITES npm run pilot",
140 "pilot-invites": "WITH_TEST_STATE=INVITES npm run pilot",
@@ -142,7 +144,7 @@
142 "pilot-l2": "BROWSER=NONE WITH_TEST_STATE=L2 HTTPS=false NODE_ENV=development npm-run-all pilot:setup start pilot:cleanup --continue-on-error",
144 "pilot-l2": "BROWSER=NONE WITH_TEST_STATE=L2 HTTPS=false NODE_ENV=development npm-run-all pilot:setup start pilot:cleanup --continue-on-error",
143 "pilot-l2-local": "BROWSER=NONE VITE_L2=true HTTPS=false NODE_ENV=development npm run start --continue-on-error",
145 "pilot-l2-local": "BROWSER=NONE VITE_L2=true HTTPS=false NODE_ENV=development npm run start --continue-on-error",
144 "pilot-goerli": "VITE_GOERLI=true HTTPS=true npm-run-all start --continue-on-error",
146 "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",
146 "lint:check": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
148 "lint:check": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
147 "lint:fix": "eslint --fix 'src/**/*.{js,jsx,ts,tsx}'",
149 "lint:fix": "eslint --fix 'src/**/*.{js,jsx,ts,tsx}'",
148 "analyze": "source-map-explorer 'build/static/js/*.js'"
150 "analyze": "source-map-explorer 'build/static/js/*.js'"