Default to use DEX v3. (#72)

* Default to use DEX v3.
This commit is contained in:
Leonard G 2021-04-21 00:28:30 +08:00 committed by GitHub
parent 19ae0c5a42
commit 9a0752be59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -10,8 +10,8 @@ from spl.token.constants import TOKEN_PROGRAM_ID # type: ignore # TODO: Fix and
from ._layouts.instructions import INSTRUCTIONS_LAYOUT, InstructionType
from .enums import OrderType, SelfTradeBehavior, Side
# V2
DEFAULT_DEX_PROGRAM_ID = PublicKey("EUqojwWA2rd19FZrzeBncJsm38Jm1hEhE3zsmX3bRc2o")
# V3
DEFAULT_DEX_PROGRAM_ID = PublicKey("9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin")
class InitializeMarketParams(NamedTuple):

View File

@ -4,7 +4,7 @@ from setuptools import find_packages, setup
setup(
name="pyserum",
version="0.3.1a1",
version="0.3.1a2",
author="serum-community",
description="""Python client library for interacting with the Project Serum DEX.""",
include_package_data=True,