Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pythnetwork/entropy-sdk-solidity

Package Overview
Dependencies
Maintainers
4
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pythnetwork/entropy-sdk-solidity - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

abis/EntropyErrors.json

8

package.json
{
"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>);

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc