Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Commit

Permalink
Merge pull request #121 from NethermindEth/feat/load-repo
Browse files Browse the repository at this point in the history
Added ability to load repository via url
  • Loading branch information
taco-paco authored Jun 27, 2024
2 parents 42634f5 + d9ef1e7 commit dcb7041
Show file tree
Hide file tree
Showing 13 changed files with 6,984 additions and 5,732 deletions.
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
debug/
target/

# IDEs related
.idea/

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock
Expand All @@ -12,6 +15,10 @@ Cargo.lock

# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb

node_modules
.idea/
api/logs
api/hardhat_env/workspaces

# MacOS related
.DS_Store
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ And ENV variables for the plugin:

- API_SERVICE_URL="http://0.0.0.0:8000" - the address of the API
- WALLETCONNECT_PROJECT_ID=<your_walletconnect_project_id> - the project id for WalletConnect
- STARKNET_DEVNET_URL="https://starknet-remix-devnet.nethermind.io" - the address of the StarkNet devnet
- ZKSYNC_DEVNET_URL="https://zksync-devnet.nethermind.dev" - the address of the StarkNet devnet

You need to be running both the server and the plugin in order to have a working environment.

Expand Down
716 changes: 276 additions & 440 deletions api/hardhat_env/yarn.lock

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions api/src/handlers/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ pub async fn do_compile(compilation_request: CompilationRequest) -> Result<Json<
// initialize the files
initialize_files(compilation_request.contracts, workspace_path).await?;

// TODO(edwin): change to tokio
let command = Command::new("npx")
.arg("hardhat")
.arg("compile")
Expand Down
Loading

0 comments on commit dcb7041

Please sign in to comment.