Skip to content

Commit

Permalink
add scripts to deploy to garnet/redstone
Browse files Browse the repository at this point in the history
  • Loading branch information
holic committed May 15, 2024
1 parent fcec936 commit 6efff87
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 19 deletions.
3 changes: 0 additions & 3 deletions e2e/packages/contracts/foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,3 @@ extra_output_files = [
"evm.bytecode"
]
fs_permissions = [{ access = "read", path = "./"}]

[profile.lattice-testnet]
eth_rpc_url = "https://follower.testnet-chain.linfra.xyz"
3 changes: 0 additions & 3 deletions examples/minimal/packages/contracts/foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,3 @@ extra_output_files = [
"evm.bytecode"
]
fs_permissions = [{ access = "read", path = "./"}]

[profile.lattice-testnet]
eth_rpc_url = "https://follower.testnet-chain.linfra.xyz"
1 change: 0 additions & 1 deletion examples/minimal/packages/contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"build": "mud build",
"clean": "forge clean && rimraf src/codegen",
"deploy:local": "mud deploy",
"deploy:testnet": "mud deploy --profile=lattice-testnet",
"dev": "mud dev-contracts",
"faucet": "DEBUG=mud:faucet faucet-server",
"lint": "pnpm run prettier && pnpm run solhint",
Expand Down
3 changes: 0 additions & 3 deletions examples/multiple-accounts/packages/contracts/foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,3 @@ extra_output_files = [
"evm.bytecode"
]
fs_permissions = [{ access = "read", path = "./"}]

[profile.lattice-testnet]
eth_rpc_url = "https://follower.testnet-chain.linfra.xyz"
1 change: 0 additions & 1 deletion examples/multiple-accounts/packages/contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"build": "mud build",
"clean": "forge clean && rimraf src/codegen",
"deploy:local": "mud deploy",
"deploy:testnet": "mud deploy --profile=lattice-testnet",
"dev": "mud dev-contracts",
"lint": "pnpm run prettier && pnpm run solhint",
"prettier": "prettier --write 'src/**/*.sol'",
Expand Down
3 changes: 2 additions & 1 deletion templates/phaser/packages/contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
"scripts": {
"build": "mud build",
"clean": "forge clean && rimraf src/codegen",
"deploy:garnet": "mud deploy --profile=garnet",
"deploy:local": "mud deploy",
"deploy:testnet": "mud deploy --profile=lattice-testnet",
"deploy:redstone": "mud deploy --profile=redstone",
"dev": "mud dev-contracts",
"lint": "pnpm run prettier && pnpm run solhint",
"prettier": "prettier --write 'src/**/*.sol'",
Expand Down
3 changes: 2 additions & 1 deletion templates/react-ecs/packages/contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
"scripts": {
"build": "mud build",
"clean": "forge clean && rimraf src/codegen",
"deploy:garnet": "mud deploy --profile=garnet",
"deploy:local": "mud deploy",
"deploy:testnet": "mud deploy --profile=lattice-testnet",
"deploy:redstone": "mud deploy --profile=redstone",
"dev": "mud dev-contracts",
"lint": "pnpm run prettier && pnpm run solhint",
"prettier": "prettier --write 'src/**/*.sol'",
Expand Down
3 changes: 2 additions & 1 deletion templates/react/packages/contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
"scripts": {
"build": "mud build",
"clean": "forge clean && rimraf src/codegen",
"deploy:garnet": "mud deploy --profile=garnet",
"deploy:local": "mud deploy",
"deploy:testnet": "mud deploy --profile=lattice-testnet",
"deploy:redstone": "mud deploy --profile=redstone",
"dev": "mud dev-contracts",
"lint": "pnpm run prettier && pnpm run solhint",
"prettier": "prettier --write 'src/**/*.sol'",
Expand Down
3 changes: 2 additions & 1 deletion templates/threejs/packages/contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
"scripts": {
"build": "mud build",
"clean": "forge clean && rimraf src/codegen",
"deploy:garnet": "mud deploy --profile=garnet",
"deploy:local": "mud deploy",
"deploy:testnet": "mud deploy --profile=lattice-testnet",
"deploy:redstone": "mud deploy --profile=redstone",
"dev": "mud dev-contracts",
"lint": "pnpm run prettier && pnpm run solhint",
"prettier": "prettier --write 'src/**/*.sol'",
Expand Down
3 changes: 2 additions & 1 deletion templates/vanilla/packages/contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
"scripts": {
"build": "mud build",
"clean": "forge clean && rimraf src/codegen",
"deploy:garnet": "mud deploy --profile=garnet",
"deploy:local": "mud deploy",
"deploy:testnet": "mud deploy --profile=lattice-testnet",
"deploy:redstone": "mud deploy --profile=redstone",
"dev": "mud dev-contracts",
"lint": "pnpm run prettier && pnpm run solhint",
"prettier": "prettier --write 'src/**/*.sol'",
Expand Down
3 changes: 0 additions & 3 deletions test/mock-game-contracts/foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,3 @@ extra_output_files = [
"evm.bytecode"
]
fs_permissions = [{ access = "read", path = "./"}]

[profile.lattice-testnet]
eth_rpc_url = "https://follower.testnet-chain.linfra.xyz"

0 comments on commit 6efff87

Please sign in to comment.