欢迎使用@ oneclickdapp / ethereum-auth :waving_hand:
RedwoodJS的Ethereum身份验证提供程序
想要实现自己的自定义Redwood Auth? 您可能对本有帮助。
:sparkles:
演示
快速开始
const ethereum = new EthereumAuthClient ( {
makeRequest ,
debug : process . NODE_ENV !== "development" ,
infuraId : process . env . INFURA_ID
} ) ;
const { logIn , logOut , getCurrentUser , client } = useAuth ( ) ;
// Trigger authentication
await logIn ( "walletConnect" ) ;
如果这是您第一