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

Next #6

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
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
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@
The .devcontainer container will automatically generate key pair and deploy a dev account just follow prompts

### Contract Deployment

```bash
/bin/bash /workspaces/golden-token/scripts/deploy_contract.sh
```

## Non-VSCode Setup

```console
starkli declare target/dev/goldenToken_ERC721.sierra.json --account ./account --keystore ./keys

Expand All @@ -23,3 +25,5 @@ export DAO_ADDRESS=0x020b96923a9e60f63a1829d440a03cf680768cadbc8fe737f7138025881
starkli deploy 0x007ccf8c0a9a27392a68ec91db0d8005fd6d10ce0039a0627c8e0b0af7a73d7d $GOLDEN_TOKEN_NAME $GOLDEN_TOKEN_SYMBOL $OWNER $DAO_ADDRESS --account ./account --keystore ./keys
```

starkli declare /Users/os/Documents/code/biblio/golden-token/target/dev/golden_token_ERC721.contract_class.json --account ./account-sepolia --keystore ./keys
starkli deploy 0x07523d0f2f1b4f2d387fe5548fa7c0a7ab77f6e49241f26c6aa8682f808379b0 --account ./account-sepolia --keystore ./keys
23 changes: 23 additions & 0 deletions Scarb.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Code generated by scarb DO NOT EDIT.
version = 1

[[package]]
name = "arcade_account"
version = "0.1.0"
source = "git+https://github.com/BibliothecaDAO/arcade-account?branch=next#c24e720d75fc3b85b878dd896ae8d0d26ce8e04d"
dependencies = [
"openzeppelin",
]

[[package]]
name = "golden_token"
version = "0.1.0"
dependencies = [
"arcade_account",
"openzeppelin",
]

[[package]]
name = "openzeppelin"
version = "0.9.0"
source = "git+https://github.com/OpenZeppelin/cairo-contracts.git?tag=v0.9.0#861fc416f87addbe23a3b47f9d19ab27c10d5dc8"
8 changes: 4 additions & 4 deletions Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "goldenToken"
name = "golden_token"
version = "0.1.0"

[dependencies]
openzeppelin = { git = "https://github.com/OpenZeppelin/cairo-contracts.git", tag = "v0.7.0" }
starknet = "2.1.1"
arcade_account = { git = "https://github.com/BibliothecaDAO/arcade-account" }
openzeppelin = { git = "https://github.com/OpenZeppelin/cairo-contracts.git", tag = "v0.9.0" }
starknet = "2.4.0"
arcade_account = { git = "https://github.com/BibliothecaDAO/arcade-account", branch = "next" }

[lib]

Expand Down
14 changes: 14 additions & 0 deletions account-sepolia
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"version": 1,
"variant": {
"type": "open_zeppelin",
"version": 1,
"public_key": "0x3e851144750a495172fd41eb7d84e8c97402ed3fd680a5e7f474d9452b2c952",
"legacy": false
},
"deployment": {
"status": "deployed",
"class_hash": "0x4c6d6cf894f8bc96bb9c525e6853e5483177841f7388f74a46cfda6f028c755",
"address": "0x3dba48aee5fd05933d333b57f8ab7caa953b97a257b910b6dd2bc21eb9e975b"
}
}
Loading