Commit Graph

29 Commits

Author SHA1 Message Date
Denis Angell
5b0989df51 feature NetworkID (#2216)
Added network id to the base transaction
Added network id to the server_info response
Added network id to the binary codec
Added network id to client and modify on client.connect()
Added network id to autofill when rippled_version is 1.11.0 or later or network is hooks testnet

Co-authored-by: Phu Pham <ppham@ripple.com>
Co-authored-by: pdp2121 <71317875+pdp2121@users.noreply.github.com>
Co-authored-by: Jackson Mills <aim4math@gmail.com>
Co-authored-by: Mayukha Vadari <mvadari@gmail.com>
2023-06-14 15:15:18 -04:00
Mayukha Vadari
d7c3583a8f refactor: use xrpl-codec-gen for definitions.json (#2037)
* Update definitions.json

* update CONTRIBUTING

* fix tests

* fix UNL
2022-07-19 21:01:19 +01:00
Omar Khan
9d94f4a8ab rename XLS-20 fields (#1966)
* rename TokenTaxon -> NFTokenTaxon

* rename MintedTokens -> MintedNFTokens

* rename BurnedTokens -> BurnedNFTokens

* update binary for NFTokenID rename

* rename TokenID -> NFTokenID

* rename TokenOffers -> NFTokenOffers

* rename BrokerFee -> NFTokenBrokerFee

* rename Minter -> NFTokenMinter

* rename NonFungibleToken -> NFToken

* rename NonFungibleTokens -> NFTokens

* rename BuyOffer -> NFTokenBuyOffer

* rename SellOffer -> NFTokenSellOffer

* rename OfferNode -> NFTokenOfferNode

* fix binary for serialize tests

* Add missing MintedNFTokens def + fix tests

* nftokenid -> nft_id

* asfAuthorizedMinter -> asfAuthorizedNFTokenMinter

* Update tec/tem error codes

* Add new definitions

* Update HISTORY.md

* Change to 1.4.0 for binary-codec

* Docgen

* Update HISTORY.md

Co-authored-by: Jackson Mills <jmills@ripple.com>
2022-04-19 10:02:18 -07:00
ledhed2222
46a8adcac9 feat: NFT support (#1829)
* add NFTokenBurn and NFTokenMint

* add NFTokenCreateOffer

* add NFTokenCancelOffer

* add NFTokenAcceptOffer

* add requests and responses

* make a beta 2.1.0

* rename TokenIDs to TokenOffers

* add validations and fixup docs

* add tests

* add missing error codes to binary codec

* adds history changes
2021-12-17 18:26:47 -05:00
ledhed2222
7cb38591ac add support for nfts in binary codec (#1797) 2021-11-15 17:08:37 -05:00
Nathan Nichols
7e7f47cc20 fix: change sfValidatorToReEnable to field code 21 (#130) 2021-06-08 16:41:01 -07:00
elmurci
b023e9b35b fix(tickets): Field codes for TicketCount and TicketSequence (#111)
* fix(tickets): Field codes for TicketCount and TicketSequence
BeginLedgerSeq was taking the place of TicketCount (40) in definitions.
From a8d481c2a5/src/ripple/protocol/impl/SField.cpp
TicketCount should be 40 and TicketSequence 41.
BeginLedgerSeq doesn't seem to be used, so removing it

* fix(ci): fix tests ci
2020-11-23 21:51:03 +01:00
elmurci
479ade8a76 Tickets support (#110)
* feat(tickets): add TicketCount definition

* feat(tickets): add TicketSequence definition

* fix(tests): unit tests
2020-11-17 17:33:20 +01:00
Nathan Nichols
30ff63e653 Support encoding and decoding of NegativeUNL pseudo-transactions (#89)
* Support encoding and decoding of NegativeUNL pseudo-transactions
2020-08-13 12:20:12 -05:00
Nathan Nichols
485ec4e924 Refactored ./src/serdes (#79)
Refactored `serdes` to use TypeScript Classes and documented functionality.
2020-07-06 16:16:32 -05:00
Nathan Nichols
cd0eb2b623 Refactor ./src/enums (#73)
* rewrote enums in TS
* changed folder name to src/definitions
2020-06-30 14:29:29 -07:00
Elliot Lee
e1ec2f79e5 Support AccountDelete (#37)
- Fix https://github.com/ripple/ripple-binary-codec/issues/36
- Re-number transaction result codes
- Link reference for transaction types
2019-12-14 22:34:14 -08:00
John Freeman
b580450c20 Add tecKILLED from amendment fix1578 2019-03-23 11:04:44 -05:00
Matthew Fettig
e99031d6af add DepositPreauth fields 2018-09-28 14:45:22 -05:00
Elliot Lee
75a117701c Add ConsensusHash and CheckID 2018-02-16 17:34:33 -08:00
Elliot Lee
5672594ab5 Add tecINVARIANT_FAILED and tecEXPIRED
Changed ordering of tec* results to match rippled's TER.h:
eaff9a0e6a/src/ripple/protocol/TER.h (L185-L218)
2018-02-16 16:16:46 -08:00
Elliot Lee
a963d862e9 Add Check, CheckCreate, CheckCash, CheckCancel
LEDGER_ENTRY_TYPES from:
eaff9a0e6a/src/ripple/protocol/LedgerFormats.h (L36)

TRANSACTION_TYPES from:
eaff9a0e6a/src/ripple/protocol/TxFormats.h (L33)
2018-02-15 10:54:59 -08:00
Matthew Fettig
eb7301b4f6 add DestinationNode definition 2017-11-16 22:10:25 -08:00
wilsonianb
fd4e2f69e3 Add tecCRYPTOCONDITION_ERROR and MasterSignature
Fixes #17
2017-03-28 13:53:55 -07:00
Matthew Fettig
4359446101 add TickSize support 2017-03-22 12:15:19 -07:00
wilsonianb
9ddb6498b0 Add escrow support 2017-03-20 15:30:48 -07:00
Ben Sharafian
6604c717b7 fix: Signature is a non-signing field 2017-02-28 18:29:13 +01:00
Ben Sharafian
5cf4301fd0 Add support for PaymentChannel transactions 2017-02-17 16:29:17 +01:00
Matthew Fettig
f9ee5aa029 add support for SignerListID and bump version to 0.1.4 2016-09-22 12:35:40 -07:00
Nicholas Dudfield
bfd022786c Update enum definitions and dependencies * Remove redundant bytes from field definitions * Remove "date-generated" given hand editing * Remove ripple-lib test dependency * Fix linting errors introduced by updated eslint/eslintrc * Ensure STObject.toJSON returns a plain object 2016-05-09 18:46:51 +07:00
Chris Clark
0d1ae3bfc6 Add support for DeliverMin 2015-12-10 13:41:34 -08:00
Ivan Tivonenko
4a8313ed1c Add fields that was added with Suspended payment feature 3f0eacf5e7 2015-11-17 04:01:09 +02:00
Ivan Tivonenko
fd75b18582 Add SuspendedPayment feature make it same as in rippled 3f0eacf5e7 2015-11-13 01:19:41 +02:00
Chris Clark
2877d1a280 Merge coretypes repo 2015-10-07 10:57:21 -07:00