cadence
Cadence: the resource-oriented smart contract programming language of the Flow network. Capability-based security, type safety, and move semantics
File Explorer
Download Latest Version (.zip)- bug-report.yaml
- feature-request.yaml
- benchmark.yml
- ci.yml
- codeql-analysis.yml
- compat.yaml
- compatibility-check-template.yml
- compatibility-check.yml
- dependency-review.yml
- downstream.yml
- get-contracts.yml
- parser-npm-publish.yml
- release.yml
- pull_request_template.md
- release.yml
- action.yml
- activations.go
- activations_test.go
- access.go
- access_test.go
- argument.go
- argument_test.go
- ast.go
- attachment.go
- attachment_test.go
- block.go
- block_test.go
- composite.go
- composite_test.go
- conditionkind.go
- conditionkind_string.go
- conditionkind_test.go
- declaration.go
- elementtype.go
- elementtype_string.go
- entitlement_declaration.go
- entitlement_declaration_test.go
- expression.go
- expression_as_type.go
- expression_extractor.go
- expression_extractor_test.go
- expression_test.go
- expressionprecedence_string.go
- function_declaration.go
- function_declaration_test.go
- identifier.go
- import.go
- import_test.go
- inspect.go
- inspector.go
- inspector_test.go
- interface.go
- interface_test.go
- memberindices.go
- memberindices_test.go
- members.go
- members_test.go
- operation.go
- operation_string.go
- operation_test.go
- parameter.go
- parameter_test.go
- parameterlist.go
- parameterlist_test.go
- position.go
- position_test.go
- pragma.go
- pragma_test.go
- precedence.go
- prettier.go
- primitiveaccess_string.go
- program.go
- program_test.go
- programindices.go
- programindices_test.go
- statement.go
- statement_test.go
- string.go
- string_template_test.go
- string_test.go
- transaction_declaration.go
- transaction_declaration_test.go
- transfer.go
- transfer_test.go
- transferoperation.go
- transferoperation_string.go
- transferoperation_test.go
- type.go
- type_test.go
- typeparameter.go
- typeparameter_test.go
- typeparameterlist.go
- typeparameterlist_test.go
- typeprecedence_string.go
- variable_declaration.go
- variable_declaration_test.go
- variablekind.go
- variablekind_string.go
- variablekind_test.go
- visitor.go
- walk.go
- constants.go
- handlers.go
- types.go
- benchmark_test.go
- builtin_globals.go
- codegen.go
- codegen_test.go
- compiler.go
- compiler_determinism_test.go
- compiler_metering_test.go
- compiler_test.go
- config.go
- constant.go
- control_flow.go
- desugar.go
- desugared_elaboration.go
- function.go
- global_variable.go
- local.go
- peephole_pass.go
- peephole_pass_test.go
- peephole_patterns.go
- returns.go
- stack.go
- typegen.go
- constant.go
- kind.go
- kind_string.go
- leb128.go
- leb128_test.go
- instructions.schema.json
- main.go
- instruction.go
- instruction_jump.go
- instructions.go
- instructions.yml
- opcode.go
- opcode_flow.go
- opcode_string.go
- pretty.go
- pretty_instructions.go
- pretty_test.go
- print.go
- print_test.go
- upvalue.go
- utils.go
- ft_test.go
- interpreter_test.go
- utils.go
- vm_bench_test.go
- vm_test.go
- builtin_globals.go
- callframe.go
- config.go
- context.go
- errors.go
- executable_program.go
- linker.go
- native_function.go
- reference_tracking.go
- tracinginfo_disabled.go
- tracinginfo_enabled.go
- types.go
- upvalue.go
- value.go
- value_account_storage.go
- value_accountcapabilitycontroller.go
- value_address.go
- value_array.go
- value_bool.go
- value_capability.go
- value_character.go
- value_composite.go
- value_deployedcontract.go
- value_dictionary.go
- value_function.go
- value_implicit_reference.go
- value_inclusiverange.go
- value_int.go
- value_iterator.go
- value_number.go
- value_optional.go
- value_path.go
- value_storagecapabilitycontroller.go
- value_string.go
- value_stringbuilder.go
- value_type.go
- value_ufix64.go
- value_uint64.go
- vm.go
- vm_test.go
- contract.go
- function.go
- global.go
- globalkind_string.go
- import.go
- line_number_table.go
- program.go
- program_printer.go
- statictype.go
- variable.go
- binarytrees.cdc
- fannkuch.cdc
- fib_dynamic.cdc
- fib_iterative.cdc
- fib_recursive.cdc
- main.go
- main.go
- main.go
- main.go
- errors.go
- main.go
- placeholders.go
- README.md
- colors.go
- debugger.go
- execute.go
- repl.go
- main.go
- README.md
- main.go
- main.go
- main.go
- minifier.go
- minifier_test.go
- main.go
- main_wasm.go
- cmd.go
- bimap.go
- bimap_test.go
- node.go
- node_test.go
- set.go
- interval.go
- intervalst.go
- intervalst_test.go
- node.go
- list.go
- orderedmap.go
- orderedmap_test.go
- orderedset.go
- orderedset_test.go
- address.go
- address_test.go
- addresslocation.go
- addresslocation_test.go
- bigint.go
- bigint_test.go
- compositekind.go
- compositekind_string.go
- compositekind_test.go
- computationkind.go
- computationkind_string.go
- computationkind_test.go
- concat.go
- controlstatement.go
- controlstatement_string.go
- declarationkind.go
- declarationkind_string.go
- declarationkind_test.go
- enumerate.go
- equatable.go
- identifierlocation.go
- identifierlocation_test.go
- incomparable.go
- integerliteralkind.go
- integerliteralkind_string.go
- location.go
- location_test.go
- memorykind.go
- memorykind_string.go
- metering.go
- operandside.go
- operandside_string.go
- operationkind.go
- operationkind_string.go
- pathdomain.go
- pathdomain_string.go
- repllocation.go
- repllocation_test.go
- scriptlocation.go
- scriptlocation_test.go
- slice_utils.go
- slice_utils_test.go
- storagedomain.go
- storagedomain_string.go
- storagedomain_test.go
- stringlocation.go
- stringlocation_test.go
- transactionlocation.go
- transactionlocation_test.go
- dapper-labs-nba-smart-contracts.yaml
- dapper-labs-nfl-smart-contracts.yaml
- flow-core-contracts.yaml
- flow-ft.yaml
- flow-nft.yaml
- green-goo-dao-flow-utils.yaml
- hybrid-custody.yaml
- nft-storefront.yaml
- .python-version
- main.py
- pyproject.toml
- README.md
- requirements.txt
- setup.md
- uv.lock
- compatibility_check_action_params.png
- compatibility_check_action_trigger.png
- create_release.png
- release_action.png
- release_tag.png
- access-control.md
- accounts.mdx
- attachments.md
- built-in-functions.mdx
- capability-based-access-control.md
- composite-types.mdx
- constants-and-variables.md
- contract-updatability.md
- contracts.mdx
- control-flow.md
- core-events.md
- crypto.mdx
- enumerations.md
- environment-information.md
- events.md
- functions.mdx
- glossary.md
- imports.mdx
- index.md
- interfaces.mdx
- operators.md
- references.mdx
- resources.mdx
- restricted-types.md
- run-time-types.md
- scope.md
- syntax.md
- transactions.md
- type-annotations.md
- type-hierarchy.md
- type-hierarchy.monopic
- type-hierarchy.png
- type-inference.md
- type-safety.md
- values-and-types.mdx
- Cadence.syntax
- Syntax Notation.md
- 01-first-steps.mdx
- 02-hello-world.mdx
- 03-resources.mdx
- 04-capabilities.mdx
- 05-non-fungible-tokens-1.mdx
- 05-non-fungible-tokens-2.mdx
- 06-fungible-tokens.mdx
- 07-marketplace-setup.mdx
- 08-marketplace-compose.mdx
- 09-voting.mdx
- 10-resources-compose.mdx
- deploybox.png
- txbox.png
- anti-patterns.mdx
- architecture.monopic
- architecture.png
- architecture.svg
- Cadence - Implementation, Present and Future.odp
- Cadence - Implementation, Present and Future.pdf
- Cadence Implementation.odp
- Cadence Implementation.pdf
- cadence.ebnf
- contract-upgrades.mdx
- design-patterns.mdx
- development.md
- FAQ.md
- feature-inventory.md
- go.md
- goland.md
- index.mdx
- json-cadence-spec.md
- lint.js
- measuring-time.mdx
- package-lock.json
- package.json
- README.md
- releasing.md
- security-best-practices.mdx
- solidity-to-cadence.mdx
- syntax-highlighting.md
- testing-framework.mdx
- why.md
- bench_test.go
- cbortag_string.go
- ccf.go
- ccf_test.go
- ccf_type_id.go
- ccf_type_id_test.go
- consts.go
- consts_test.go
- decode.go
- decode_type.go
- decode_typedef.go
- encode.go
- encode_type.go
- encode_typedef.go
- service_events_test.go
- simpletype.go
- simpletype_string.go
- simpletype_test.go
- sort.go
- traverse_value.go
- decode.go
- encode.go
- encoding_test.go
- json.go
- README.md
- errors.go
- wrappanic.go
- quicksort.cdc
- check.go
- convert.go
- fixedpoint.go
- fixedpoint_test.go
- parse.go
- parse_test.go
- address.go
- array.go
- bool.go
- bytes.go
- bytes_test.go
- capability.go
- composite.go
- dictionary.go
- fix.go
- fix_test.go
- int.go
- nil.go
- pad.go
- path.go
- reference.go
- string.go
- type.go
- void.go
- imports.go
- rewrite.go
- golden.cdc
- input.cdc
- golden.cdc
- input.cdc
- golden.cdc
- input.cdc
- golden.cdc
- input.cdc
- golden.cdc
- input.cdc
- golden.cdc
- input.cdc
- golden.cdc
- input.cdc
- golden.cdc
- input.cdc
- golden.cdc
- input.cdc
- golden.cdc
- input.cdc
- golden.cdc
- input.cdc
- golden.cdc
- input.cdc
- golden.cdc
- input.cdc
- golden.cdc
- input.cdc
- golden.cdc
- input.cdc
- golden.cdc
- input.cdc
- golden.cdc
- input.cdc
- golden.cdc
- input.cdc
- golden.cdc
- input.cdc
- golden.cdc
- input.cdc
- golden.cdc
- input.cdc
- golden.cdc
- input.cdc
- golden.cdc
- input.cdc
- golden.cdc
- input.cdc
- golden.cdc
- input.cdc
- golden.cdc
- input.cdc
- golden.cdc
- input.cdc
- golden.cdc
- input.cdc
- golden.cdc
- input.cdc
- golden.cdc
- input.cdc
- golden.cdc
- input.cdc
- golden.cdc
- input.cdc
- golden.cdc
- input.cdc
- golden.cdc
- input.cdc
- golden.cdc
- input.cdc
- b51a31c9df9442e4
- 0f1d42ffe564c745
- 59ed9ab21a41e477
- b55e4b1d068b21cf
- bb3614ccfa60c9d6
- cc5f86b8ce6f3bb3
- f1317c40fc90d7b9
- attach.go
- attach_test.go
- comment.go
- group.go
- render.go
- scanner.go
- scanner_test.go
- semicolon.go
- semicolon_test.go
- verify.go
- bench_test.go
- formatter.go
- formatter_test.go
- fuzz_test.go
- options.go
- testutil_test.go
- crashers_test.go
- integer.go
- comp_v2_96d7e06eaf4b3fcf.cbor.gz
- comp_v3_99dc360eee32dcec.cbor.gz
- comp_v3_b52a33b7e56868f6.cbor.gz
- comp_v3_d99d7e6b4dad41e1.cbor.gz
- link_v3_2392f05c3b72f235.cbor.gz
- link_v3_3a791fe1b8243e73.cbor.gz
- customizer.go
- main.go
- account_storagemap.go
- account_storagemap_test.go
- account_test.go
- arithmetic_test.go
- array_test.go
- attachments_test.go
- bitwise_test.go
- builtinfunctions_test.go
- character_test.go
- composite_value_test.go
- computation_metering_test.go
- condition_test.go
- config.go
- container_mutation_test.go
- contract_test.go
- conversion.go
- conversion_bench_test.go
- conversion_test.go
- debugger.go
- declaration_test.go
- decode.go
- deepcopyremove_test.go
- dictionary_test.go
- div_mod_test.go
- domain_storagemap.go
- domain_storagemap_test.go
- dynamic_casting_test.go
- encode.go
- encoding_benchmark_test.go
- encoding_test.go
- entitlements_generic_function_test.go
- entitlements_test.go
- enum_test.go
- equality_test.go
- errors.go
- errors_test.go
- fib_test.go
- fixedpoint_test.go
- for_test.go
- function_test.go
- globalvariables.go
- guard_test.go
- handlers_test.go
- hashablevalue.go
- hashablevalue_test.go
- hashinputtype_string.go
- idcapability_test.go
- if_test.go
- import.go
- import_test.go
- inclusive_range_iterator.go
- indexing_test.go
- inspect.go
- inspect_test.go
- integer.go
- integers_test.go
- interface.go
- interface_test.go
- interpreter.go
- interpreter_expression.go
- interpreter_import.go
- interpreter_invocation.go
- interpreter_statement.go
- interpreter_test.go
- interpreter_tracing.go
- interpreter_tracing_test.go
- interpreter_transaction.go
- invocation.go
- invocation_test.go
- location.go
- location_test.go
- member_test.go
- memory_metering_test.go
- metatype_test.go
- minus_test.go
- misc_test.go
- mul_test.go
- native_function.go
- negate_test.go
- nesting_test.go
- number.go
- number_test.go
- path_test.go
- pathcapability_test.go
- plus_test.go
- primitivestatictype.go
- primitivestatictype_string.go
- primitivestatictype_test.go
- program.go
- range_value_test.go
- reference_test.go
- resources_test.go
- runtimetype_test.go
- sharedstate.go
- stale_atree_view_test.go
- statementresult.go
- statictype.go
- statictype_test.go
- storage.go
- storage_test.go
- storagemapkey.go
- string_test.go
- stringatreevalue.go
- stringatreevalue_test.go
- stringbuilder_test.go
- struct_stringer_test.go
- subtype_check.gen.go
- subtype_check.go
- switch_test.go
- tracing_disabled.go
- tracing_enabled.go
- transactions_test.go
- transfer_bench_test.go
- transfer_test.go
- uint64atreevalue.go
- unreachable_test.go
- uuid_test.go
- value.go
- value_account.go
- value_account_accountcapabilities.go
- value_account_capabilities.go
- value_account_contracts.go
- value_account_inbox.go
- value_account_storage.go
- value_account_storagecapabilities.go
- value_accountcapabilitycontroller.go
- value_accountkey.go
- value_address.go
- value_array.go
- value_authaccount_keys.go
- value_block.go
- value_bool.go
- value_capability.go
- value_character.go
- value_composite.go
- value_deployedcontract.go
- value_deployment_result.go
- value_dictionary.go
- value_ephemeral_reference.go
- value_fix128.go
- value_fix64.go
- value_fixedpoint.go
- value_function.go
- value_function_test.go
- value_int.go
- value_int128.go
- value_int16.go
- value_int256.go
- value_int32.go
- value_int64.go
- value_int8.go
- value_link.go
- value_nil.go
- value_number.go
- value_optional.go
- value_path.go
- value_pathcapability.go
- value_placeholder.go
- value_publickey.go
- value_published.go
- value_range.go
- value_reference.go
- value_simplecomposite.go
- value_some.go
- value_some_test.go
- value_storage_reference.go
- value_storagecapabilitycontroller.go
- value_string.go
- value_stringbuilder.go
- value_test.go
- value_type.go
- value_ufix128.go
- value_ufix64.go
- value_uint.go
- value_uint128.go
- value_uint16.go
- value_uint256.go
- value_uint32.go
- value_uint64.go
- value_uint8.go
- value_void.go
- value_word128.go
- value_word16.go
- value_word256.go
- value_word32.go
- value_word64.go
- value_word8.go
- valuedeclaration.go
- values_test.go
- variable.go
- variable_activations.go
- visitor.go
- walk.go
- while_test.go
- README.md
- go.js
- index.ts
- index.test.ts
- setup.js
- .gitignore
- jest.config.js
- package-lock.json
- package.json
- README.md
- tsconfig.json
- index.ts
- .gitignore
- package-lock.json
- package.json
- README.md
- tsconfig.json
- lexer.go
- lexer_test.go
- state.go
- token.go
- tokenstream.go
- tokentype.go
- benchmark_test.go
- comment.go
- declaration.go
- declaration_test.go
- docstring.go
- docstring_test.go
- errors.go
- expression.go
- expression_test.go
- function.go
- invalidnumberliteralkind.go
- invalidnumberliteralkind_string.go
- keyword.go
- parser.go
- parser_test.go
- statement.go
- statement_test.go
- transaction.go
- type.go
- type_test.go
- lexer.go
- lexer_test.go
- state.go
- token.go
- tokenstream.go
- tokentype.go
- benchmark_test.go
- comment.go
- comment_test.go
- declaration.go
- declaration_test.go
- docstring.go
- docstring_test.go
- errors.go
- expression.go
- expression_test.go
- function.go
- invalidnumberliteralkind.go
- invalidnumberliteralkind_string.go
- keyword.go
- memory_metering_test.go
- parser.go
- parser_test.go
- statement.go
- statement_test.go
- transaction.go
- type.go
- type_test.go
- print.go
- print_test.go
- .gitignore
- account_storage.go
- account_test.go
- attachments_test.go
- authorizer.go
- capabilities_test.go
- capabilitycontrollers_test.go
- checking_environment.go
- code.go
- config.go
- context.go
- contract.go
- contract_function_executor.go
- contract_function_executor_test.go
- contract_test.go
- contract_update_test.go
- contract_update_validation_test.go
- convertTypes.go
- convertTypes_test.go
- convertValues.go
- convertValues_test.go
- coverage.go
- coverage_test.go
- crypto_test.go
- debugger_test.go
- deployedcontract_test.go
- deployment_test.go
- empty.go
- entitlements_test.go
- environment.go
- error_test.go
- errors.go
- errors_test.go
- events.go
- executor.go
- external.go
- ft_test.go
- handlers.go
- import_test.go
- imported_values_memory_metering_test.go
- inbox_test.go
- interface.go
- literal.go
- literal_test.go
- location.go
- memory.go
- nft_test.go
- pprof.go
- predeclaredvalues_test.go
- profile.go
- profile_test.go
- program_params_validation_test.go
- recover.go
- repl.go
- resource_duplicate_test.go
- resourcedictionary_test.go
- rlp_test.go
- rounding_rule_test.go
- runtime.go
- runtime_memory_metering_test.go
- runtime_test.go
- script_executor.go
- slabindex.go
- stackdepth.go
- storage.go
- storage_test.go
- subtype_check_test.go
- test-export-json-deterministic.json
- tracing_disabled_test.go
- tracing_enabled_test.go
- transaction_executor.go
- type_test.go
- types.go
- validation.go
- validation_test.go
- value.go
- vm_environment.go
- helper.go
- test.cdc
- test.golden.go
- test.cdc
- test.golden.go
- test.cdc
- test.golden.go
- test.cdc
- test.golden.go
- helper.go
- test.cdc
- test.golden.go
- test.cdc
- test.golden.go
- helper.go
- test.cdc
- test.golden.go
- helper.go
- test.cdc
- test.golden.go
- helper.go
- test.cdc
- test.golden.go
- helper.go
- test.cdc
- test.golden.go
- helper.go
- test.cdc
- test.golden.go
- helper.go
- test.cdc
- test.golden.go
- test.cdc
- test.golden.go
- helper.go
- test.cdc
- test.golden.go
- test.cdc
- test.golden.go
- helper.go
- test.cdc
- test.golden.go
- helper.go
- test.cdc
- test.golden.go
- helper.go
- test.cdc
- test.golden.go
- golden_test.go
- main.go
- main_test.go
- customizer.go
- main.go
- access.go
- access_test.go
- accesscheckmode.go
- accesscheckmode_string.go
- accesses_test.go
- account.cdc
- account.gen.go
- account.go
- account_capability_controller.cdc
- account_capability_controller.gen.go
- account_capability_controller.go
- account_test.go
- any_test.go
- any_type.go
- anyattachment_types.go
- anyresource_type.go
- anystruct_type.go
- arrays_dictionaries_test.go
- assert_test.go
- assignment_test.go
- attachments_test.go
- before_extractor.go
- before_extractor_test.go
- benchmark_test.go
- binaryoperationkind.go
- binaryoperationkind_string.go
- block.cdc
- block.gen.go
- block.go
- bool_type.go
- boolean_test.go
- builtinfunctions_test.go
- capability_controller_test.go
- capability_test.go
- casting_test.go
- character.cdc
- character.gen.go
- character.go
- character_test.go
- check_array_expression.go
- check_assignment.go
- check_attach_expression.go
- check_binary_expression.go
- check_block.go
- check_casting_expression.go
- check_composite_declaration.go
- check_conditional.go
- check_conditions.go
- check_create_expression.go
- check_declaration_test.go
- check_destroy_expression.go
- check_dictionary_expression.go
- check_emit_statement.go
- check_event_declaration.go
- check_event_declaration_test.go
- check_expression.go
- check_for.go
- check_force_expression.go
- check_function.go
- check_import_declaration.go
- check_interface_declaration.go
- check_invocation_expression.go
- check_member_expression.go
- check_path_expression.go
- check_path_expression_test.go
- check_pragma.go
- check_reference_expression.go
- check_remove_statement.go
- check_return_statement.go
- check_string_template_expression.go
- check_swap.go
- check_switch.go
- check_transaction_declaration.go
- check_unary_expression.go
- check_variable_declaration.go
- check_while.go
- checker.go
- checker_test.go
- composite_test.go
- conditional_test.go
- conditions_test.go
- config.go
- conformance_test.go
- containerkind.go
- containerkind_string.go
- contract_test.go
- crypto_algorithm_types.go
- crypto_algorithm_types_test.go
- crypto_test.go
- declaration_test.go
- declarations.go
- deployedcontract.cdc
- deployedcontract.gen.go
- deployedcontract.go
- deployment_result.cdc
- deployment_result.gen.go
- deployment_result.go
- dictionary_test.go
- dynamic_casting_test.go
- elaboration.go
- elaboration_test.go
- entitlements.cdc
- entitlements.gen.go
- entitlements.go
- entitlements_test.go
- entitlementset.go
- entitlementset_test.go
- entrypoint.go
- entrypoint_test.go
- enum_test.go
- error_handling_test.go
- errors.go
- errors_test.go
- events_test.go
- external_mutation_test.go
- fixedpoint_test.go
- for_test.go
- force_test.go
- function_activations.go
- function_expression_test.go
- function_invocations.go
- function_test.go
- genericfunction_test.go
- hashable_struct.cdc
- hashable_struct.gen.go
- hashable_struct.go
- hashable_struct_test.go
- hashalgorithm_string.go
- if_test.go
- import.go
- import_test.go
- indexing_test.go
- initialization_info.go
- initialization_test.go
- integer_test.go
- interface_test.go
- interfaceset.go
- intersect_reference_authorizations_test.go
- intersection_test.go
- invalid_test.go
- invalid_type.go
- invocation_test.go
- member_accesses.go
- member_test.go
- meta_type.go
- metatype_test.go
- move_test.go
- nesting_test.go
- never_test.go
- never_type.go
- nil_coalescing_test.go
- occurrence_matcher_test.go
- occurrences.go
- occurrences_test.go
- operations_test.go
- optional_test.go
- orderdmaps.go
- overloading_test.go
- path_test.go
- path_type.go
- positioninfo.go
- post_conditions_rewrite.go
- pragma_test.go
- predeclaredvalues_test.go
- purity_test.go
- range_test.go
- range_value_test.go
- ranges.go
- reference_test.go
- resolve.go
- resource_invalidation.go
- resource_test.go
- resourceinfo.go
- resourceinvalidationkind.go
- resourceinvalidationkind_string.go
- resources.go
- resources_test.go
- return_info.go
- return_test.go
- rlp_test.go
- rounding_rule_test.go
- rounding_rule_type.go
- rounding_rule_type_test.go
- runtime_type_constructors.go
- runtimetype_test.go
- signaturealgorithm_string.go
- simple_type.go
- storable_test.go
- storable_type.go
- storage_capability_controller.cdc
- storage_capability_controller.gen.go
- storage_capability_controller.go
- string_test.go
- string_type.go
- stringbuilder.cdc
- stringbuilder.gen.go
- stringbuilder.go
- stringbuilder_test.go
- struct_stringer.cdc
- struct_stringer.gen.go
- struct_stringer.go
- struct_stringer_test.go
- subtype_check.gen.go
- subtype_check.go
- subtype_comparison_disabled.go
- subtype_comparison_enabled.go
- swap_test.go
- switch_test.go
- transactions_test.go
- type.go
- type_inference_test.go
- type_names.go
- type_tags.go
- type_test.go
- typeannotationstate.go
- typeannotationstate_string.go
- typeargument_test.go
- typecheckfunc.go
- utils_test.go
- variable.go
- variable_activations.go
- variable_activations_test.go
- void_type.go
- while_test.go
- flow.json
- test.cdc
- test.go
- rlp.go
- rlp_test.go
- account.go
- account_test.go
- assert.go
- block.go
- bls.cdc
- bls.gen.go
- bls.go
- builtin.go
- builtin_test.go
- comparison.go
- comparison_test.go
- contract_update_validation.go
- crypto.go
- enum.go
- flow.go
- flow_test.go
- functions.go
- hashalgorithm.go
- log.go
- panic.go
- publickey.go
- random.go
- random_test.go
- range.go
- rlp.cdc
- rlp.gen.go
- rlp.go
- roundingrule.go
- signaturealgorithm.go
- test-framework.go
- test.go
- test_contract.go
- test_emulatorbackend.go
- test_test.go
- type-comparator.go
- types.go
- value.go
- utils.go
- Burner.cdc
- FlowToken.cdc
- FungibleToken.cdc
- FungibleTokenMetadataViews.cdc
- MetadataViews.cdc
- NonFungibleToken.cdc
- ViewResolver.cdc
- get_balance.cdc
- mint_tokens.cdc
- setup_account.cdc
- transfer_tokens.cdc
- contracts.go
- interpreter.go
- values.go
- location.go
- storage.go
- testinterface.go
- testledger.go
- testruntime.go
- transactions.go
- utils.go
- test_utils.go
- vm_invokable.go
- go.mod
- go.sum
- iterate_storage.cdc
- main.go
- README.md
- analysis.go
- analysis_test.go
- analyzer.go
- config.go
- diagnostic.go
- error.go
- inspector.go
- loadmode.go
- pass.go
- program.go
- programs.go
- cadence.ts
- index.html
- index.tsx
- tree.tsx
- .eslintrc
- .gitignore
- main.go
- package-lock.json
- package.json
- README.md
- tsconfig.json
- webpack.config.js
- go.mod
- main.go
- README.md
- main.go
- main.go
- contracts_checker.go
- contracts_checker_test.go
- go.mod
- go.sum
- test.go
- analyzer.go
- analyzer_test.go
- go.mod
- go.sum
- main.go
- Makefile
- go.mod
- go.sum
- main.go
- go.mod
- go.sum
- main.go
- main_test.go
- go.mod
- go.sum
- main.go
- Makefile
- test.go
- analyzer.go
- analyzer_test.go
- go.mod
- go.sum
- main.go
- Makefile
- README.md
- main.go
- README.md
- main.go
- README.md
- array.tsx
- composite.tsx
- dictionary.tsx
- fallback.tsx
- index.css
- index.ts
- primitive.tsx
- type.module.css
- type.tsx
- value.ts
- vite-env.d.ts
- .gitignore
- addresses.go
- go.mod
- go.sum
- index.html
- main.go
- package-lock.json
- package.json
- README.md
- storagemaps.go
- tsconfig.json
- type.go
- value.go
- and_predicate_test.golden.go
- and_predicate_test.yaml
- complex_nested_and_or_test.golden.go
- complex_nested_and_or_test.yaml
- complex_nested_and_or_with_not_test.golden.go
- complex_nested_and_or_with_not_test.yaml
- complex_type_test.golden.go
- complex_type_test.yaml
- deep_equals_predicate_test.golden.go
- deep_equals_predicate_test.yaml
- deeply_nested_predicates_test.golden.go
- deeply_nested_predicates_test.yaml
- default_rule_test.golden.go
- default_rule_test.yaml
- equals_predicate_test.golden.go
- equals_predicate_test.yaml
- for_all_predicate_test.golden.go
- for_all_predicate_test.yaml
- is_attachment_predicate_test.golden.go
- is_attachment_predicate_test.yaml
- is_hashable_struct_predicate_test.golden.go
- is_hashable_struct_predicate_test.yaml
- is_intersection_subset_predicate_test.golden.go
- is_intersection_subset_predicate_test.yaml
- is_parameterized_subtype_predicate_test.golden.go
- is_parameterized_subtype_predicate_test.yaml
- is_resource_predicate_test.golden.go
- is_resource_predicate_test.yaml
- is_storable_predicate_test.golden.go
- is_storable_predicate_test.yaml
- must_type_predicate_test.golden.go
- must_type_predicate_test.yaml
- never_predicate_test.golden.go
- never_predicate_test.yaml
- not_predicate_test.golden.go
- not_predicate_test.yaml
- not_with_multiple_levels_test.golden.go
- not_with_multiple_levels_test.yaml
- oneof_expression_test.golden.go
- oneof_expression_test.yaml
- oneof_with_not_test.golden.go
- oneof_with_not_test.yaml
- or_predicate_test.golden.go
- or_predicate_test.yaml
- permits_predicate_test.golden.go
- permits_predicate_test.yaml
- return_covariant_predicate_test.golden.go
- return_covariant_predicate_test.yaml
- set_contains_predicate_test.golden.go
- set_contains_predicate_test.yaml
- simple_and_complex_type_test.golden.go
- simple_and_complex_type_test.yaml
- simple_type_test.golden.go
- simple_type_test.yaml
- subtype_predicate_test.golden.go
- subtype_predicate_test.yaml
- constants.go
- errors.go
- expressions.go
- generator.go
- generator_test.go
- predicates.go
- README.md
- rules.schema.json
- rules.yaml
- rules_parser.go
- rules_parser_test.go
- types.go
- utils.go
- a.go
- a.go.golden
- lib.go
- typeparams.go
- typeparams.go.golden
- analyzer.go
- analyzer_test.go
- go.mod
- go.sum
- main.go
- Makefile
- README.md
- .eslintrc.cjs
- config.schema.json
- config.schema.ts
- config.yaml
- main.ts
- package-lock.json
- package.json
- README.md
- tsconfig.json
- main.go
- big.go
- cbortag_string.go
- encode.go
- encode_test.go
- errors.go
- safe_math.go
- value.go
- value_bool.go
- value_comparable.go
- value_equatable.go
- value_fixedpoint.go
- value_int.go
- value_integer.go
- value_number.go
- value_ufix64.go
- .gitignore
- .golangci.yml
- .mailmap
- AGENTS.md
- bump-version.sh
- cadence_furever.png
- CHANGELOG.md
- check-headers.sh
- CITATION.cff
- CODE_OF_CONDUCT.md
- codecov.yml
- CODEOWNERS
- CONTRIBUTING.md
- fuzz.go
- go.mod
- go.sum
- LICENSE
- Makefile
- NOTICE
- README.md
- ROADMAP.md
- SECURITY.md
- semgrep-compiler-vm.yaml
- semgrep.yaml
- types.go
- types_test.go
- values.go
- values_test.go
- version.go
# Installation Guide
git clone https://github.com/onflow/cadence
Downloads the entire project code from GitHub to your computer.
cd cadence
Moves into the project folder you just downloaded.
2. Node.js
Easy Recommendedcd npm-packages/cadence-parser
This project's files live in a subfolder, so move into it first.
npm install
Downloads and installs the libraries listed in package.json.
npm start
Starts the development/run server.
3. Python
Easypip install -r compat/requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
python <μ€νν νμΌλͺ
>.py # READMEμμ μ νν μ€ν νμΌλͺ
μ νμΈνμΈμ
Runs the Python script (or module).
4. Go
Mediumgo build ./...
Compiles the Go program into an executable.
go run .
Runs the Go program directly without a separate build step.
5. Make
Medium- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make
Compiles the code based on the generated build configuration to produce an executable.
