Wagmi Connector
Last updated
Last updated
Wepin supports wallet connections using wagmi. You can easily integrate Wepin wallet via the wagmi interface with @wepin/wagmi-connector
. Detailed information about this can be found on the official wagmi website below.
appId
: <String>
Your App Id assigned during registration
appKey
: <String>
Your App Key assigned during registration
defaultChainId
: Number
The default Chain ID for connecting the wallet
If no value is specified, it automatically connects to the first network registered in the app.
attributes
: <IAttributes> (optional)
Wepin connection attribute values declared in @wepin/types
type
: String
If you input the show
value, you can see the widget screen during the widget initialization process.
defaultLanguage
: String
The default language for the widget. The default value is ko
. The currently supported languages are en
and ko
.
defaultCurrency
: String
The default currency for the widget. The default value is KRW
. The currently supported currencies are USD
and KRW
.
WepinConnector
to wagmi configWagmiConfig
Afterwards, please refer to the wagmi guide below for detailed integration methods with wagmi
.
An example using wepin-wagmi-connector
can be found on the GitHub repository below.