Documentation ¶
Overview ¶
Internal package to set up basic configurations for the examples contained in the 'examples' folder.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAccountAddress ¶
func GetAccountAddress() string
Validates whether the ACCOUNT_ADDRESS variable has been set in the '.env' file and returns it; panics otherwise.
func GetAccountCairoVersion ¶
func GetAccountCairoVersion() int
Validates whether the ACCOUNT_CAIRO_VERSION variable has been set in the '.env' file and returns it; panics otherwise.
func GetPrivateKey ¶
func GetPrivateKey() string
Validates whether the PRIVATE_KEY variable has been set in the '.env' file and returns it; panics otherwise.
func GetPublicKey ¶
func GetPublicKey() string
Validates whether the PUBLIC_KEY variable has been set in the '.env' file and returns it; panics otherwise.
func GetRpcProviderUrl ¶
func GetRpcProviderUrl() string
Validates whether the RPC_PROVIDER_URL variable has been set in the '.env' file and returns it; panics otherwise.
func PadZerosInFelt ¶
PadZerosInFelt pads zeros to the left of a hex felt value to make it 64 characters long.
Types ¶
This section is empty.