Skip to content

This is a server that helps users of IERC5564 can check as if a stealth-address is belong to them or not

License

Notifications You must be signed in to change notification settings

TheArcadiaGroup/erc5564-server

Repository files navigation

StealthAddress-IERC5564-SERVER

This is a server that helps users of IERC5564 can check as if a stealth-address is belong to them or not

How to install the server?

After clone this project, you should run the command line on your server:

npm i
npm run build
npm run requestEvent
npm run api

Development Mode

Test And E2E

Only run specify file

Typescript

What is TypeScript and why would I use it in place of JavaScript?

  • Support for modern JavaScript features
  • Advanced type system
  • Developer tooling support
  • Optionally static typing and type inference
  • Enhanced IDE support
  • Strict null checks
  • JavaScript interoperability

Eslint

ESLint is a tool for identifying and reporting on patterns found in ECMAScript/JavaScript code, with the goal of making code more consistent and avoiding bugs. ... ESLint uses an AST to evaluate patterns in code. ESLint is completely pluggable, every single rule is a plugin and you can add more at runtime.

Jest

Jest is a delightful JavaScript Testing Framework with a focus on simplicity.

Why code testing? Let us start with a few questions:

  • How to measure the quality of code
  • How to ensure the quality of code
  • Are you free to refactor code
  • How to guarantee the correctness of refactored code
  • Have you confidence to release your untested code
  • If you are not sure, you probably need unit testing.

Prettier

Prettier is an opinionated code formatter with support for:

  • JavaScript (including experimental features)
  • JSX
  • Angular
  • Vue
  • TypeScript
  • CSS, Less, and SCSS
  • HTML
  • JSON
  • GraphQL
  • Markdown, including GFM and MDX
  • YAML Why to use Prettier in your project?
  • How to ensure the code style in a team?
  • Why Prettier?

Husky

Having a good feedback loop is extremely important for developers. A properly configured project has a CI/CD pipeline that ensures the code will not break anything in the application’s logic or codebase itself by running the necessary checks, such as static code analysis and tests. Husky can help you do this.

Commitlint

commitlint helps your team adhering to a commit convention. By supporting npm-installed configurations it makes sharing of commit conventions easy.

Why Use Conventional Commits?

  • Automatically generating CHANGELOGs.
  • Automatically determining a semantic version bump (based on the types of commits landed).
  • Communicating the nature of changes to teammates, the public, and other stakeholders.
  • Triggering build and publish processes.
  • Making it easier for people to contribute to your projects, by allowing them to explore a more structured commit history.

Ts-node

ts-node is a TypeScript execution engine and REPL for Node.js.

It JIT transforms TypeScript into JavaScript, enabling you to directly execute TypeScript on Node.js without precompiling. This is accomplished by hooking node's module loading APIs, enabling it to be used seamlessly alongside other Node.js tools and libraries.

  • Automatic sourcemaps in stack traces
  • Automatic tsconfig.json parsing
  • Automatic defaults to match your node version
  • Typechecking (optional)
  • REPL
  • Write standalone scripts
  • Native ESM loader
  • Use third-party transpilers
  • Use custom transformers
  • Integrate with test runners, debuggers, and CLI tools
  • Compatible with pre-compilation for production

Vscode

We recommend install extensions

Docker

What can I use Docker for?

  • Fast, consistent delivery of your applications
  • Responsive deployment and scaling
  • Running more workloads on the same hardware

ts-node-dev

ts-node-dev Compiles your TS app and restarts when files are modified.

CD/CI

GitHub Actions makes it easy to automate all your software workflows, now with world-class CI/CD. Build, test, and deploy your code right from GitHub. Make code reviews, branch management, and issue triaging work the way you want.

About

This is a server that helps users of IERC5564 can check as if a stealth-address is belong to them or not

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published