Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
ca06c8f
Create SECURITY.md
Dargon789 Mar 30, 2024
3af5a88
Set up CI with Azure Pipelines
Dargon789 Apr 12, 2024
fa3e0a9
Merge branch '0xsequence:master' into master
Dargon789 Apr 22, 2024
f2761ef
Merge branch '0xsequence:master' into master
Dargon789 May 17, 2024
7a74500
Merge branch '0xsequence:master' into master
Dargon789 Aug 1, 2024
709280e
codesandbox dev-project wagmi-dapp
Dargon789 Aug 1, 2024
29c9084
Merge branch 'master' of https://github.com/Dargon789/sequence.js
Dargon789 Aug 7, 2024
1275488
Create CNAME
Dargon789 Aug 7, 2024
9b5807f
Merge branch '0xsequence:master' into master
Dargon789 Aug 7, 2024
c1fedd5
Merge branch '0xsequence:master' into master
Dargon789 Aug 11, 2024
6466316
Updating DefaultGuest address
corbanbrook Jun 12, 2025
eab97bd
Merge branch '0xsequence:master' into feature/integration
Dargon789 Jun 12, 2025
7e5db32
Merge branch '0xsequence:master' into feature/integration
Dargon789 Jun 13, 2025
b412a54
Merge branch '0xsequence:master' into feature/integration
Dargon789 Jul 17, 2025
60d6fdc
Merge branch '0xsequence:master' into feature/integration
Dargon789 Aug 29, 2025
9ed93e8
Update tests.yml (#51)
Dargon789 Aug 29, 2025
27d3c49
Update tests.yml (#52)
Dargon789 Aug 29, 2025
1609892
Update tests.yml
Dargon789 Aug 29, 2025
853106e
Merge branch '0xsequence:master' into feature/integration
Dargon789 Sep 8, 2025
2a17d6e
Update tests.yml (#55)
Dargon789 Sep 8, 2025
a024127
Merge branch '0xsequence:master' into feature/integration
Dargon789 Sep 9, 2025
a9004a0
Merge branch '0xsequence:master' into feature/integration
Dargon789 Sep 16, 2025
89ef65b
Merge branch '0xsequence:master' into feature/integration
Dargon789 Sep 17, 2025
c18059c
Update tests.yml (#56)
Dargon789 Sep 17, 2025
778ab8e
Update tests.yml
Dargon789 Sep 17, 2025
da50474
Merge branch '0xsequence:master' into feature/integration
Dargon789 Sep 21, 2025
2fae31f
Merge branch 'feature/integration' of https://github.com/Dargon789/se…
googleworkspace-bot Apr 25, 2026
aa8ed87
Merge remote-tracking branch 'upstream/master' into feature/integration
googleworkspace-bot Apr 25, 2026
7dd5b07
Enforce minimum age limitation for packages (#547)
Dargon789 May 8, 2026
60eb7ee
Merge branch '0xsequence:master' into feature/integration
Dargon789 May 8, 2026
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
118 changes: 118 additions & 0 deletions .codesandbox/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
{
// These tasks will run in order when initializing your CodeSandbox project.
"setupTasks": [
{
"name": "Install Dependencies",
"command": "pnpm install"
}
],

// These tasks can be run from CodeSandbox. Running one will open a log in the app.
"tasks": {
"build": {
"name": "build",
"command": "pnpm build",
"runAtStart": false
},
"watch": {
"name": "watch",
"command": "pnpm watch",
"runAtStart": false
},
"clean": {
"name": "clean",
"command": "pnpm clean",
"runAtStart": false
},
"changeset": {
"name": "changeset",
"command": "pnpm changeset",
"runAtStart": false
},
"version-packages": {
"name": "version-packages",
"command": "pnpm version-packages",
"runAtStart": false
},
"release": {
"name": "release",
"command": "pnpm release",
"runAtStart": false
},
"snapshot": {
"name": "snapshot",
"command": "pnpm snapshot",
"runAtStart": false
},
"update-version": {
"name": "update-version",
"command": "pnpm update-version",
"runAtStart": false
},
"test": {
"name": "test",
"command": "pnpm test",
"runAtStart": false
},
"test:parallel": {
"name": "test:parallel",
"command": "pnpm test:parallel",
"runAtStart": false
},
"lint": {
"name": "lint",
"command": "pnpm lint",
"runAtStart": false
},
"lint:fix": {
"name": "lint:fix",
"command": "pnpm lint:fix",
"runAtStart": false
},
"lint:tests": {
"name": "lint:tests",
"command": "pnpm lint:tests",
"runAtStart": false
},
"lint:tests:fix": {
"name": "lint:tests:fix",
"command": "pnpm lint:tests:fix",
"runAtStart": false
},
"format": {
"name": "format",
"command": "pnpm format",
"runAtStart": false
},
"audit:fix": {
"name": "audit:fix",
"command": "pnpm audit:fix",
"runAtStart": false
},
"typecheck": {
"name": "typecheck",
"command": "pnpm typecheck",
"runAtStart": false
},
"dev": {
"name": "dev",
"command": "pnpm dev",
"runAtStart": true
},
"postinstall": {
"name": "postinstall",
"command": "pnpm postinstall",
"runAtStart": false
},
"coverage": {
"name": "coverage",
"command": "pnpm coverage",
"runAtStart": false
},
"prepare": {
"name": "prepare",
"command": "pnpm prepare",
"runAtStart": false
}
}
}
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
wagmi-project-two.vercel.app
21 changes: 21 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Security Policy

## Supported Versions

Use this section to tell people about which versions of your project are
currently being supported with security updates.
Comment thread
Dargon789 marked this conversation as resolved.

| Version | Supported |
| ------- | ------------------ |
| 5.1.x | :white_check_mark: |
| 5.0.x | :x: |
| 4.0.x | :white_check_mark: |
| < 4.0 | :x: |

## Reporting a Vulnerability

Use this section to tell people how to report a vulnerability.

Tell them where to go, how often they can expect to get an update on a
reported vulnerability, what to expect if the vulnerability is accepted or
declined, etc.
21 changes: 21 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Node.js
# Build a general Node.js project with npm.
# Add steps that analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript

trigger:
- master

pool:
vmImage: ubuntu-latest

steps:
- task: NodeTool@0
inputs:
versionSpec: '10.x'
Comment thread
Dargon789 marked this conversation as resolved.
displayName: 'Install Node.js'

- script: |
npm install
npm run build
Comment thread
Dargon789 marked this conversation as resolved.
displayName: 'npm install and build'
Binary file not shown.

Large diffs are not rendered by default.

Binary file not shown.

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions wagmi-project/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# 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?
.vercel
1 change: 1 addition & 0 deletions wagmi-project/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps = true
1 change: 1 addition & 0 deletions wagmi-project/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This is a [Vite](https://vitejs.dev) project bootstrapped with [`create-wagmi`](https://github.com/wevm/wagmi/tree/main/packages/create-wagmi).
13 changes: 13 additions & 0 deletions wagmi-project/biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"formatter": {
"enabled": true,
"indentStyle": "space",
"lineWidth": 120
},
"linter": {
"enabled": true
},
"organizeImports": {
"enabled": true
}
}
12 changes: 12 additions & 0 deletions wagmi-project/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Create Wagmi</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
29 changes: 29 additions & 0 deletions wagmi-project/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name": "wagmi-project",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"lint": "biome check .",
"preview": "vite preview"
},
"dependencies": {
"@tanstack/react-query": "5.45.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"viem": "latest",
"wagmi": "latest"
Comment thread
Dargon789 marked this conversation as resolved.
},
"devDependencies": {
"@biomejs/biome": "^1.8.0",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.2.1",
"@wagmi/cli": "latest",
Comment thread
Dargon789 marked this conversation as resolved.
"buffer": "^6.0.3",
"typescript": "^5.4.5",
"vite": "^5.2.11"
}
}
46 changes: 46 additions & 0 deletions wagmi-project/src/App.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
import { useAccount, useConnect, useDisconnect } from 'wagmi'

function App() {
const account = useAccount()
const { connectors, connect, status, error } = useConnect()
const { disconnect } = useDisconnect()

return (
<>
<div>
<h2>Account</h2>

<div>
status: {account.status}
<br />
addresses: {JSON.stringify(account.addresses)}
<br />
chainId: {account.chainId}
</div>

{account.status === 'connected' && (
<button type="button" onClick={() => disconnect()}>
Disconnect
</button>
)}
</div>

<div>
<h2>Connect</h2>
{connectors.map((connector) => (
<button
key={connector.uid}
onClick={() => connect({ connector })}
type="button"
>
{connector.name}
</button>
))}
<div>{status}</div>
<div>{error?.message}</div>
</div>
</>
)
}

export default App
21 changes: 21 additions & 0 deletions wagmi-project/src/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
:root {
background-color: #181818;
color: rgba(255, 255, 255, 0.87);
color-scheme: light dark;
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
font-synthesis: none;
font-weight: 400;
line-height: 1.5;
text-rendering: optimizeLegibility;

-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
}

@media (prefers-color-scheme: light) {
:root {
background-color: #f8f8f8;
color: #181818;
}
}
24 changes: 24 additions & 0 deletions wagmi-project/src/main.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import { Buffer } from 'buffer'
import { QueryClient, QueryClientProvider } from '@tanstack/react-query'
import React from 'react'
import ReactDOM from 'react-dom/client'
import { WagmiProvider } from 'wagmi'

import App from './App.tsx'
import { config } from './wagmi.ts'

import './index.css'

globalThis.Buffer = Buffer

const queryClient = new QueryClient()

ReactDOM.createRoot(document.getElementById('root')!).render(
<React.StrictMode>
<WagmiProvider config={config}>
<QueryClientProvider client={queryClient}>
<App />
</QueryClientProvider>
</WagmiProvider>
</React.StrictMode>,
)
1 change: 1 addition & 0 deletions wagmi-project/src/vite-env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/// <reference types="vite/client" />
22 changes: 22 additions & 0 deletions wagmi-project/src/wagmi.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { http, createConfig } from 'wagmi'
import { mainnet, sepolia } from 'wagmi/chains'
import { coinbaseWallet, injected, walletConnect } from 'wagmi/connectors'

export const config = createConfig({
chains: [mainnet, sepolia],
connectors: [
injected(),
coinbaseWallet(),
walletConnect({ projectId: import.meta.env.VITE_WC_PROJECT_ID }),
Comment thread
Dargon789 marked this conversation as resolved.
],
transports: {
[mainnet.id]: http(),
[sepolia.id]: http(),
},
})

declare module 'wagmi' {
interface Register {
config: typeof config
}
}
25 changes: 25 additions & 0 deletions wagmi-project/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"compilerOptions": {
"target": "ES2020",
"useDefineForClassFields": true,
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"module": "ESNext",
"skipLibCheck": true,

/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",

/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
},
"include": ["src"],
"references": [{ "path": "./tsconfig.node.json" }]
}
Loading
Loading