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/factory create with public key #208

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
20 changes: 20 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"hostRequirements": {
"cpus": 2,
"memory": "8gb",
"storage": "64gb"
},
"image": "mcr.microsoft.com/devcontainers/base:jammy",
"features": {
"ghcr.io/devcontainers/features/rust:latest": {}
},
"customizations": {
"vscode": {
"extensions": [
"github.vscode-github-actions",
"rust-lang.rust-analyzer"
]
}
},
"postCreateCommand": "./.devcontainer/install-dependencies.sh"
}
10 changes: 10 additions & 0 deletions .devcontainer/install-dependencies.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
sudo apt update
sudo apt install -y pkg-config
sudo apt install -y clang
rustup target add wasm32-unknown-unknown

# Install Binaryen
wget https://github.com/WebAssembly/binaryen/releases/download/version_121/binaryen-version_121-x86_64-linux.tar.gz
tar -xvzf binaryen-version_121-x86_64-linux.tar.gz
echo 'export PATH="$(pwd)/binaryen-version_121/bin:$PATH"' >> ~/.bashrc
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ neardev

**/nodemodules
**/*.lock.json
binaryen-version*
8 changes: 8 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"rust-analyzer.linkedProjects": [
"sputnikdao-factory2/Cargo.toml",
"sputnikdao2/Cargo.toml",
"sputnik-staking/Cargo.toml",
"Cargo.toml"
]
}
Loading