Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
0xBeycan committed May 1, 2024
0 parents commit 3ee0e4a
Show file tree
Hide file tree
Showing 11 changed files with 4,263 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
41 changes: 41 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + TS</title>
</head>
<body>
<div id="app"></div>
<script type="module">
import { WalletConnectAdapter } from './src/index.ts'

const wallet = new WalletConnectAdapter({
network: 'Nile',
options: {
relayUrl: 'wss://relay.walletconnect.com',
projectId: "113d9f5689edd84ff230c2a6d679c80c",
},
qrcodeModalOptions: {
mobileLinks: [
"trust"
],
desktopLinks: [
// 'zerion',
// 'ledger'
]
}
});

wallet.connect()
.then(async () => {
resolve(wallet);
})
.catch(error => {
reject(error);
});

</script>
</body>
</html>
Loading

0 comments on commit 3ee0e4a

Please sign in to comment.