Skip to content

Commit

Permalink
Simplify recipe fields
Browse files Browse the repository at this point in the history
  • Loading branch information
lealobanov committed Dec 23, 2024
1 parent 27078e4 commit 7497b9a
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
// Pass the repo name
const recipe = "token-vault";

//Generate paths of each code file to render
const contractPath = `${recipe}/cadence/contract.cdc`;
const transactionPath = `${recipe}/cadence/transaction.cdc`;

//Generate paths of each explanation file to render
const smartContractExplanationPath = `${recipe}/explanations/contract.txt`;
const transactionExplanationPath = `${recipe}/explanations/transaction.txt`;

export const tokenVault = {
slug: recipe,
title: "Token Vault",
Expand All @@ -18,10 +10,6 @@ export const tokenVault = {
"https://play.onflow.org/8b168390-9712-4578-a437-d15125cf18d9",
excerpt:
"This explains the vault resource that can be created in order for you to handle fungible tokens.",
smartContractCode: contractPath,
smartContractExplanation: smartContractExplanationPath,
transactionCode: transactionPath,
transactionExplanation: transactionExplanationPath,
filters: {
difficulty: "beginner",
},
Expand Down

0 comments on commit 7497b9a

Please sign in to comment.