Omar Khan
41e1350089
Merge branch 'amm' into beta3
2023-06-06 17:10:38 -04:00
Omar Khan
8c34754a1c
update codec-fixtures
2023-05-23 16:36:20 -04:00
Omar Khan
b842e61296
Merge branch 'amm' into beta3
2023-02-15 22:42:06 -05:00
Mayukha Vadari
4693c91ec4
fix errors
2023-02-15 13:28:50 -05:00
Mayukha Vadari
8c83a12933
add rbc tests for the new txs
2023-02-15 10:58:07 -05:00
Mayukha Vadari
764f8d7b5e
fix tests
2023-02-06 12:16:12 -05:00
Mayukha Vadari
d8930c5fb8
remove XChainAddAttestationBatch
2023-02-06 12:14:34 -05:00
Mayukha Vadari
81eb9668a0
fix tests
2023-02-02 17:16:46 -05:00
Mayukha Vadari
3268a29843
update Issue form
2023-01-09 12:13:56 -05:00
Mayukha Vadari
c26235f424
fix renames
2023-01-09 12:13:55 -05:00
Mayukha Vadari
aa3443a347
more updates
2023-01-09 12:13:55 -05:00
Mayukha Vadari
2065e6f040
update definitions.json to resolve amm conflicts
2023-01-09 12:13:55 -05:00
Mayukha Vadari
9fb741f6f5
update definitions.json to avoid conflict with amm
2023-01-09 12:13:55 -05:00
Mayukha Vadari
ecffb1375a
fix spacing
2023-01-09 12:13:55 -05:00
Mayukha Vadari
43bf4b9e14
more fixes
2023-01-09 12:13:55 -05:00
Mayukha Vadari
9de54dcea9
update to latest rippled
2023-01-09 12:13:55 -05:00
Mayukha Vadari
ad4c952fbf
update binary-codec
2023-01-09 12:13:55 -05:00
Mayukha Vadari
c29319aad8
update definitions.json for new rippled code, add new tests/update old tests
2023-01-09 12:13:54 -05:00
Mayukha Vadari
ac88bf3079
add codec support for XChainAddAttestation
2023-01-09 12:13:54 -05:00
Mayukha Vadari
6508d048bf
rename Bridge -> XChainBridge in binary codec, fix tests
2023-01-09 12:13:54 -05:00
Mayukha Vadari
0286b81745
add tests
2023-01-09 12:13:54 -05:00
Omar Khan
0970753790
add AMM codec-fixtures
2022-11-17 13:14:25 -05: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
Mayukha Vadari
fc101c6733
fix: add workaround for rippled UNLModify encoding bug ( #1830 )
...
* initial patch
* clean up
* make ts happy
* fix typing
* respond to comments
* Revert "respond to comments"
This reverts commit 689768bbf1 .
* Publish
- ripple-address-codec@4.2.1-beta.0
- ripple-binary-codec@1.2.1-beta.0
- ripple-keypairs@1.1.1-beta.0
- xrpl@2.0.3-beta.0
* add helper comments
Co-authored-by: Nathan Nichols <natenichols@cox.net >
2021-11-30 17:16:03 -05:00
ledhed2222
7cb38591ac
add support for nfts in binary codec ( #1797 )
2021-11-15 17:08:37 -05: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
440e9922d7
X-address compatibility ( #90 )
...
ripple-binary-codec can encode transactions with X-Addresses
2020-08-21 14:06:09 -05: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
a930b9413c
Initial change from Babel/JS to TypeScript ( #70 )
...
* will compile as typescript
* migrated test suite to use JestJS
* Migrated to Jest testing framework and typescript source files
* updated deps
* updated prepublish
* resolved 1 failing test
* changed decimal .0 on four tests, it appears that these were the only four tests expecting integer values to have '.0'
* added linter
* added package-lock
* removed tslint in favor of eslint
* changed yarn to npm
* updated version 2.6->3.0
* removing package lock
* updated node version in nvmrc and jest version in package
* removed nvmrc
* removed some unused functions
* replaced data driven with file from master
* commitint yarn.lock
* removing babel as a dependency in favor of typescript compiling to es5
* removing babel deps
* resolved testing issues by migrating helper function
* added partial linting functionality for test suite
* updated imports for decodeLedgerData
* updated test
* updated yarn.lock
* removed a console.log
* added eslint-jest-plugin to package
* reverting to old linting, will add linting in next PR
* removed comments in shamap
* re-adding .nvmrc
* npm -> yarn
* added . to .eslintrc
* added .eslintrc
* removing linting for this PR
* Changed linting to print a message so that linting doesnt fail in CI
* changing back
* added newline so diff wont show
* removed eslint deps, since linting will be dealt with in a later PR
* changed function calls to describe(...)
2020-06-24 09:00:28 -07:00
Matthew Fettig
e99031d6af
add DepositPreauth fields
2018-09-28 14:45:22 -05:00
Matthew Fettig
eb7301b4f6
add DestinationNode definition
2017-11-16 22:10:25 -08:00
wilsonianb
d528331a37
Decode binary ledger header data
2017-08-16 15:29:23 -05: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
5cf4301fd0
Add support for PaymentChannel transactions
2017-02-17 16:29:17 +01:00
Nicholas Dudfield
a1a938e895
Enforce proper bounds of Amounts
2016-11-15 18:23:47 +10: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
9e3c037491
Remove "type" from PathSet JSON format
2015-10-13 15:15:21 -07:00
Chris Clark
2877d1a280
Merge coretypes repo
2015-10-07 10:57:21 -07:00
Nicholas Dudfield
65987a83fd
Initial import
2015-09-30 16:28:01 +07:00