{"modulePath":"github.com/smartcontractkit/chainlink-testing-framework/lib","version":"v1.54.9","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package conversions\n\n## Functions\n\n```go\nfunc EtherToWei(eth *big.Float) *big.Int\n```\nEtherToWei converts an ETH float amount to wei\n\n```go\nfunc PrivateKeyHexToAddress(privateKeyStr string) (common.Address, error)\n```\nPrivateKeyHexToAddress is a handy converter for a string private key to a usable eth address\n\n```go\nfunc PrivateKeyToAddress(privateKey *ecdsa.PrivateKey) (common.Address, error)\n```\nPrivateKeyToAddress is a handy converter for an ecdsa private key to a usable eth address\n\n```go\nfunc WeiToEther(wei *big.Int) *big.Float\n```\nWeiToEther converts a wei amount to eth float\n\n","path":"github.com/smartcontractkit/chainlink-testing-framework/lib/utils/conversions","name":"conversions","synopsis":"","isRedistributable":true}
