Module
RMRK.Parser
- Package
- purescript-rmrk-parser
- Repository
- rmrk-team/purescript-rmrk-parser
#parse Source
parse :: String -> Either ParserError Stmt
This is the bread and butter utility of this module.
Takes a string and produces a valid RMRK.Syntax Stmt or ParserError of String
parse "rmrk::BUY::2.0.0::5105000-0aff6865bed3a66b-DLEP-DL15-00000001::H9eSvWe34vQDJAWckeTHWSqSChRat8bgKHG39GC1fjvEm7y"
== ( Right
$ BUY V2 (NFTId "5105000-0aff6865bed3a66b-DLEP-DL15-00000001")
(Just $ Recipient.Account $ Address "H9eSvWe34vQDJAWckeTHWSqSChRat8bgKHG39GC1fjvEm7y")
)
- Modules
- Lib.
Data. HomogenousRecord - Lib.
Parsing. Combinators - RMRK.
Parser - RMRK.
Primitives. Address - RMRK.
Primitives. Base - RMRK.
Primitives. Block - RMRK.
Primitives. Collection - RMRK.
Primitives. Entity - RMRK.
Primitives. Equippable - RMRK.
Primitives. IssuableId - RMRK.
Primitives. NFT - RMRK.
Primitives. Namespace - RMRK.
Primitives. Operation - RMRK.
Primitives. Part - RMRK.
Primitives. Price - RMRK.
Primitives. Properties - RMRK.
Primitives. Recipient - RMRK.
Primitives. Resource - RMRK.
Primitives. Theme - RMRK.
Primitives. TransferableState - RMRK.
Primitives. Version - RMRK.
Syntax