Skip to content

Commit

Permalink
custom-wallet-extension added
Browse files Browse the repository at this point in the history
  • Loading branch information
SrijanCoinDCX committed Jul 18, 2024
1 parent 4883251 commit 33b0348
Show file tree
Hide file tree
Showing 1,383 changed files with 144,006 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* text=auto
*.js text eol=lf
34 changes: 34 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Run Tests

on:
push:

pull_request:
types: [opened, reopened]

workflow_dispatch:

jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- name: checkout 🛎️
uses: actions/checkout@v4

- name: node
uses: actions/setup-node@v4
with:
node-version: 20.9.0

- name: Deps
run: |
yarn
yarn build
- name: Test
run: |
cd packages/core && yarn test
- name: Test React Lite
run: |
cd packages/react-lite && yarn test
26 changes: 26 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
.DS_Store
.eslintcache
*.log
**/node_modules
coverage
packages/**/build
packages/**/main
packages/**/module
packages/**/dist
packages/**/cjs
packages/**/esm
wallets/**/build
wallets/**/main
wallets/**/module
wallets/**/dist
wallets/**/cjs
wallets/**/esm
packages/example/pages/tmp.tsx
packages/example/utils/tmp.ts
.idea
/.yarnrc
/.npmrc
/.parcel-cache
packages/my-example
wallets/social-login
.yarn
11 changes: 11 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# This configuration file was automatically generated by Gitpod.
# Please adjust to your needs (see https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml)
# and commit this file to your remote git repository to share the goodness with others.

# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart

tasks:
- init: yarn install && yarn run build
command: yarn run watch


35 changes: 35 additions & 0 deletions .vscode/cosmos-kit.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"folders": [
{
"path": "../packages/core/"
},
{
"path": "../packages/docs/"
},
{
"path": "../packages/example/"
},
{
"path": "../packages/ins/"
},
{
"path": "../packages/react/"
},
{
"path": "../packages/react-lite/"
},
{
"path": "../packages/walletconnect/"
},
{
"path": "../public/"
},
{
"path": "../wallets/"
},

],
"settings": {
"jest.jestCommandLine": "yarn test"
}
}
49 changes: 49 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"editor.quickSuggestions": {
"comments": "inline",
"strings": "inline"
},
"[markdown]": {
"editor.quickSuggestions": {
"other": "on",
"comments": "inline",
"strings": "inline"
}
},
"files.associations": {
"*.mdx": "markdown"
},
"editor.formatOnSave": true,
"[javascriptreact]": {
"editor.formatOnSave": true
},
"[javascript]": {
"editor.formatOnSave": true
},
"[typescriptreact]": {
"editor.formatOnSave": true
},
"[typescript]": {
"editor.formatOnSave": true
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
],
"eslint.codeActionsOnSave.mode": "problems",
"eslint.format.enable": true,
"eslint.lintTask.enable": true,
"eslint.onIgnoredFiles": "warn",
"eslint.workingDirectories": [
{
"pattern": "packages/*",
"!cwd": false
}
],
"typescript.tsdk": "node_modules/typescript/lib"
}
5 changes: 5 additions & 0 deletions INTEGRATING-WALLETS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Integrating Wallets

[supported wallets](https://docs.cosmology.zone/cosmos-kit/integrating-wallets#supported-wallets)

[How to integrate new wallets into CosmosKit](https://docs.cosmology.zone/cosmos-kit/integrating-wallets/adding-new-wallets)
33 changes: 33 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
The Clear BSD License

Copyright (c) 2024 Cosmos Kit Contributors
Copyright (c) 2024 Interweb, Inc. <[email protected]>
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted (subject to the limitations in the disclaimer
below) provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

* Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from this
software without specific prior written permission.

NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY
THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
7 changes: 7 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
projects: ['<rootDir>/packages/*/jest.config.js'],
coverageDirectory: '<rootDir>/coverage',
transform: {
'^.+\\.(js|jsx|ts|tsx)$': 'babel-jest',
},
}
20 changes: 20 additions & 0 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"lerna": "7",
"conventionalCommits": true,
"npmClient": "yarn",
"npmClientArgs": ["--no-lockfile"],
"packages": ["packages/*", "wallets/*"],
"version": "independent",
"registry": "https://registry.npmjs.org",
"command": {
"create": {
"homepage": "https://github.com/cosmology-tech/cosmos-kit",
"license": "SEE LICENSE IN LICENSE",
"access": "restricted"
},
"publish": {
"allowBranch": "main",
"message": "chore(release): publish"
}
}
}
Loading

0 comments on commit 33b0348

Please sign in to comment.