Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
iotex-antenna
Advanced tools
iotex-antenna is our SDK allowing you to interact with a local or remote iotex blockchain node, using a gRPC or gRPC-web connection.
Features | antenna | antenna-java | antenna-go | antenna-swift |
---|---|---|---|---|
crypto | Yes | Yes | Yes | Yes |
rpc-method | Yes | Yes | Yes | Yes |
account | Yes | Yes | Yes | Yes |
action | Yes | Yes | Yes | Yes |
contract | Yes | Yes | Yes | Yes |
token support | Yes | Yes | No | Yes |
nvm use 10.15.1
npm install
# test
# prepare flow type definitions
npm run flow-install
# run all tests
npm run test
# run a single test file
npm run ava ./path/to/test-file.js
To run a single test case, follow instructions here.
npm run build
: build source code from src
to dist
npm publish
: publish code to npmnpm run changelog-patch
bump version patch (bug fixes)npm run changelog-minor
bump version minor (new features)npm run changelog-major
bump version major (breaking change)npm install grpc
npm install grpc-web
npm install protoc
npm i grpc-web
(original link: https://github.com/grpc/grpc-web/tree/master/packages/grpc-web) Download protoc and the protoc-gen-grpc-web protoc plugin. You can download the protoc binary from the official protocolbuffers release page.
You can download the protoc-gen-grpc-web protoc plugin from our Github release page.
Make sure they are both executable and are discoverable from your PATH.
For example, in MacOS, you can do:
$ sudo mv ~/Downloads/protoc-gen-grpc-web-1.0.3-darwin-x86_64 \
/usr/local/bin/protoc-gen-grpc-web
$ chmod +x /usr/local/bin/protoc-gen-grpc-web
copy proto files from iotex-core master branch to /iotex-antenna/proto/
Run
npm run build-proto
FAQs
IoTeX blockchain SDK
The npm package iotex-antenna receives a total of 14 weekly downloads. As such, iotex-antenna popularity was classified as not popular.
We found that iotex-antenna demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.