Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/0xSpaceShard/starknet-hardhat-example
/ functions
Functions
22 in github.com/0xSpaceShard/starknet-hardhat-example
⨍
Functions
22
◇
Types & classes
0
↓ 30 callers
Function
getOZAccount
()
test/util.ts:81
↓ 19 callers
Function
expectStarknetPluginErrorEqual
(err: unknown, expectedMessage: string)
test/util.ts:28
↓ 10 callers
Function
expectFeeEstimationStructure
(fee: FeeEstimation)
test/util.ts:14
↓ 9 callers
Function
ensureEnvVar
(varName: string)
test/util.ts:38
↓ 7 callers
Function
expectAddressEquality
(actual: string, expected: string)
test/util.ts:60
↓ 6 callers
Function
expectStarknetPluginErrorContain
(err: unknown, expectedMessage: string)
test/util.ts:33
↓ 5 callers
Function
expectStarknetPluginError
(err: unknown)
test/util.ts:23
↓ 5 callers
Function
getArgentAccount
()
test/argent-account-test.ts:27
↓ 4 callers
Function
mint
(address: string, amount: number, lite = true)
test/util.ts:70
↓ 2 callers
Function
adaptAddress
* Receives a hex address, converts it to bigint, converts it back to hex. * This is done to strip leading zeros. * @param address a hex string repre
test/util.ts:51
↓ 2 callers
Function
arrayAsObject
(array: bigint[])
test/cairo1/decode-events.test.ts:44
↓ 2 callers
Function
getBalance
(token: StarknetContract, accountAddress: string)
scripts/transfer-funds.ts:7
↓ 2 callers
Function
getPredeployedOZAccount
(index = 0)
test/util.ts:101
↓ 2 callers
Function
getPredeployedOZAccounts
(count: number)
test/util.ts:114
↓ 2 callers
Function
testArray
(args: { a: number[] }, expected: bigint)
test/sample-test.ts:113
↓ 1 callers
Function
getPredeployedAccount
(index = 0)
test/util.ts:92
↓ 1 callers
Function
keypress
()
scripts/deploy-account.ts:3
↓ 1 callers
Function
main
()
scripts/deploy.ts:4
↓ 1 callers
Function
main
()
scripts/quick-script.ts:4
↓ 1 callers
Function
main
* Should work if run with: * $ DECLARABLE_CONTRACT=<YOUR_CONTRACT_NAME> npx hardhat run <NAME_OF_THIS_SCRIPT>
scripts/declare.ts:8
↓ 1 callers
Function
main
()
scripts/replace.ts:4
↓ 1 callers
Function
main
()
scripts/compile-contract.ts:3