feat(sdk-coin-vet): add sdk skeleton for vet #6139
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces support for the VeChain (
vet
) and Testnet VeChain (tvet
) coins in the BitGo SDK. It includes updates to the codebase to register these coins, as well as the addition of a new module,sdk-coin-vet
, which contains the implementation for these coins.VeChain (
vet
) Integration:Codebase Updates:
sdk-coin-vet
to theCODEOWNERS
file, assigning ownership to the@BitGo/ethalt-team
.sdk-coin-vet
in the build process and dependency linking. [1] [2] [3]Package Updates:
@bitgo/sdk-coin-vet
to themodules/bitgo/package.json
file.sdk-coin-vet
in thetsconfig.json
file for proper TypeScript support.Coin Registration:
vet
andtvet
in thecoinFactory.ts
file for proper initialization. [1] [2] [3]index.ts
to exportVet
andTvet
classes. [1] [2]New Module:
sdk-coin-vet
Configuration and Metadata:
.eslintignore
,.gitignore
,.mocharc.yml
,.npmignore
,.prettierignore
, and.prettierrc.yml
for linting, formatting, and testing. [1] [2] [3] [4] [5] [6]README.md
file documenting the purpose, installation, and development guidelines forsdk-coin-vet
.package.json
file defining the package's metadata, dependencies, and scripts.Core Implementation:
index.ts
to export core modules (lib
,vet
,tvet
,register
).DEFAULT_GAS_UNIT_PRICE
inconstants.ts
.Utils
class with placeholder methods for validation inutils.ts
.register.ts
file to handle coin registration.Tvet
class extendingVet
with testnet-specific properties.This pull request ensures the VeChain coins are fully integrated into the BitGo SDK, following the modular architecture and maintaining consistency with existing coin implementations.Ticket: COIN-3934