clihelper.polymarket

0.1.0

PowerShell module for generating transactions to interact with Polymarket smart contracts.

Minimum PowerShell version

7.6

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name clihelper.polymarket -RequiredVersion 0.1.0

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name clihelper.polymarket -Version 0.1.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

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

Version History

Version Downloads Last updated
0.1.1 8 4/23/2026
0.1.0 (current version) 8 4/21/2026