@pythnetwork/entropy-sdk-solidity
Advanced tools
Comparing version 1.0.0 to 1.1.0
{ | ||
"name": "@pythnetwork/entropy-sdk-solidity", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Generate secure random numbers with Pyth Entropy", | ||
@@ -14,3 +14,5 @@ "repository": { | ||
"scripts": { | ||
"format": "npx prettier --write ." | ||
"format": "npx prettier --write .", | ||
"generate-abi": "node scripts/generateAbi.js", | ||
"check-abi": "git diff --exit-code abis" | ||
}, | ||
@@ -33,3 +35,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "1be8a02b94d2a09e5284da72e57eb0eb3943d3ae" | ||
"gitHead": "7cf742020307445174ec910904912881da97a0cc" | ||
} |
@@ -19,15 +19,6 @@ # Pyth Entropy Solidity SDK | ||
To use the SDK, you need the address of an Entropy contract on your blockchain and a randomness provider. | ||
The following table lists the current deployments of entropy. | ||
You can find current deployments on this [page](https://docs.pyth.network/documentation/entropy/evm). | ||
``` | ||
| Chain | Entropy Address | Provider | | ||
|-----------------|--------------------------------------------|--------------------------------------------| | ||
| avalanche-fuji | 0xD42c7a708E74AD19401D907a14146F006c851Ee3 | 0x6CC14824Ea2918f5De5C2f75A9Da968ad4BD6344 | | ||
| optimism-goerli | 0x28F16Af4D87523910b843a801454AEde5F9B0459 | 0x6CC14824Ea2918f5De5C2f75A9Da968ad4BD6344 | | ||
| eos-evm-testnet | 0xD42c7a708E74AD19401D907a14146F006c851Ee3 | 0x6CC14824Ea2918f5De5C2f75A9Da968ad4BD6344 | | ||
| arbitrum-goerli | 0xd9eAcfFB8e80b7193042499485EF8369b08E85B6 | 0x6CC14824Ea2918f5De5C2f75A9Da968ad4BD6344 | | ||
``` | ||
Choose one of the networks and instantiate an `IEntropy` contract in your solidity contract: | ||
Choose one of these networks and instantiate an `IEntropy` contract in your solidity contract: | ||
```solidity | ||
@@ -34,0 +25,0 @@ IEntropy entropy = IEntropy(<address>); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
30847
12
814
87
1