Skip to main content
Module

x/capi/deps/ed25519.ts>ExtendedPoint

[WIP] A framework for crafting interactions with Substrate chains
Latest
class ExtendedPoint
import { ExtendedPoint } from "https://deno.land/x/capi@v0.1.1-beta.1/deps/ed25519.ts";

Constructors

new
ExtendedPoint(
ex: bigint,
ey: bigint,
ez: bigint,
et: bigint,
)

Properties

readonly
et: bigint
readonly
ex: bigint
readonly
ey: bigint
readonly
ez: bigint
readonly
x: bigint
readonly
y: bigint

Methods

add(other: Point): Point
clearCofactor(): Point
double(): Point
equals(other: Point): boolean
is0(): boolean
isSmallOrder(): boolean
isTorsionFree(): boolean
mul(n: bigint, safe?: boolean): Point
multiply(scalar: bigint): Point
negate(): Point
toAffine(): AffinePoint
toHex(): string
toRawBytes(): Bytes

Static Properties

readonly
BASE: Point
readonly
ZERO: Point

Static Methods

fromAffine(p: AffinePoint): Point
fromHex(hex: Hex, strict?: boolean): Point