forked from 0xsequence/sequence.js
-
Notifications
You must be signed in to change notification settings - Fork 2
0xsequence sdk #613
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
0xsequence sdk #613
Changes from all commits
Commits
Show all changes
466 commits
Select commit
Hold shift + click to select a range
dafd2ed
Create nextjs.yml (#176)
Dargon789 a1be7e9
0xsequence-1.9.19
Dargon789 a5851fd
1.9.19
Dargon789 a91cb89
Update packages/waas/src/networks.ts
Dargon789 9398a23
Squashed commit of the following:
Dargon789 17aef1e
Merge branch '0xsequence-1.9.19' of https://github.com/Dargon789/sequ…
Dargon789 e14fef4
Potential fix for code scanning alert no. 82: Workflow does not conta…
Dargon789 8ddefd9
Potential fix for code scanning alert no. 73: Workflow does not conta…
Dargon789 c1fb76d
Potential fix for code scanning alert no. 83: Workflow does not conta…
Dargon789 52cc3c6
Potential fix for code scanning alert no. 108: Incomplete regular exp…
Dargon789 2c156b6
Potential fix for code scanning alert no. 92: Insecure randomness
Dargon789 b700236
Merge branch 'master' into 0xsequence-1.9.19
Dargon789 7a49258
Update CHANGELOG.md (#182)
Dargon789 3ec984e
Update CHANGELOG.md (#183)
Dargon789 55d31a9
Update config.json (#185)
Dargon789 1da7771
Potential fix for code scanning alert no. 108: Incomplete regular exp…
Dargon789 0cdb1ee
0xsequence 1.9.19 (#179)
Dargon789 26c1f79
Update packages/0xsequence/tests/browser/wallet-provider/dapp.test.ts
Dargon789 33d7b74
Update packages/auth/src/session.ts
Dargon789 4aab300
Merge branch '0xsequence:master' into master-ceb95d4
Dargon789 3cae6f4
Update tests.yml (#187)
Dargon789 557210c
Merge branch '0xsequence:master' into proto
Dargon789 7908cfe
Merge branch '0xsequence:master' into 1.10.15
Dargon789 fb4f698
1.9.19 (#189)
Dargon789 d63fb64
Potential fix for code scanning alert no. 61: Cross-window communicat…
Dargon789 88ad9d5
Bump the npm_and_yarn group across 2 directories with 25 updates (#177)
dependabot[bot] ad4195c
Potential fix for code scanning alert no. 73: Workflow does not conta…
Dargon789 a12fae6
Update lib/signals-implicit-mode/foundry.toml
Dargon789 3492ff4
demo dapp (#191) (#192)
Dargon789 f4f73f4
Update publish-dists.yml (#184)
Dargon789 16100ee
Bump body-parser in the npm_and_yarn group across 1 directory (#190)
dependabot[bot] 0bbd8e2
Merge branch 'master' into 0xsequence-1.9.19
Dargon789 3cd6da3
Merge branch '0xsequence:master' into snyk-fix-1a42f46a3694152c28f6d1…
Dargon789 2062e80
Merge branch '0xsequence:master' into master-ceb95d4
Dargon789 b4e210e
Merge branch 'proto' into snyk-fix-1a42f46a3694152c28f6d1d4dc5aea44
Dargon789 980ba9c
Potential fix for code scanning alert no. 92: Insecure randomness
Dargon789 a03fd01
Potential fix for code scanning alert no. 94: Insecure randomness
Dargon789 dbed8f8
Potential fix for code scanning alert no. 93: Incomplete regular expr…
Dargon789 47ad7c2
Potential fix for code scanning alert no. 95: Information exposure th…
Dargon789 1716625
Merge pull request #196 from Dargon789/snyk-fix-1a42f46a3694152c28f6d…
Dargon789 75ae648
Delete lib/signals-implicit-mode/lib/sequence-v3/lib/erc2470-libs dir…
Dargon789 f9123e4
Delete lib/signals-implicit-mode/lib/sequence-v3/script/DeployMocks.s…
Dargon789 fa00712
Delete wagmi-project/packages/sequence-core-1.0.0/lib/signals-implici…
Dargon789 05365ac
Delete wagmi-project/packages/sequence-core-1.0.0/lib/signals-implici…
Dargon789 8219088
Merge branch '0xsequence:master' into master-ceb95d4
Dargon789 95c51c3
Fix React Server Components CVE vulnerabilities (#209)
vercel[bot] c0d68f0
Create Docker.yml (#210)
Dargon789 05a494c
move circleci docker to github
Dargon789 ed245c2
Fix React Server Components CVE vulnerabilities (#211)
Dargon789 ae6c15a
Potential fix for code scanning alert no. 92: Insecure randomness
Dargon789 420d4b4
Potential fix for code scanning alert no. 93: Incomplete regular expr…
Dargon789 316f9d8
Update lib/signals-implicit-mode/foundry.toml
Dargon789 62194a2
Delete .github/.circleci directory (#216)
Dargon789 d539ea8
Delete .github/workflows/publish-dists.yml (#217)
Dargon789 cbad673
Revert "Delete lib/signals-implicit-mode/lib/sequence-v3/script/Deplo…
Dargon789 0c613eb
Revert "Delete lib/signals-implicit-mode/lib/sequence-v3/lib/erc2470-…
Dargon789 fbeb2ae
Sequence.js/master (#222)
Dargon789 58bd45f
Merge branch 'master' into 0xsequence/master
Dargon789 ec3d1c6
Wagmi project (#199)
Dargon789 d2e7b10
Wagmi project (#225)
Dargon789 478918f
Merge branch '0xsequence:master' into 1.10.15
Dargon789 2144689
Merge branch 'master' into 3.0.0-beta.9
Dargon789 1ecb8d7
1.10.15 (#229)
Dargon789 5a2cae7
0xsequence 1.9.19 (#194)
Dargon789 b309aa2
0xsequence/master (#180)
Dargon789 0c989c2
Merge branch 'master' into proto
Dargon789 503bf5c
Merge pull request #198 from Dargon789/proto
Dargon789 49af264
Merge branch 'master' into 1.10.15
Dargon789 f6edeb9
Merge pull request #231 from Dargon789/1.10.15
Dargon789 f29be1a
Delete .github/workflows/Docker.yml (#233)
Dargon789 880e0f9
Merge branch '0xsequence:master' into master-ceb95d4
Dargon789 5c92549
Update CHANGELOG.md
Dargon789 f63d732
Update publish-dists.yml
Dargon789 3ea1f98
1.0.8 (#234)
Dargon789 292f82e
0xsequence-core
Dargon789 4be403c
3.0.0-beta.10 (#237)
Dargon789 4e9b232
Merge branch '0xsequence:master' into 2.3.7-(#131)-(#132)
Dargon789 007cb89
Update packages/wallet/dapp-client/src/utils/index.ts
Dargon789 fdb99c1
Merge branch '0xsequence:master' into master-ceb95d4
Dargon789 15eccf9
Potential fix for code scanning alert no. 40: Workflow does not conta…
Dargon789 25d6f92
Merge branch '0xsequence:master' into master-ceb95d4
Dargon789 118061e
Bump diff (#235)
dependabot[bot] aed5cc0
Delete wagmi-project/.circleci directory (#245)
Dargon789 3032655
Delete wagmi-project/.circleci directory (#246)
Dargon789 dfbeaec
Update config.json
Dargon789 25f1f3a
Revert "Delete lib/signals-implicit-mode/lib/sequence-v3/script/Deplo…
Dargon789 6a06652
Install Vercel Web Analytics in Next.js (#249)
vercel[bot] debda48
Merge branch 'master' into 0xsequence-1.9.19
Dargon789 4b4c28a
update package
Dargon789 7bd57f7
Potential fix for code scanning alert no. 108: Incomplete regular exp…
Dargon789 b430531
0xsequence 1.9.19 (#252)
Dargon789 e3d8ebe
fix: extras/docs/package.json to reduce vulnerabilities (#250)
snyk-io[bot] 4b1ad47
fix: extras/web/package.json to reduce vulnerabilities (#251)
snyk-io[bot] 6ecbe48
0xsequence 1.9.19 (#253)
Dargon789 4a6ac5d
Vercel/react server components CVE vu qan1bu (#256)
Dargon789 64367c9
Potential fix for code scanning alert no. 83: Workflow does not conta…
Dargon789 785b063
Potential fix for code scanning alert no. 82: Workflow does not conta…
Dargon789 106b140
extras docs
Dargon789 b44a924
Merge branch 'codesandbox' into v3
Dargon789 966d0ec
Update publish-dists.yml
Dargon789 048f214
Merge pull request #257 from Dargon789/v3
Dargon789 7eb0e62
Merge branch 'master' into codesandbox
Dargon789 35024c1
Codesandbox (#258)
Dargon789 1caaeec
Merge branch 'master' into codesandbox
Dargon789 c03ecd7
Merge pull request #259 from Dargon789/codesandbox
Dargon789 2cb244a
Merge remote-tracking branch 'upstream/master'
Dargon789 dcf3680
0xsequence/sequence.js/master (#255)
Dargon789 4cd4165
3.0.0-beta.12 (#265)
Dargon789 788ccad
Merge branch '0xsequence:master' into master-ceb95d4
Dargon789 b8f3960
Merge branch '0xsequence/master' of https://github.com/Dargon789/sequ…
Dargon789 869b1ca
Merge branch 'master' into 0xsequence/master
Dargon789 f434e3f
0xsequence/master (#270)
Dargon789 defb4da
Merge branch '0xsequence/master'
Dargon789 2f901cc
@0xsequence 2.3.8
Dargon789 394b0a7
@0xsequence v3 SDK
Dargon789 996549f
0xsequence/sequence.js/master (#275)
Dargon789 3083144
submodule lib/signals-implicit-mode
Dargon789 11d7ae1
Merge branch 'master' of https://github.com/Dargon789/sequence.js
Dargon789 54ca109
3.0.0-beta.12 (#276)
Dargon789 3d423ce
Potential fix for code scanning alert no. 61: Cross-window communicat…
Dargon789 910ccae
Potential fix for code scanning alert no. 121: Cross-window communica…
Dargon789 e4b58e6
Update .codesandbox/README.md
Dargon789 086f961
Update .codesandbox/package.json
Dargon789 92163bc
Update .codesandbox/package.json
Dargon789 4c65567
Update .codesandbox/tsconfig.json
Dargon789 210a3b0
Bump the npm_and_yarn group across 1 directory with 1 update (#278) …
Dargon789 5b0e2ed
Potential fix for code scanning alert no. 84: Insecure randomness (#279)
Dargon789 8ea8799
fix: extras/web/package.json to reduce vulnerabilities (#272)
Dargon789 588f2ba
[Snyk] Security upgrade next from 15.4.7 to 15.4.10 (#271)
Dargon789 1234bf5
fix: extras/web/package.json to reduce vulnerabilities (#264)
snyk-io[bot] 99c923a
Merge branch 'master'
Dargon789 6b61985
submodule lib/signals-implicit-mode
Dargon789 5ce14ed
2.3.7 (#131) (#132) (#239)
Dargon789 a50e100
fix: extras/docs/package.json to reduce vulnerabilities (#263)
snyk-io[bot] 5c70ed1
Update README.md
Dargon789 57ac040
Merge remote-tracking branch 'upstream/master'
Dargon789 9f284bd
update web3 next dev
Dargon789 23673c0
solar module
Dargon789 ff6c765
Delete .github/workflows/web-sdk.yml (#291)
Dargon789 411a877
Delete .github/workflows/nextjs.yml (#292)
Dargon789 28514e9
azure-pipelines.yml
Dargon789 2e0d110
fix(relayer): wrap feeOptions calldata for simulation
taylanpince 3eabc06
fix(relayer): request FeeOptions as wallet (match wallet-webapp-v3)
taylanpince f8edbf9
fix(relayer): restore AbiFunction import
taylanpince 6614c65
Merge branch 'fix/rpc-relayer-feeoptions-execdata'
Dargon789 e831d72
Merge remote-tracking branch 'upstream/master' into add-ci-automated-…
Dargon789 368bfac
Merge branch 'master' into add-ci-automated-v2.3.7
Dargon789 77d87bf
Add ci automated v2.3.7 (#295)
Dargon789 429e8c5
Create neuralegion.yml (#297)
Dargon789 9e45278
Merge remote-tracking branch 'upstream/master'
Dargon789 7b52552
Update .changeset/pre.json
Dargon789 74cadff
Merge branch 'add-ci-automated-v2.3.7'
Dargon789 1e4eab6
demo-dap
Dargon789 1b7e2fb
Create workspace.xml
Dargon789 109c51b
Merge remote-tracking branch 'upstream/master'
Dargon789 416ae65
Merge branch 'master'
Dargon789 1eda57e
Add signals-implicit-mode build outputs
Dargon789 b011b1d
Merge remote-tracking branch 'upstream/master' into 0xsequence-1.9.19
Dargon789 5d0193f
Dargon789 patch 1 (#302)
Dargon789 6ae3c1c
Merge branch '0xsequence-1.9.19'
Dargon789 be53079
Merge remote-tracking branch 'upstream/master'
Dargon789 21230cd
Add Edge browser debug configs and Node types for dev
Dargon789 8a5f9f7
Revert "demo-dap"
Dargon789 ac81753
update packagemanager pnpm@10.30.1
Dargon789 1a3c418
Merge remote-tracking branch 'upstream/master'
Dargon789 fbc2fa0
Merge branch '0xsequence:master' into master
Dargon789 8152ddc
Merge remote-tracking branch 'upstream/master' into master-ceb95d4
googleworkspace-bot 78aea6d
Merge branch 'master' into master-ceb95d4
googleworkspace-bot af1e5c1
Master ceb95d4 (#327)
Dargon789 adcc359
Foundry pin v1.5.0 (#328)
Dargon789 644dd0a
Merge branch '0xsequence:master' into master-ceb95d4
Dargon789 ba3b6ec
Fix handling for multiple explicit signers (0xsequence#975) (#344)
Dargon789 07d9eb5
Merge branch '0xsequence:master' into master
Dargon789 0dd2982
Merge branch '0xsequence:master' into master
Dargon789 51f4b6c
Merge branch '0xsequence:master' into master
Dargon789 d0ee2ef
Merge branch 'master' of https://github.com/Dargon789/sequence.js
googleworkspace-bot d0b1fbb
Install Vercel Web Analytics in Next.js (#348)
vercel[bot] b8c9e8b
Potential fix for code scanning alert no. 107: Workflow does not cont…
Dargon789 1a89757
Create defender-for-devops.yml (#357)
Dargon789 4a99418
build app
googleworkspace-bot de55fa4
Merge branch '0xsequence:master' into master
Dargon789 2089d7d
3.0.1 (#372) (#373)
Dargon789 bd8ac17
update web3 next dev
googleworkspace-bot c91776b
#980 @0xsequence/api
googleworkspace-bot fc1b3d9
Update README.md (#394)
Dargon789 9fe1d18
Update README.md (#395)
Dargon789 eebb5d0
Bump the npm_and_yarn group across 3 directories with 6 updates (#392)
dependabot[bot] 7617d62
authcode-pkce.test.ts
googleworkspace-bot e3347ec
3.0.5
googleworkspace-bot 949ef21
Update relayer client gen and bump deps
googleworkspace-bot 8ed32fa
Delete corepack.tgz (#432)
Dargon789 9264be3
Add Azure Pipelines configuration for Node.js project (#433)
Dargon789 82ef03c
Update .idea workspace, caches, and project name
googleworkspace-bot 7b106d2
Merge remote-tracking branch 'upstream/master' into master-ceb95d4
googleworkspace-bot 792c0d0
Merge branch 'master' into master-ceb95d4
Dargon789 7d12783
Master ceb95d4 (#438)
Dargon789 3eb44cb
Master ceb95d4 (#449)
Dargon789 1c07610
fix: extras/docs/package.json to reduce vulnerabilities (#428)
Dargon789 208a37b
Merge remote-tracking branch 'upstream/master'
googleworkspace-bot 978714c
V3 dapp (#460)
Dargon789 2505ef2
Pin foundry to v1.5.0 instead of nightly (0xsequence#947) (#134) (#466)
Dargon789 1279620
Delete packages/wallet-contracts directory (#471)
Dargon789 3643830
fix: extras/web/package.json to reduce vulnerabilities (#427)
Dargon789 4f55ebb
Merge remote-tracking branch 'upstream/master' into Initial-project-s…
googleworkspace-bot 2fae31f
Merge branch 'feature/integration' of https://github.com/Dargon789/se…
googleworkspace-bot aa8ed87
Merge remote-tracking branch 'upstream/master' into feature/integration
googleworkspace-bot 335a084
Bump the npm_and_yarn group across 4 directories with 11 updates (#476)
dependabot[bot] 3cd5e7b
Update .idea workspace and device cache
googleworkspace-bot 0b500dd
Merge branch 'master' of https://github.com/Dargon789/sequence.js
googleworkspace-bot 1a89528
Update packages/wallet/core/eslint.config.js
Dargon789 a0d090f
Merge branch 'master' of https://github.com/Dargon789/sequence.js int…
googleworkspace-bot 53966f5
Merge branch 'feature/integration' into dargon789-master
googleworkspace-bot c82a0c6
Delete lib/signals-implicit-mode directory (#487)
Dargon789 18fcbb3
Delete lib/signals-implicit-mode directory
Dargon789 e208f85
Update .codesandbox/package.json
Dargon789 bacebf0
Update .codesandbox/package.json
Dargon789 e3ac11c
[Snyk] Security upgrade uuid from 13.0.0 to 14.0.0 (#489)
snyk-io[bot] d0ad031
Merge branch 'master-ceb95d4' of https://github.com/Dargon789/sequenc…
googleworkspace-bot bd2d862
Update issue templates (#500)
Dargon789 5fd9c50
Update .github/ISSUE_TEMPLATE/bug_report.md
Dargon789 90e1bd3
Update .github/ISSUE_TEMPLATE/bug_report.md
Dargon789 b5bb434
Update .github/ISSUE_TEMPLATE/feature_request.md
Dargon789 284174c
Update .github/ISSUE_TEMPLATE/custom.md
Dargon789 7b81c80
Merge branch 'v3-@0xsequence' into dargon789-master
googleworkspace-bot b2a36a8
Merge branch 'dargon789-master' into master
Dargon789 f1bec8f
Update .codesandbox/package.json
Dargon789 394cbda
Merge branch 'master-ceb95d4' into master
Dargon789 394c5a2
Update .codesandbox/src/App.tsx
Dargon789 6a40645
Update extras/web/tsconfig.json
Dargon789 aaf7bb2
Update packages/account/src/signer.ts
Dargon789 2a28333
Merge branch 'master' into v3-core-libraries-and-SDK
googleworkspace-bot eeefacc
Merge branch 'master' into v3-core-libraries-and-SDK
googleworkspace-bot aac044a
Merge branch 'master' into dargon789-master
googleworkspace-bot 79d67af
fix: extras/web/package.json to reduce vulnerabilities
snyk-bot e5ac10a
fix: extras/web/package.json to reduce vulnerabilities
snyk-io[bot] 4b3bf22
Main (#578)
Dargon789 86cb7ca
Bump the npm_and_yarn group across 6 directories with 17 updates
dependabot[bot] d8781bb
Merge branch 'master' into snyk-fix-acc3a6bcee7e9180369d6ee5023ee21f
Dargon789 5235808
fix: extras/web/package.json to reduce vulnerabilities
snyk-io[bot] e0615fb
Update packages/api/src/index.ts
Dargon789 b2feac0
Update .codesandbox/src/App.tsx
Dargon789 076f352
Merge branch '0xsequence:master' into v3-core-libraries-and-SDK
Dargon789 68102fe
Update .github/ISSUE_TEMPLATE/bug_report.md
Dargon789 2c66ca7
Merge branch 'v3-core-libraries-and-SDK' into 0xsequence-sdk
googleworkspace-bot b3b0a9c
Codesandbox dev (#586)
Dargon789 988217b
Merge branch 'master' into 0xsequence-sdk
Dargon789 523ac27
Merge remote-tracking branch 'origin/snyk-fix-acc3a6bcee7e9180369d6ee…
googleworkspace-bot 4cc9728
Update extras/docs/package.json
Dargon789 0e5bdad
Update extras/web/package.json
Dargon789 8028659
Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/npm_and_…
googleworkspace-bot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| # Use the latest 2.1 version of CircleCI pipeline process engine. | ||
| # See: https://circleci.com/docs/configuration-reference | ||
|
|
||
| version: 2.1 | ||
| executors: | ||
| my-custom-executor: | ||
| docker: | ||
| - image: cimg/base:stable | ||
| auth: | ||
| # ensure you have first added these secrets | ||
| # visit app.circleci.com/settings/project/github/Dargon789/foundry/environment-variables | ||
| username: $DOCKER_HUB_USER | ||
| password: $DOCKER_HUB_PASSWORD | ||
| jobs: | ||
| web3-defi-game-project-: | ||
|
|
||
| executor: my-custom-executor | ||
| steps: | ||
| - checkout | ||
| - run: | | ||
| # echo Hello, World! | ||
|
|
||
| workflows: | ||
| my-custom-workflow: | ||
| jobs: | ||
| - web3-defi-game-project- | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| name: build app | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - master | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
| name: Build and Push | ||
| steps: | ||
| - name: git-checkout | ||
| uses: actions/checkout@v3 | ||
|
|
||
| - name: Setup PNPM | ||
| uses: pnpm/action-setup@v2 | ||
| with: | ||
| version: 8 | ||
| run_install: true | ||
|
|
||
| - name: Build | ||
| run: pnpm dist | ||
|
|
||
| - name: Push | ||
| uses: s0/git-publish-subdir-action@develop | ||
| env: | ||
| REPO: self | ||
| BRANCH: build | ||
| FOLDER: dist | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| MESSAGE: 'Build: ({sha}) {msg}' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| .env | ||
|
|
||
| #dependencies | ||
| node_modules/ | ||
|
|
||
| # production | ||
| dist/ | ||
|
|
||
| # misc | ||
| .DS_Store | ||
| .vscode | ||
| .idea/ | ||
| *.iml | ||
| npm-debug.log* | ||
| yarn-debug.log* | ||
| yarn-error.log* | ||
| lerna-debug.log* | ||
|
|
||
| .env.local |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| { | ||
| "tabWidth": 2, | ||
| "useTabs": false, | ||
| "semi": false, | ||
| "singleQuote": true, | ||
| "trailingComma": "none", | ||
| "arrowParens": "avoid", | ||
| "printWidth": 130 | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| # Demo Dapp | ||
|
|
||
| Dapp example on how to use Sequence Wallet. Covers how to connect, sign messages and send transctions. | ||
|
|
||
| Try this dapp at: [https://0xsequence.github.io/demo-dapp](https://0xsequence.github.io/demo-dapp) | ||
|
|
||
| For complete documentation on Sequence, please see: [https://docs.sequence.build](https://docs.sequence.build) | ||
|
|
||
| ## Usage | ||
|
|
||
| 1. pnpm install | ||
| 2. pnpm start | ||
| 3. Open browser to http://localhost:4000 to access the demo dapp | ||
| 4. Open browser inspector to see responses from the remote Sequence Wallet | ||
|
|
||
| ## Development | ||
|
|
||
| See [src/App.tsx](./src/App.tsx) for the source | ||
| usage for a variety of functions. Be sure to open your browser's dev inspector to see output. | ||
| Think of these functions as a "cookbook" for how you can perform these functions in your dapps. | ||
|
|
||
| Also note, sequence.js is built on top of ethers.js, and is API-compatible. | ||
|
|
||
| ## Screenshots | ||
|
|
||
| **Opening wallet from dapp:** | ||
|
|
||
|  | ||
|
|
||
| **Send transaction from dapp:** | ||
|
|
||
| Sequence Wallet is an Ethereum wallet supporting Ethereum mainnet, Polygon and more. Sequence will work | ||
| with any blockchain which is EVM compatible and supports Ethereum's node JSON-RPC interface. | ||
|
|
||
| Here you can see in this screenshot the call to "Send DAI" from demo-dapp | ||
| (https://github.com/0xsequence/demo-dapp/blob/master/src/routes/HomeRoute.tsx#L420). This function demonstrates | ||
| how you can transfer an ERC-20 token like DAI on any Ethereum network. | ||
|
|
||
| Notice how you can pay gas fees for a transaction in either MATIC token or USDC for price of $0.01. | ||
|
|
||
|  | ||
|
|
||
| ## LICENSE | ||
|
|
||
| Apache 2.0 or MIT (your choice) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="utf-8" /> | ||
| <link rel="icon" href="/favicon.ico" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
| <meta name="theme-color" content="#000000" /> | ||
| <meta | ||
| name="description" | ||
| content="Web site created using create-react-app" | ||
| /> | ||
| <link rel="apple-touch-icon" href="/logo192.png" /> | ||
| <!-- | ||
| manifest.json provides metadata used when your web app is installed on a | ||
| user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/ | ||
| --> | ||
| <link rel="manifest" href="/manifest.json" /> | ||
| <!-- | ||
| Notice the use of in the tags above. | ||
| It will be replaced with the URL of the `public` folder during the build. | ||
| Only files inside the `public` folder can be referenced from the HTML. | ||
|
|
||
| Unlike "/favicon.ico" or "favicon.ico", "/favicon.ico" will | ||
| work correctly both with client-side routing and a non-root public URL. | ||
| Learn how to configure a non-root public URL by running `npm run build`. | ||
| --> | ||
| <title>Sequence | Demo Dapp</title> | ||
| </head> | ||
| <body> | ||
| <noscript>You need to enable JavaScript to run this app.</noscript> | ||
| <a href="https://github.com/0xsequence/demo-dapp" target="_blank" rel="noopener noreferrer" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#fff; color:#151513; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style> | ||
| <div id="root"></div> | ||
| <script type="module" src="/src/index.tsx"></script> | ||
| </body> | ||
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,60 @@ | ||
| { | ||
| "name": "demo-dapp", | ||
| "description": "Ethereum Demo Dapp built on Sequence stack", | ||
| "version": "0.1.0", | ||
| "private": true, | ||
| "homepage": "demo-dapp", | ||
| "scripts": { | ||
| "dev": "BROWSER=none pnpm start", | ||
| "start": "vite", | ||
| "build": "tsc && vite build", | ||
| "typecheck": "tsc --noEmit", | ||
| "serve": "Vite preview", | ||
| "dist": "pnpm build", | ||
| "link-sequence": "pnpm run clear:vite:cache && ../sequence.js/scripts/pnpm-link.sh link", | ||
| "unlink-sequence": "pnpm run clear:vite:cache && ../sequence.js/scripts/pnpm-link.sh unlink", | ||
| "clear:vite:cache": "rimraf node_modules/.vite/" | ||
| }, | ||
| "dependencies": { | ||
| "0xsequence": "2.2.13", | ||
| "@0xsequence/abi": "2.2.13", | ||
| "@0xsequence/design-system": "^1.8.1", | ||
| "@0xsequence/ethauth": "^1.0.0", | ||
| "@0xsequence/network": "2.2.13", | ||
| "@0xsequence/provider": "2.2.13", | ||
| "@0xsequence/utils": "2.2.13", | ||
| "@types/node": "^20.11.30", | ||
| "@types/react": "^18.3.7", | ||
| "@types/react-dom": "^18.3.0", | ||
| "@vanilla-extract/css": "^1.14.1", | ||
| "ethers": "^6.13.4", | ||
| "framer-motion": "^9.0.1", | ||
| "react": "^18.3.1", | ||
| "react-dom": "^18.3.1", | ||
| "typescript": "^4.5.5" | ||
| }, | ||
| "devDependencies": { | ||
| "@vanilla-extract/vite-plugin": "^4.0.6", | ||
| "@vitejs/plugin-react": "^4.2.1", | ||
| "vite": "^6.4.2", | ||
| "vite-plugin-svgr": "^4.2.0", | ||
| "vite-tsconfig-paths": "^4.3.2" | ||
| }, | ||
| "eslintConfig": { | ||
| "extends": [ | ||
| "react-app" | ||
| ] | ||
| }, | ||
| "browsers list": { | ||
| "production": [ | ||
| ">0.2%", | ||
| "not dead", | ||
| "not op_mini all" | ||
| ], | ||
| "development": [ | ||
| "last 1 chrome version", | ||
| "last 1 firefox version", | ||
| "last 1 safari version" | ||
| ] | ||
| } | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.