human-protocol / poh-validator-hcaptcha-api Goto Github PK
View Code? Open in Web Editor NEWProof-of-Humanity hCaptcha Validator API
License: MIT License
Proof-of-Humanity hCaptcha Validator API
License: MIT License
$ npm run docker-build
> [email protected] docker-build
> docker build -t bakoushin/poh-validator-hcaptcha .
Sending build context to Docker daemon 370.7kB
Step 1/6 : FROM node:16-alpine
---> b0cbdedc1b9d
Step 2/6 : ENV NPM_CONFIG_LOGLEVEL=warn
---> Using cache
---> d9291db87154
Step 3/6 : WORKDIR /usr/src/app
---> Using cache
---> 5b0020e02af7
Step 4/6 : COPY . .
---> Using cache
---> 3d9502ee38f4
Step 5/6 : RUN npm install --only=production
---> Using cache
---> c7f45f0d2f7c
Step 6/6 : CMD npm run docker
---> Using cache
---> 184e3a60d3a2
Successfully built 184e3a60d3a2
Successfully tagged bakoushin/poh-validator-hcaptcha:latest
$ docker run --rm bakoushin/poh-validator-hcaptcha
> [email protected] docker
> NODE_ENV=production node index.js
/usr/src/app/node_modules/@ethersproject/bytes/lib/index.js:9
return !!(value.toHexString);
^
TypeError: Cannot read properties of undefined (reading 'toHexString')
at isHexable (/usr/src/app/node_modules/@ethersproject/bytes/lib/index.js:9:21)
at hexlify (/usr/src/app/node_modules/@ethersproject/bytes/lib/index.js:175:9)
at new SigningKey (/usr/src/app/node_modules/@ethersproject/signing-key/lib/index.js:20:82)
at new Wallet (/usr/src/app/node_modules/@ethersproject/wallet/lib/index.js:123:36)
at file:///usr/src/app/api.js:6:16
at ModuleJob.run (node:internal/modules/esm/module_job:198:25)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:385:24)
at async loadESM (node:internal/process/esm_loader:88:5)
at async handleMainPromise (node:internal/modules/run_main:61:12)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.