Skip to content

Commit

Permalink
Initial library/utils.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
r-near committed Dec 2, 2024
0 parents commit 464564f
Show file tree
Hide file tree
Showing 8 changed files with 1,989 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules/
dist/
build/
.gitconfig
33 changes: 33 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"vcs": {
"enabled": false,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"ignoreUnknown": false,
"ignore": ["build", "dist", "cache", "typechain-types", "coverage"]
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"lineWidth": 100
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"correctness": {
"noUnusedImports": "error",
"noUnusedVariables": "error"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "double",
"semicolons": "asNeeded"
}
}
}
29 changes: 29 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name": "omni-bridge-sdk-js",
"version": "0.1.0",
"description": "SDK for Omni bridge transfers",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": ["dist"],
"scripts": {
"build": "tsc",
"test": "vitest",
"lint": "biome lint --write ./src",
"format": "biome format --write ./src",
"prepare": "pnpm run build"
},
"keywords": ["blockchain", "bridge", "ethereum", "near", "solana"],
"author": "",
"license": "MIT",
"dependencies": {
"@solana/web3.js": "^1.95.5",
"ethers": "^6.13.4",
"near-api-js": "^5.0.1"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@types/node": "^22.10.1",
"typescript": "^5.7.2",
"vitest": "^2.1.8"
}
}
Loading

0 comments on commit 464564f

Please sign in to comment.