Skip to content

Commit

Permalink
feat(rwa): login with devwallet (#2664)
Browse files Browse the repository at this point in the history
  • Loading branch information
sstraatemans authored Nov 18, 2024
1 parent 83bd571 commit 7d0cbcc
Show file tree
Hide file tree
Showing 22 changed files with 1,724 additions and 103 deletions.
2 changes: 2 additions & 0 deletions .changeset/rich-wombats-shop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 2 additions & 0 deletions .changeset/sour-dolphins-push.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
10 changes: 10 additions & 0 deletions packages/apps/rwa-demo/codegen-sdk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
overwrite: true
# schema: ./node_modules/@kadena/graph/generated-schema.graphql
schema: https://graph.kadena.network/graphql
generates:
./src/__generated__/sdk.ts:
documents: 'src/**/*.graph.(ts|tsx)'
plugins:
- typescript
- typescript-operations
- typescript-react-apollo
10 changes: 10 additions & 0 deletions packages/apps/rwa-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"build": "next build",
"dev": "next dev",
"generate": "pactjs contract-generate --contract \"RWA.agent-role\" --chain 0 --network development --api \"http://localhost:8080/chainweb/0.0/development/chain/0/pact\"",
"generate:sdk": "cache-sh -i \"{codegen-sdk.yml,./node_modules/@kadena/graph/generated-schema.graphql,src/**/*.graph.ts,src/__generated__/**}\" -- graphql-codegen --config codegen-sdk.yml",
"lint": "pnpm run /^lint:.*/",
"lint:fmt": "prettier . --cache --check",
"lint:src": "eslint src",
Expand All @@ -15,9 +16,12 @@
"test:watch": "vitest --coverage"
},
"dependencies": {
"@apollo/client": "~3.9.11",
"@graphql-yoga/apollo-link": "~3.3.0",
"@hookform/resolvers": "^3.2.0",
"@kadena/client": "^1.15.0",
"@kadena/cryptography-utils": "workspace:*",
"@kadena/graph": "workspace:*",
"@kadena/kode-icons": "workspace:*",
"@kadena/kode-ui": "workspace:*",
"@kadena/pactjs": "workspace:*",
Expand All @@ -27,13 +31,19 @@
"@vanilla-extract/next-plugin": "2.4.0",
"@vanilla-extract/recipes": "0.5.1",
"@vanilla-extract/sprinkles": "1.6.1",
"cache-sh": "^1.2.1",
"graphql": "~16.8.1",
"graphql-ws": "^5.16.0",
"next": "14.2.2",
"next-themes": "^0.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.45.4"
},
"devDependencies": {
"@graphql-codegen/cli": "5.0.2",
"@graphql-codegen/typescript-operations": "~4.2.0",
"@graphql-codegen/typescript-react-apollo": "~4.3.0",
"@kadena-dev/eslint-config": "workspace:*",
"@kadena-dev/lint-package": "workspace:*",
"@kadena-dev/shared-config": "workspace:*",
Expand Down
Loading

0 comments on commit 7d0cbcc

Please sign in to comment.