Skip to content

Commit

Permalink
add xAlias support
Browse files Browse the repository at this point in the history
  • Loading branch information
juliancwirko committed Oct 28, 2023
1 parent 844217e commit 4a768cd
Show file tree
Hide file tree
Showing 6 changed files with 385 additions and 5,068 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### [9.1.0](https://github.com/xdevguild/nextjs-dapp-template/releases/tag/v9.1.0) (2023-10-28)
- useelven update - add support for xAlias
- update Next.js to v14 (required min Node version: 18.7.0)
- update dependencies

### [9.0.3](https://github.com/xdevguild/nextjs-dapp-template/releases/tag/v9.0.3) (2023-10-02)
- update useElven (bug related to guardian address and localstorage entry)
- update dependencies
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,10 @@ Compact MultiversX SDK for browsers (no build steps required)

Tools that can help you with interactions:

- [Buildo.dev](https://www.buildo.dev)
- [Buildo Begins](https://github.com/xdevguild/buildo-begins)
- [Elven Tools](https://www.elven.tools)

### Contact

- [julian.io](https://www.julian.io)

4 changes: 4 additions & 0 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ export default function RootLayout({
{'useElven'}
</a>
<span className="font-thin mx-2"> | </span>
<a href="https://www.buildo.dev" target="_blank">
{'Buildo.dev'}
</a>
<span className="font-thin mx-2"> | </span>
<a
href="https://github.com/xdevguild/buildo-begins"
target="_blank"
Expand Down
15 changes: 11 additions & 4 deletions components/elven-ui/login-component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ export const LoginComponent = memo(() => {
<Button
className="w-full select-none h-auto"
variant="outline"
onClick={handleLogin(LoginMethodsEnum.wallet)}
onClick={handleLogin(LoginMethodsEnum.walletconnect)}
>
MultiversX Web Wallet
xPortal Mobile App
</Button>
<Button
className="w-full select-none h-auto"
Expand All @@ -84,9 +84,9 @@ export const LoginComponent = memo(() => {
<Button
className="w-full select-none h-auto"
variant="outline"
onClick={handleLogin(LoginMethodsEnum.walletconnect)}
onClick={handleLogin(LoginMethodsEnum.wallet)}
>
xPortal Mobile App
MultiversX Web Wallet
</Button>
<Button
className="w-full select-none h-auto"
Expand All @@ -95,6 +95,13 @@ export const LoginComponent = memo(() => {
>
Ledger
</Button>
<Button
className="w-full select-none h-auto"
variant="outline"
onClick={handleLogin(LoginMethodsEnum.xalias)}
>
xAlias
</Button>
</div>
)}

Expand Down
Loading

0 comments on commit 4a768cd

Please sign in to comment.