Namespace: constants
Utils
Enumerations​
Variables​
IS_BROWSER​
• Const
IS_BROWSER: boolean
Defined in​
HEX_STR_TRANSACTION_VERSION_1​
• Const
HEX_STR_TRANSACTION_VERSION_1: "0x1"
Defined in​
HEX_STR_TRANSACTION_VERSION_2​
• Const
HEX_STR_TRANSACTION_VERSION_2: "0x2"
Defined in​
ZERO​
• Const
ZERO: 0n
Defined in​
MASK_250​
• Const
MASK_250: bigint
Defined in​
MASK_251​
• Const
MASK_251: bigint
Defined in​
API_VERSION​
• Const
API_VERSION: 0n
Defined in​
UDC​
• Const
UDC: Object
Type declaration​
Name | Type |
---|---|
ADDRESS | string |
ENTRYPOINT | string |
Defined in​
FIELD_PRIME​
• Const
FIELD_PRIME: "800000000000011000000000000000000000000000000000000000000000001"
The following is taken from https://github.com/starkware-libs/starkex-resources/blob/master/crypto/starkware/crypto/signature/pedersen_params.json but converted to hex, because JS is very bad handling big integers by default Please do not edit until the JSON changes.
Defined in​
FIELD_GEN​
• Const
FIELD_GEN: "3"
Defined in​
FIELD_SIZE​
• Const
FIELD_SIZE: 251
Defined in​
EC_ORDER​
• Const
EC_ORDER: "800000000000010FFFFFFFFFFFFFFFFB781126DCAE7B2321E66A241ADC64D2F"
Defined in​
ALPHA​
• Const
ALPHA: "1"
Defined in​
BETA​
• Const
BETA: "6F21413EFBE40DE150E596D72F7A8C5609AD26C15C915C1F4CDFCB99CEE9E89"
Defined in​
MAX_ECDSA_VAL​
• Const
MAX_ECDSA_VAL: "800000000000000000000000000000000000000000000000000000000000000"
Defined in​
CONSTANT_POINTS​
• Const
CONSTANT_POINTS: string
[][]