Skip to content

Commit

Permalink
feat: wip for erc1155 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
brolag committed Nov 7, 2024
1 parent bd707c8 commit 1af2212
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions apps/snfoundry/contracts/.tool-versions
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
scarb 2.8.4
starknet-foundry 0.31.0


2 changes: 1 addition & 1 deletion apps/snfoundry/contracts/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ casm = true
sierra = true

[tool.fmt]
sort-module-level-items = true
sort-module-level-items = true
2 changes: 2 additions & 0 deletions apps/snfoundry/scripts-ts/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ import { green } from "./helpers/colorize-log";
* @returns {Promise<void>}
*/
const deployScript = async (): Promise<void> => {
console.log("🚀 Deploying with address:", green(deployer.address));

await deployContract({
contract: "cofi_collection.cairo",
contractName: "CofiCollection",
Expand Down
3 changes: 2 additions & 1 deletion apps/snfoundry/scripts-ts/helpers/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ dotenv.config({ path: path.resolve(__dirname, "../../.env") });

// devnet
const PRIVATE_KEY_DEVNET =
process.env.PRIVATE_KEY_DEVNET || "0x71d7bb07b9a64f6f78ac4c816aff4da9";
process.env.PRIVATE_KEY_DEVNET ||
"0x0000000000000000000000000000000071d7bb07b9a64f6f78ac4c816aff4da9";
const RPC_URL_DEVNET = process.env.RPC_URL_DEVNET || "http://127.0.0.1:5050";
const ACCOUNT_ADDRESS_DEVNET =
process.env.ACCOUNT_ADDRESS_DEVNET ||
Expand Down

0 comments on commit 1af2212

Please sign in to comment.