Skip to content

feat: wagmi and viem v1 #448

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

Open
wants to merge 87 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
86ab18d
upgrade packages
brucedonovan Sep 14, 2023
27bf57d
first pass
brucedonovan Sep 14, 2023
ff3770a
updates
brucedonovan Sep 14, 2023
5925d72
package: update viem
marcomariscal Sep 14, 2023
630a836
fix: update to solely use viem
marcomariscal Sep 14, 2023
9f925c7
feat: update to use viem types
marcomariscal Sep 14, 2023
08f556a
fix: remove unused ethers types
marcomariscal Sep 14, 2023
56884bc
feat: use prepare contract write type
marcomariscal Sep 14, 2023
6e49155
fix: update to use viem
marcomariscal Sep 14, 2023
b357810
chore: remove unused
marcomariscal Sep 14, 2023
c629dc1
fix: use prepare contract write type
marcomariscal Sep 14, 2023
add1b34
fix: update to use viem
marcomariscal Sep 14, 2023
595f69e
feat: update to use viem
marcomariscal Sep 14, 2023
389b69b
fix: update to use viem
marcomariscal Sep 14, 2023
363f199
chore: delete legacy/unused buy nft component
marcomariscal Sep 14, 2023
5618450
fix: update to use viem
marcomariscal Sep 14, 2023
5023c2d
fix: update to use viem
marcomariscal Sep 14, 2023
12792b8
fix: use viem
marcomariscal Sep 14, 2023
b782382
ethersAdapter
brucedonovan Sep 15, 2023
a28390c
feat: use viem
marcomariscal Sep 14, 2023
8207d57
feat: use viem
marcomariscal Sep 15, 2023
f99a937
chore: remove unused
marcomariscal Sep 15, 2023
a62f2db
feat: remove ethers
marcomariscal Sep 15, 2023
cdeae88
feat: remove ethers
marcomariscal Sep 15, 2023
7fe19d3
feat: use transaction request base type from wagmi/viem
marcomariscal Sep 15, 2023
7551bf8
Merge branch 'feat/newWagmiViem' into feat/newWagmiViem-yield
marcomariscal Sep 15, 2023
bf53e67
feat: trying to update to use solely viem
marcomariscal Sep 15, 2023
fe7807f
feat: update to use viem
marcomariscal Sep 15, 2023
cb713d4
feat: update to only use viem
marcomariscal Sep 15, 2023
17836c2
chore: remove buyNft
marcomariscal Sep 18, 2023
53a26c7
chore: remove buy nft from legacy
marcomariscal Sep 18, 2023
bfc62ea
feat: update to use viem
marcomariscal Sep 18, 2023
66a1095
feat: update to use viem
marcomariscal Sep 18, 2023
b863c30
feat: use wallet client from wagmi
marcomariscal Sep 18, 2023
259ad22
feat: get spender using viem
marcomariscal Sep 18, 2023
da1c44d
feat: add walletClient to signer adapter
marcomariscal Sep 18, 2023
3b812af
feat: use viem
marcomariscal Sep 18, 2023
ffe60ae
feat: use viem
marcomariscal Sep 18, 2023
bc90f12
chore: remove unused
marcomariscal Sep 18, 2023
07fdb42
feat: use viem zeroAddress
marcomariscal Sep 18, 2023
9f7e54d
feat: use account
marcomariscal Sep 18, 2023
44a1a02
feat: update yp-borrow for viem
marcomariscal Sep 18, 2023
5abe4f3
feat: handle viem
marcomariscal Sep 18, 2023
70e76e9
feat: use TxRequestBase
marcomariscal Sep 18, 2023
9e3599c
feat: clean
marcomariscal Sep 18, 2023
aadce51
fix: type
marcomariscal Sep 18, 2023
78e2aa3
feat: update to use viem
marcomariscal Sep 19, 2023
484d0ce
feat: update to use viem
marcomariscal Sep 19, 2023
d3aa29a
feat: use bigint
marcomariscal Sep 19, 2023
bc4c9d2
chore: remove unused legacy components (so we don't have to update to…
marcomariscal Sep 19, 2023
0da8b19
chore: remove legacy
marcomariscal Sep 19, 2023
4fdbda9
chore: remove legacy
marcomariscal Sep 19, 2023
1ef2405
feat: update so that we can use viem (even tho these are legacy and n…
marcomariscal Sep 19, 2023
718e759
feat: update to use viem
marcomariscal Sep 19, 2023
3710389
chore: uncomment yp components
marcomariscal Sep 19, 2023
5fbd3a0
fix: use provider
marcomariscal Sep 20, 2023
1e69f06
fix: use viem
marcomariscal Sep 20, 2023
cb72438
fix: use viem
marcomariscal Sep 20, 2023
5d238c6
fix: condense signer logic
marcomariscal Sep 20, 2023
710413b
chore: remove unused
marcomariscal Sep 20, 2023
c602ad5
chore: remove unused
marcomariscal Sep 20, 2023
b0388ca
feat: get ethers signer
marcomariscal Sep 20, 2023
58c4465
package: ethers v5
marcomariscal Sep 20, 2023
37f6f5f
fix: use ethers provider
marcomariscal Sep 20, 2023
64b3906
fix: remove fallback logic for now until we find a better way to hand…
marcomariscal Sep 20, 2023
ded8ea0
fix: handle new wagmi/viem prepare send tx hook
marcomariscal Sep 20, 2023
f87cba8
feat: sim contract to get proper wagmi request
marcomariscal Sep 20, 2023
1b05032
Merge pull request #454 from yieldprotocol/feat/newWagmiViem-yield
marcomariscal Sep 21, 2023
c90735a
Merge branch 'feat/newWagmiViem-yield' into feat/newWagmiViem
marcomariscal Sep 21, 2023
06dc444
Merge branch 'dev' into feat/newWagmiViem
marcomariscal Sep 21, 2023
1444ece
fix: use ethers provider for mint button
marcomariscal Sep 21, 2023
84683d3
chore: remove unused import
marcomariscal Sep 21, 2023
16ec020
fix: clean up
marcomariscal Sep 21, 2023
d9adc88
feat: try catch the cleanValue
marcomariscal Sep 21, 2023
5227997
fix: clean up and comment to figure out withdraw func
marcomariscal Sep 21, 2023
dfc2392
useApproval bugfix
brucedonovan Sep 25, 2023
26921c6
Merge branch 'dev' into feat/newWagmiViem
brucedonovan Sep 26, 2023
ad06c11
bugfix/transfer eth apporal
brucedonovan Sep 26, 2023
82336d8
WIp:withdrawREth
brucedonovan Sep 26, 2023
fa1646e
Merge branch 'dev' into feat/newWagmiViem
brucedonovan Sep 27, 2023
118634f
update package
brucedonovan Sep 27, 2023
a571e69
Merge branch 'dev' into feat/newWagmiViem
brucedonovan Sep 27, 2023
28b488d
package
brucedonovan Sep 27, 2023
9b88768
package update
brucedonovan Sep 27, 2023
7aae549
add rainbowkit back in :|
brucedonovan Sep 27, 2023
aa48e22
jerry-rig Arbiturm to work
brucedonovan Sep 27, 2023
230d31b
reformatting
brucedonovan Sep 27, 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
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chatweb3-frontend",
"version": "0.2.1",
"version": "0.2.2",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down Expand Up @@ -29,7 +29,7 @@
"@liquity/lib-base": "^3.0.0",
"@liquity/lib-ethers": "^3.4.0",
"@next/font": "13.1.2",
"@rainbow-me/rainbowkit": "^0.12.0",
"@rainbow-me/rainbowkit": "^1.0.11",
"@types/node": "18.11.18",
"@types/react": "18.0.27",
"@types/react-dom": "18.0.10",
Expand All @@ -40,7 +40,7 @@
"date-fns": "^2.30.0",
"eslint": "8.32.0",
"eslint-config-next": "13.1.2",
"ethers": "^5.7.2",
"ethers": "5",
"graphql-request": "^6.1.0",
"json-bigint": "^1.0.0",
"next": "13.1.2",
Expand All @@ -60,8 +60,9 @@
"siwe": "^2.1.4",
"swr": "^2.0.4",
"typescript": "^5.2.2",
"viem": "^1.9.3",
"wagmi": "^0.12.0",
"viem": "^1.10.13",
"wagmi": "^1.4.2",
"yarn ": "^1.0.11",
"zksync-web3": "^0.14.3"
},
"devDependencies": {
Expand Down
Loading