m2m-sentinel-sdk 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# m2m-sentinel-sdk
|
|
2
|
+
|
|
3
|
+
> Official Client SDK for M2M Sentinel: Autonomous Machine-to-Machine Web3 Security & AI Intelligence Engine.
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/m2m-sentinel-sdk)
|
|
6
|
+
[](https://opensource.org/licenses/MIT)
|
|
7
|
+
|
|
8
|
+
## Installation
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npm install m2m-sentinel-sdk
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Quickstart
|
|
15
|
+
|
|
16
|
+
```javascript
|
|
17
|
+
const { M2MSentinelClient } = require('m2m-sentinel-sdk');
|
|
18
|
+
|
|
19
|
+
const client = new M2MSentinelClient();
|
|
20
|
+
|
|
21
|
+
async function run() {
|
|
22
|
+
// Audit a Smart Contract
|
|
23
|
+
const audit = await client.auditContract('0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913');
|
|
24
|
+
console.log('Contract Risk Audit:', audit);
|
|
25
|
+
|
|
26
|
+
// Fetch Real-Time Whale Transfer Alerts
|
|
27
|
+
const whales = await client.getWhaleSignals();
|
|
28
|
+
console.log('Whale Signals:', whales);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
run();
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## Features
|
|
35
|
+
- **Smart Contract Risk Auditor** (`/v1/audit/:address`)
|
|
36
|
+
- **Real-Time Whale Signals** (`/v1/whales/signals`)
|
|
37
|
+
- **DEX Liquidity Depth & Spreads** (`/v1/dex/metrics`)
|
|
38
|
+
- **AI Web Search Intelligence** (`/v1/search`)
|
|
39
|
+
|
|
40
|
+
## Documentation & Portals
|
|
41
|
+
- **Live Portal**: [https://m2msentinel.vercel.app](https://m2msentinel.vercel.app)
|
|
42
|
+
- **API Docs**: [https://m2msentinel.vercel.app/docs.html](https://m2msentinel.vercel.app/docs.html)
|
|
43
|
+
- **OpenAPI Spec**: [https://m2msentinel.vercel.app/openapi.json](https://m2msentinel.vercel.app/openapi.json)
|
package/package.json
CHANGED
|
@@ -1,23 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "m2m-sentinel-sdk",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Official
|
|
3
|
+
"version": "1.0.2",
|
|
4
|
+
"description": "Official Client SDK for M2M Sentinel Web3 Security Risk Auditor & AI Intelligence Engine",
|
|
5
5
|
"main": "index.js",
|
|
6
|
-
"bin": {
|
|
7
|
-
"m2m-cli": "./cli/m2m_cli.js"
|
|
8
|
-
},
|
|
9
6
|
"scripts": {
|
|
10
|
-
"test": "
|
|
7
|
+
"test": "node index.js"
|
|
11
8
|
},
|
|
12
9
|
"keywords": [
|
|
10
|
+
"web3",
|
|
11
|
+
"ai-agent",
|
|
12
|
+
"smart-contract-audit",
|
|
13
|
+
"crypto-api",
|
|
13
14
|
"m2m",
|
|
14
|
-
"sentinel"
|
|
15
|
-
"api",
|
|
16
|
-
"sdk"
|
|
15
|
+
"sentinel"
|
|
17
16
|
],
|
|
18
17
|
"author": "M2M Sentinel",
|
|
19
|
-
"license": "MIT"
|
|
20
|
-
"dependencies": {
|
|
21
|
-
"axios": "^1.6.0"
|
|
22
|
-
}
|
|
18
|
+
"license": "MIT"
|
|
23
19
|
}
|
|
Binary file
|
|
Binary file
|
|
@@ -1,9 +1,35 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
|
-
Name:
|
|
3
|
-
Version: 0.1.
|
|
4
|
-
Summary: M2M Sentinel
|
|
2
|
+
Name: m2m-sentinel
|
|
3
|
+
Version: 0.1.1
|
|
4
|
+
Summary: Official Python Client SDK for M2M Sentinel Web3 Security & AI Intelligence Engine
|
|
5
|
+
Home-page: https://m2msentinel.vercel.app
|
|
5
6
|
Author: M2M Sentinel
|
|
6
|
-
|
|
7
|
+
Classifier: Programming Language :: Python :: 3
|
|
8
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
9
|
+
Classifier: Operating System :: OS Independent
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
7
11
|
Dynamic: author
|
|
8
|
-
Dynamic:
|
|
12
|
+
Dynamic: classifier
|
|
13
|
+
Dynamic: description
|
|
14
|
+
Dynamic: description-content-type
|
|
15
|
+
Dynamic: home-page
|
|
9
16
|
Dynamic: summary
|
|
17
|
+
|
|
18
|
+
# M2M Sentinel Python SDK
|
|
19
|
+
|
|
20
|
+
Autonomous Machine-to-Machine Smart Contract Security Risk Auditor & Web3 AI Intelligence Engine.
|
|
21
|
+
|
|
22
|
+
## Features
|
|
23
|
+
- **Smart Contract Bytecode Risk Auditor** (`audit_contract`)
|
|
24
|
+
- **Real-Time Whale Move Alerts** (`get_whale_signals`)
|
|
25
|
+
- **Cross-DEX Liquidity & Orderbook Metrics** (`get_dex_metrics`)
|
|
26
|
+
- **AI Web Intelligence Search Extractor** (`search`)
|
|
27
|
+
|
|
28
|
+
## Quickstart
|
|
29
|
+
```python
|
|
30
|
+
from m2m_sentinel.client import M2MSentinelClient
|
|
31
|
+
|
|
32
|
+
client = M2MSentinelClient()
|
|
33
|
+
report = client.audit_contract("0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913")
|
|
34
|
+
print(report)
|
|
35
|
+
```
|
package/python/setup.py
CHANGED
|
@@ -1,10 +1,35 @@
|
|
|
1
1
|
from setuptools import setup, find_packages
|
|
2
2
|
|
|
3
3
|
setup(
|
|
4
|
-
name="
|
|
5
|
-
version="0.1.
|
|
4
|
+
name="m2m-sentinel",
|
|
5
|
+
version="0.1.1",
|
|
6
6
|
packages=find_packages(),
|
|
7
|
-
description="M2M Sentinel
|
|
7
|
+
description="Official Python Client SDK for M2M Sentinel Web3 Security & AI Intelligence Engine",
|
|
8
|
+
long_description="""# M2M Sentinel Python SDK
|
|
9
|
+
|
|
10
|
+
Autonomous Machine-to-Machine Smart Contract Security Risk Auditor & Web3 AI Intelligence Engine.
|
|
11
|
+
|
|
12
|
+
## Features
|
|
13
|
+
- **Smart Contract Bytecode Risk Auditor** (`audit_contract`)
|
|
14
|
+
- **Real-Time Whale Move Alerts** (`get_whale_signals`)
|
|
15
|
+
- **Cross-DEX Liquidity & Orderbook Metrics** (`get_dex_metrics`)
|
|
16
|
+
- **AI Web Intelligence Search Extractor** (`search`)
|
|
17
|
+
|
|
18
|
+
## Quickstart
|
|
19
|
+
```python
|
|
20
|
+
from m2m_sentinel.client import M2MSentinelClient
|
|
21
|
+
|
|
22
|
+
client = M2MSentinelClient()
|
|
23
|
+
report = client.audit_contract("0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913")
|
|
24
|
+
print(report)
|
|
25
|
+
```
|
|
26
|
+
""",
|
|
27
|
+
long_description_content_type="text/markdown",
|
|
8
28
|
author="M2M Sentinel",
|
|
9
|
-
|
|
29
|
+
url="https://m2msentinel.vercel.app",
|
|
30
|
+
classifiers=[
|
|
31
|
+
"Programming Language :: Python :: 3",
|
|
32
|
+
"License :: OSI Approved :: MIT License",
|
|
33
|
+
"Operating System :: OS Independent",
|
|
34
|
+
],
|
|
10
35
|
)
|