Closed jxom closed 1 year ago
I'd be happy to take on any of these
What do you feel like doing @roninjin10?
Some of the docs stuff like examples would be really useful.
Sure can look at some examples. Curious to look at the simulating transactions.
Is viem exporting tools to do State (snapshot/revert)
or is that just with anvil/hardhat?
Closing in favor of Roadmap project board.
It'll go public on Monday!
This issue has been locked since it has been closed for more than 14 days.
If you found a concrete bug or regression related to it, please open a new bug report with a reproduction against the latest Viem version. If you have any questions or comments you can create a new discussion thread.
Tracking
A list of stuff that needs to be done before public release.
Clients
createClient
: Base ClientcreatePublicClient
: Public ClientcreateWalletClient
: Wallet ClientcreateTestClient
: Test ClientTransports
http
: HTTPwebSocket
: WebSocketcustom
: Custom EIP-1193fallback
: Fallbackipc
: IPCtimeout
config optionretryCount
config optionRPC
Chains
Public Actions
Account
getBalance
getTransactionCount
Block
getBlock
getBlockNumber
getBlockTransactionCount
watchBlockNumber
eth_subscribe
+watchHeads
watchBlocks
eth_subscribe
+watchHeads
Chain
getChainId
ENS
getEnsAddress
@tmmgetEnsName
@tmmgetEnsResolver
@tmmFee
estimateGas
getFeeHistory
getGasPrice
watchGasPrice
Filters & Logs
createBlockFilter
createEventFilter
args
createPendingTransactionFilter
getFilterChanges
getFilterLogs
getLogs
@0xOliaswatchEvents
fromBlock
eth_newFilter
eth_subscribe
+logs
uninstallFilter
Transaction
call
getTransaction
getTransactionConfirmations
getTransactionReceipt
sendRawTransaction
waitForTransactionReceipt
watchPendingTransactions
full
arg w/getTransaction
eth_subscribe
+newPendingTransactions
Wallet Actions
Account
getAccounts
requestAccounts
Assets
watchAsset
Chain
addChain
switchChain
Data
signMessage
signTypedData
@jxomPermissions
getPermissions
requestPermissions
Transaction
sendTransaction
signTransaction
Test Actions
Account
impersonateAccount
setBalance
setCode
setNonce
setStorageAt
stopImpersonatingAccount
Block
getAutomine
increaseTime
mine
removeBlockTimestampInterval
setAutomine
setIntervalMining
setBlockTimestampInterval
setBlockGasLimit
setNextBlockBaseFeePerGas
setNextBlockTimestamp
Node
setCoinbase
setMinGasPrice
Settings
reset
setLoggingEnabled
setRpcUrl
State
revert
snapshot
Transaction
dropTransaction
getTxpoolContent
getTxpoolStatus
inspectTxpool
sendUnsignedTransaction
Contract
fallback()
&receive()
function supportActions
deployContract
createContractEventFilter
estimateContractGas
getBytecode
getStorageAt
multicall
readContract
simulateContract
writeContract
watchContractEvents
topics
Encoding
decodeDeployData
decodeErrorResult
decodeEventTopics
decodeFunctionData
decodeFunctionResult
encodeDeployData
encodeErrorResult
encodeEventTopics
encodeFunctionData
encodeFunctionResult
ABI
decodeAbiParameters
encodeAbiParameters
getAbiItem
parseAbi
&ParseAbi
(human readable -> json) @tmmparseAbiItem
&ParseAbiItem
@tmmparseAbiParameter
&ParseAbiParameter
@tmmparseAbiParameters
&ParseAbiParameters
@tmmUtilities
Addresses
getAddress
getContractAddress
isAddress
isAddressEqual
Data
concat
isBytes
isHex
pad
slice
size
trim
Encoding
fromBase58
fromBase64
fromBytes
fromHex
fromRlp
toBase58
toBase64
toBytes
toHex
toPacked
toRlp
ENS
labelhash
@tmmnamehash
@tmmnormalize
@tmmHash
getEventSignature
getFunctionSignature
keccak256
Units
formatEther
formatGwei
formatUnit
parseEther
parseGwei
parseUnit
Verification
verifyMessage
verifyTypedData
Docs
Introdution
Clients & Transports
Public Actions
Wallet Actions
Test Actions
Contracts
encodeAbi
/decodeAbi
"Usage" snippets with a "real life" oneencodeAbi
,encodeFunctionData
etc)readContract
usesencodeFunctionData
anddecodeFunctionResult
.Examples
window.ethereum
, WalletConnect v2, Coinbase SDK)Glossary
Misc
fetch
)viem/public
viem/wallet
viem/test
viem/utils