Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: wip for erc1155 fixes #46

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading