clihelper.polymarket
0.1.0
PowerShell module for generating transactions to interact with Polymarket smart contracts.
Minimum PowerShell version
7.6
Installation Options
Owners
Copyright
Copyright © 2026 alain. All rights reserved.
Package Details
Author(s)
- alain
Tags
polymarket etherium smart-contracts
Dependencies
Release Notes
# Release Notes
- Version_0.1.0
- transaction builders and add Pester tests to validate parity.
- AbiEncoding with helpers UInt256Word, AddressWord, Bytes32Word, DynamicUint256Array, and DynamicString to centralize ABI word construction and dynamic array/string
- HexString.ToBytes that accepts odd-length hex payloads by left-padding a nibble, and
- Crypto.EncodePacked returns packed bytes (hex) instead of hashing early
- Normalized uint256 encoding across ERC20/ERC1155/market/neg-risk builders to use AbiEncoding.UInt256Word.
- Liquidity.AddLiquidityRequest (dynamic string + address + uint256 encoding) and exposed it on [Polymarket]::AddLiquidityRequest(...)
- added SafeAddFundingToMarket new signature that accepts a slippage-checker address, encodes multiple dynamic arrays correctly, uses selector 0x5ff9af63, and builds a DelegateCall transaction to the slippage checker
- A hardened neg-risk encoding by using bytes32/uint256 helpers for convertPositions and redeemPositions.
FileList
- clihelper.polymarket.nuspec
- clihelper.polymarket.psd1
- clihelper.polymarket.psm1
- LICENSE
- README.md
- en-US\clihelper.polymarket.strings.psd1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 0.1.1 | 8 | 4/23/2026 |
| 0.1.0 (current version) | 8 | 4/21/2026 |