Skip to content
This repository was archived by the owner on May 3, 2024. It is now read-only.
Merged
Changes from all commits
Commits
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: 10 additions & 1 deletion thirdweb/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,16 @@ func getNativeTokenByChainId(chainId ChainID) (*NativeToken, error) {
},
}, nil
default:
return nil, errors.New("Unsupported chain id")
return &NativeToken{
"Ether",
"ETH",
18,
&WrappedToken{
zeroAddress,
"Wrapped Ether",
"WETH",
},
}, nil
}
}

Expand Down