acp-plugin-gamesdk 0.1.24__py3-none-any.whl → 0.1.26__py3-none-any.whl
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.
- acp_plugin_gamesdk/acp_plugin.py +194 -202
- acp_plugin_gamesdk/env.py +35 -0
- acp_plugin_gamesdk/interface.py +73 -112
- {acp_plugin_gamesdk-0.1.24.dist-info → acp_plugin_gamesdk-0.1.26.dist-info}/METADATA +4 -14
- acp_plugin_gamesdk-0.1.26.dist-info/RECORD +6 -0
- acp_plugin_gamesdk/acp_client.py +0 -307
- acp_plugin_gamesdk/acp_token.py +0 -352
- acp_plugin_gamesdk/acp_token_abi.py +0 -678
- acp_plugin_gamesdk/configs.py +0 -44
- acp_plugin_gamesdk-0.1.24.dist-info/RECORD +0 -9
- {acp_plugin_gamesdk-0.1.24.dist-info → acp_plugin_gamesdk-0.1.26.dist-info}/WHEEL +0 -0
acp_plugin_gamesdk/configs.py
DELETED
@@ -1,44 +0,0 @@
|
|
1
|
-
from dataclasses import dataclass
|
2
|
-
from typing import Literal
|
3
|
-
|
4
|
-
ChainEnv = Literal["base-sepolia", "base"]
|
5
|
-
|
6
|
-
|
7
|
-
@dataclass
|
8
|
-
class ACPContractConfig:
|
9
|
-
chain_env: ChainEnv
|
10
|
-
rpc_url: str
|
11
|
-
chain_id: int
|
12
|
-
contract_address: str
|
13
|
-
virtuals_token_address: str
|
14
|
-
acp_api_url: str
|
15
|
-
game_api_url: str
|
16
|
-
|
17
|
-
|
18
|
-
# Configuration for Base Sepolia
|
19
|
-
BASE_SEPOLIA_CONFIG = ACPContractConfig(
|
20
|
-
chain_env="base-sepolia",
|
21
|
-
rpc_url="https://sepolia.base.org",
|
22
|
-
chain_id=84532,
|
23
|
-
contract_address="0x2422c1c43451Eb69Ff49dfD39c4Dc8C5230fA1e6",
|
24
|
-
virtuals_token_address="0xbfAB80ccc15DF6fb7185f9498d6039317331846a",
|
25
|
-
acp_api_url="https://acpx-staging.virtuals.io/api",
|
26
|
-
game_api_url="https://sdk-dev.game.virtuals.io"
|
27
|
-
)
|
28
|
-
|
29
|
-
# Configuration for Base Mainnet
|
30
|
-
BASE_MAINNET_CONFIG = ACPContractConfig(
|
31
|
-
chain_env="base",
|
32
|
-
rpc_url="https://mainnet.base.org",
|
33
|
-
chain_id=8453,
|
34
|
-
contract_address="0x6a1FE26D54ab0d3E1e3168f2e0c0cDa5cC0A0A4A",
|
35
|
-
virtuals_token_address="0x0b3e328455c4059EEb9e3f84b5543F74E24e7E1b",
|
36
|
-
acp_api_url="https://acpx.virtuals.io/api", # PROD
|
37
|
-
game_api_url="https://sdk.game.virtuals.io"
|
38
|
-
)
|
39
|
-
|
40
|
-
# Define the default configuration for the SDK
|
41
|
-
# For a production-ready SDK, this would typically be BASE_MAINNET_CONFIG.
|
42
|
-
# For initial development/testing, BASE_SEPOLIA_CONFIG might be more appropriate.
|
43
|
-
DEFAULT_CONFIG = BASE_MAINNET_CONFIG
|
44
|
-
# Or: DEFAULT_CONFIG = BASE_SEPOLIA_CONFIG
|
@@ -1,9 +0,0 @@
|
|
1
|
-
acp_plugin_gamesdk/acp_client.py,sha256=DltsE3-vXSNnGu96Mj5sfpCqFm4oHG96O9MNtMnq8RI,10095
|
2
|
-
acp_plugin_gamesdk/acp_plugin.py,sha256=vc357rzmkZyBaKWQdCDUWfBaHfbYHh5bnKckx32gQXA,26911
|
3
|
-
acp_plugin_gamesdk/acp_token.py,sha256=zjW-W7_4JO31K8eLBBw5dn5tb4FrCSag6qGYQi7xkaA,11804
|
4
|
-
acp_plugin_gamesdk/acp_token_abi.py,sha256=nllh9xOuDXxFFdhLklTTdtZxWZd2LcUTBoOP2d9xDTA,22319
|
5
|
-
acp_plugin_gamesdk/configs.py,sha256=4rLOOMbRPqf2RM-Lz5Az7mbUI_a5kgmySZlBiMkB3Mo,1406
|
6
|
-
acp_plugin_gamesdk/interface.py,sha256=kCWr4ydEIRnmTZsBHEeUSZgPtRUYH8YjEZ81ppIhIGI,4417
|
7
|
-
acp_plugin_gamesdk-0.1.24.dist-info/METADATA,sha256=85DM-k9GLMwhLq8-Qm1eJcCcUQ9Fo_62JsI_SwJ1Ow4,12791
|
8
|
-
acp_plugin_gamesdk-0.1.24.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
9
|
-
acp_plugin_gamesdk-0.1.24.dist-info/RECORD,,
|
File without changes
|