Détail du package

@bitgo/sdk-coin-apt

BitGo6.4kMIT2.4.4

BitGo SDK coin library for APT (Aptos) coin

readme

BitGo sdk-coin-apt

SDK coins provide a modular approach to a monolithic architecture. This and all BitGoJS SDK coins allow developers to use only the coins needed for a given project.

Installation

All coins are loaded traditionally through the bitgo package. If you are using coins individually, you will be accessing the coin via the @bitgo/sdk-api package.

In your project install both @bitgo/sdk-api and @bitgo/sdk-coin-apt.

npm i @bitgo/sdk-api @bitgo/sdk-coin-apt

Next, you will be able to initialize an instance of "bitgo" through @bitgo/sdk-api instead of bitgo.

import { BitGoAPI } from '@bitgo/sdk-api';
import { Apt } from '@bitgo/sdk-coin-apt';

const sdk = new BitGoAPI();

sdk.register('apt', Apt.createInstance);

Development

Most of the coin implementations are derived from @bitgo/sdk-core, @bitgo/statics, and coin specific packages. These implementations are used to interact with the BitGo API and BitGo platform services.

You will notice that the basic version of common class extensions have been provided to you and must be resolved before the package build will succeed. Upon initiation of a given SDK coin, you will need to verify that your coin has been included in the root tsconfig.packages.json and that the linting, formatting, and testing succeeds when run both within the coin and from the root of BitGoJS.

changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

2.4.4 (2025-06-25)

Note: Version bump only for package @bitgo/sdk-coin-apt

2.4.3 (2025-06-24)

Note: Version bump only for package @bitgo/sdk-coin-apt

2.4.2 (2025-06-18)

Note: Version bump only for package @bitgo/sdk-coin-apt

2.4.1 (2025-06-10)

Note: Version bump only for package @bitgo/sdk-coin-apt

2.4.0 (2025-06-05)

Features

2.3.0 (2025-06-02)

Features

  • rename audit function naming and signature (1a885ab)

2.2.2 (2025-05-28)

Note: Version bump only for package @bitgo/sdk-coin-apt

2.2.1 (2025-05-22)

Bug Fixes

  • remove empty space character at end of file names (51bd0f5)

2.2.0 (2025-05-20)

Features

  • add Apt NFT collection skeleton (6c55b23)

2.1.2 (2025-05-07)

Note: Version bump only for package @bitgo/sdk-coin-apt

2.1.1 (2025-04-29)

Note: Version bump only for package @bitgo/sdk-coin-apt

2.1.0 (2025-04-25)

Features

  • sdk-coin-apt: use entryFunctionAbi for all type of assets (b98a353)

2.0.3 (2025-04-15)

Bug Fixes

  • sdk-coin-apt: fungible fix verify transaction flow (2f4746f)
  • sdk-coin-apt: prevent build() step during rebuildTransaction() (2b887aa)

2.0.2 (2025-04-04)

Note: Version bump only for package @bitgo/sdk-coin-apt

2.0.1 (2025-04-02)

Note: Version bump only for package @bitgo/sdk-coin-apt

2.0.0 (2025-03-28)

Features

  • sdk-coin-apt: send many support fungible asset (66a935f)
  • sdk-coin-apt: send many: addition of recipients (11023bd)
  • sdk-coin-apt: sendMany multiple recipients native aptos (6efbd37)

BREAKING CHANGES

  • sdk-coin-apt: Replaced protected recipient field with recipients in Aptos transactions.

1.10.3 (2025-03-20)

Note: Version bump only for package @bitgo/sdk-coin-apt

1.10.2 (2025-03-18)

Bug Fixes

  • sdk-core: set default multisig if empty (e2727df)

1.10.1 (2025-03-06)

Note: Version bump only for package @bitgo/sdk-coin-apt

1.10.0 (2025-03-04)

Bug Fixes

  • sdk-coin-apt: correction 64 bit LE to two buffer of 32 bits (2165171)
  • sdk-coin-apt: fetch correction transaction (a8e9db2)
  • statics: mainnet apt token registration (88c5b19)
  • statics: modify gas tank factor (4c00d68)

Features

  • sdk-coin-apt: recommend min gas tank balance for next 1000 txns (74071ab)
  • statics: add GasTankAccountCoin (b031d23)

1.9.0 (2025-02-26)

Bug Fixes

  • sdk-coin-apt: correction 64 bit LE to two buffer of 32 bits (2165171)
  • sdk-coin-apt: fetch correction transaction (a8e9db2)

Features

  • sdk-coin-apt: recommend min gas tank balance for next 1000 txns (74071ab)
  • statics: add GasTankAccountCoin (b031d23)

1.8.0 (2025-02-20)

Bug Fixes

  • sdk-coin-apt: correction 64 bit LE to two buffer of 32 bits (2165171)
  • sdk-coin-apt: fetch correction transaction (a8e9db2)

Features

  • sdk-coin-apt: recommend min gas tank balance for next 1000 txns (74071ab)

1.7.2 (2025-02-19)

Note: Version bump only for package @bitgo/sdk-coin-apt

1.7.1 (2025-02-11)

Bug Fixes

  • sdk-coin-apt: generate txn hash (a70f5ac)
  • sdk-coin-apt: read 64 bit little endian amount (977310b)
  • sdk-coin-apt: stip hex prefix (2a1e789)
  • sdk-coin-apt: strip hex prefix from public key (f2c44f7)
  • sdk-coin-apt: use NoAccountAuthenticator for transaction simulation (7ff087c)

1.7.0 (2025-02-05)

Bug Fixes

  • sdk-coin-apt: exporting fungible and non fungible files (e426aeb)

Features

  • sdk-coin-apt: change fungibleAddress to assetId (3c1bd56)
  • sdk-coin-apt: changing names of classes (937b17c)
  • sdk-coin-apt: fungible asset transfer transaction (65cbd70)
  • sdk-coin-apt: legacy coin and aptos coin transfer changes (9db8d65)
  • sdk-coin-apt: non fungible asset transaction building (eb84c77)

1.6.0 (2025-01-28)

Bug Fixes

  • sdk-coin-apt: add getter for sender pubkey (92a23c6)
  • sdk-coin-apt: initialize fee payer address (358822a)

Features

  • sdk-coin-apt: add Apt Token Skeleton (596f5e5)
  • sdk-coin-apt: use transfer_coins method (0857aea)
  • statics: add apt usdt token (37224e8)

1.5.1 (2025-01-23)

Note: Version bump only for package @bitgo/sdk-coin-apt

1.5.0 (2025-01-23)

Bug Fixes

  • sdk-coin-apt: aptos-labs version to 1.33.1 (e991d8b)
  • sdk-coin-apt: make transaction getFee() method public (15433ba)

Features

  • sdk-coin-apt: added logic for fee payer signing (444b849)

1.4.1 (2025-01-20)

Note: Version bump only for package @bitgo/sdk-coin-apt

1.4.0 (2025-01-15)

Features

  • sdk-coin-apt: transaction builder for aptos (660e37a)

1.3.9 (2025-01-09)

Note: Version bump only for package @bitgo/sdk-coin-apt

1.3.8 (2025-01-03)

Note: Version bump only for package @bitgo/sdk-coin-apt

1.3.7 (2024-12-24)

Note: Version bump only for package @bitgo/sdk-coin-apt

1.3.6 (2024-12-19)

Note: Version bump only for package @bitgo/sdk-coin-apt

1.3.5 (2024-12-17)

Note: Version bump only for package @bitgo/sdk-coin-apt

1.3.4 (2024-12-17)

Note: Version bump only for package @bitgo/sdk-coin-apt

1.3.3 (2024-12-12)

Note: Version bump only for package @bitgo/sdk-coin-apt

1.3.2 (2024-12-11)

Note: Version bump only for package @bitgo/sdk-coin-apt

1.3.1 (2024-12-03)

Note: Version bump only for package @bitgo/sdk-coin-apt

1.3.0 (2024-11-26)

Features

  • sdk-coin-apt: add wallet and address support (7ac235e)

1.2.1 (2024-11-21)

Note: Version bump only for package @bitgo/sdk-coin-apt

1.2.0 (2024-11-19)

Features

  • sdk-coin-apt: new coin generation, apt skeleton (3405799)

1.1.0 (2024-11-14)

Features

  • sdk-coin-apt: new coin generation, apt skeleton (3405799)