Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@iconfoundation/btp2-solidity-library
Advanced tools
It includes shared codes between BTP2 Solidity Contracts.
In the contract of the local repository, it refers this module directly.
For yarn
package system, use the following command if it's located in
the root of the repository.
yarn add file:../library
Use proper relative path for it in other locations.
In the contract of other repositories, use absolute name to refer it.
yarn add @iconfoundation/btp2-solidity-library
It uses yarn
for package management. Use the following command to install
related packages.
yarn install
To compile codes, run the following command.
npx hardhat compile
Add unit test cases in "test" directory To run the test, run the following command.
npx hardhat test
To run specific test case in the file, then append the path of the file.
Here is the example to run test cases in ./test/RLPCodec.ts
npx hardhat test ./test/RLPCodec.ts
When you modify this library, you may need to apply this directly to the other contracts. To do that. Use following
Run following command in the root of this module.
yarn link
Then run following command in the root of other repository
yarn link @iconfoundation/btp2-solidity-library
FAQs
BTP2 Library for solidity
We found that @iconfoundation/btp2-solidity-library demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.