├── .gitignore ├── .npmignore ├── README.MD ├── docs ├── README.md ├── api-reference │ ├── endpoint │ │ ├── create.mdx │ │ ├── delete.mdx │ │ └── get.mdx │ ├── introduction.mdx │ └── openapi.json ├── development.mdx ├── docs.json ├── essentials │ ├── code.mdx │ ├── images.mdx │ ├── markdown.mdx │ ├── navigation.mdx │ ├── reusable-snippets.mdx │ └── settings.mdx ├── favicon.svg ├── images │ ├── checks-passed.png │ ├── chipi-chunky.png │ ├── hero-dark.png │ └── hero-light.png ├── introduction.mdx ├── logo │ ├── dark.svg │ └── light.svg ├── quickstart.mdx └── snippets │ └── snippet-intro.mdx ├── package.json ├── src ├── core │ ├── backend-url.ts │ ├── chipi-sdk.ts │ ├── create-argent-wallet.ts │ ├── index.ts │ ├── lib │ │ ├── encryption.ts │ │ └── index.ts │ ├── send-transaction-with-paymaster.ts │ └── types.ts ├── index.ts ├── react │ ├── context │ │ ├── chipi-provider.tsx │ │ └── index.ts │ ├── hooks │ │ ├── index.ts │ │ ├── use-approve.ts │ │ ├── use-call-any-contract.ts │ │ ├── use-create-wallet.ts │ │ ├── use-stake-vesu-usdc.ts │ │ ├── use-transfer.ts │ │ └── use-withdraw-vesu-usdc.ts │ ├── index.ts │ └── types.ts └── types.ts ├── tsconfig.json └── tsup.config.ts /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | tsconfig.json 3 | .gitignore 4 | node_modules -------------------------------------------------------------------------------- /README.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/README.MD -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/api-reference/endpoint/create.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/docs/api-reference/endpoint/create.mdx -------------------------------------------------------------------------------- /docs/api-reference/endpoint/delete.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/docs/api-reference/endpoint/delete.mdx -------------------------------------------------------------------------------- /docs/api-reference/endpoint/get.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/docs/api-reference/endpoint/get.mdx -------------------------------------------------------------------------------- /docs/api-reference/introduction.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/docs/api-reference/introduction.mdx -------------------------------------------------------------------------------- /docs/api-reference/openapi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/docs/api-reference/openapi.json -------------------------------------------------------------------------------- /docs/development.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/docs/development.mdx -------------------------------------------------------------------------------- /docs/docs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/docs/docs.json -------------------------------------------------------------------------------- /docs/essentials/code.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/docs/essentials/code.mdx -------------------------------------------------------------------------------- /docs/essentials/images.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/docs/essentials/images.mdx -------------------------------------------------------------------------------- /docs/essentials/markdown.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/docs/essentials/markdown.mdx -------------------------------------------------------------------------------- /docs/essentials/navigation.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/docs/essentials/navigation.mdx -------------------------------------------------------------------------------- /docs/essentials/reusable-snippets.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/docs/essentials/reusable-snippets.mdx -------------------------------------------------------------------------------- /docs/essentials/settings.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/docs/essentials/settings.mdx -------------------------------------------------------------------------------- /docs/favicon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/docs/favicon.svg -------------------------------------------------------------------------------- /docs/images/checks-passed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/docs/images/checks-passed.png -------------------------------------------------------------------------------- /docs/images/chipi-chunky.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/docs/images/chipi-chunky.png -------------------------------------------------------------------------------- /docs/images/hero-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/docs/images/hero-dark.png -------------------------------------------------------------------------------- /docs/images/hero-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/docs/images/hero-light.png -------------------------------------------------------------------------------- /docs/introduction.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/docs/introduction.mdx -------------------------------------------------------------------------------- /docs/logo/dark.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/docs/logo/dark.svg -------------------------------------------------------------------------------- /docs/logo/light.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/docs/logo/light.svg -------------------------------------------------------------------------------- /docs/quickstart.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/docs/quickstart.mdx -------------------------------------------------------------------------------- /docs/snippets/snippet-intro.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/docs/snippets/snippet-intro.mdx -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/package.json -------------------------------------------------------------------------------- /src/core/backend-url.ts: -------------------------------------------------------------------------------- 1 | export const BACKEND_URL = "https://api.chipipay.com/v1"; -------------------------------------------------------------------------------- /src/core/chipi-sdk.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/src/core/chipi-sdk.ts -------------------------------------------------------------------------------- /src/core/create-argent-wallet.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/src/core/create-argent-wallet.ts -------------------------------------------------------------------------------- /src/core/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/src/core/index.ts -------------------------------------------------------------------------------- /src/core/lib/encryption.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/src/core/lib/encryption.ts -------------------------------------------------------------------------------- /src/core/lib/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/src/core/lib/index.ts -------------------------------------------------------------------------------- /src/core/send-transaction-with-paymaster.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/src/core/send-transaction-with-paymaster.ts -------------------------------------------------------------------------------- /src/core/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/src/core/types.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/react/context/chipi-provider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/src/react/context/chipi-provider.tsx -------------------------------------------------------------------------------- /src/react/context/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/src/react/context/index.ts -------------------------------------------------------------------------------- /src/react/hooks/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/src/react/hooks/index.ts -------------------------------------------------------------------------------- /src/react/hooks/use-approve.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/src/react/hooks/use-approve.ts -------------------------------------------------------------------------------- /src/react/hooks/use-call-any-contract.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/src/react/hooks/use-call-any-contract.ts -------------------------------------------------------------------------------- /src/react/hooks/use-create-wallet.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/src/react/hooks/use-create-wallet.ts -------------------------------------------------------------------------------- /src/react/hooks/use-stake-vesu-usdc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/src/react/hooks/use-stake-vesu-usdc.ts -------------------------------------------------------------------------------- /src/react/hooks/use-transfer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/src/react/hooks/use-transfer.ts -------------------------------------------------------------------------------- /src/react/hooks/use-withdraw-vesu-usdc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/src/react/hooks/use-withdraw-vesu-usdc.ts -------------------------------------------------------------------------------- /src/react/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/src/react/index.ts -------------------------------------------------------------------------------- /src/react/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/src/react/types.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/src/types.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsup.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chipi-pay/chipi-sdk/HEAD/tsup.config.ts --------------------------------------------------------------------------------