Skip to content

Commit

Permalink
feat: tool access-control
Browse files Browse the repository at this point in the history
  • Loading branch information
CanvasL committed Aug 6, 2024
1 parent f1f4e9b commit b8378ae
Show file tree
Hide file tree
Showing 15 changed files with 1,490 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
BASE_RPC_URL=https://base.rpc.subquery.network/public
BASE_SEPOLIA_RPC_URL=https://base-sepolia-rpc.publicnode.com
BASE_SEPOLIA_RPC_URL=https://base-sepolia.g.alchemy.com/v2/0ZS0OdXDqBpKt6wkusuFDyi0lLlTFRVf
BNB_RPC_URL=https://binance.llamarpc.com
BNB_TESTNET_RPC_URL=https://public.stackup.sh/api/v1/node/bsc-testnet

PRIVATE_KEY=
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@ docs/
# Dotenv file
.env

dependencies/
dependencies/

node_modules

bun.lockb
3 changes: 3 additions & 0 deletions addresses.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"BNBTestnet": "0x35a8483444947B2166Aa85837F97FaEf122f5ebb"
}
2 changes: 2 additions & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ forge-std = { version = "1.9.1" }
[rpc_endpoints]
base = "${BASE_RPC_URL}"
base_sepolia = "${BASE_SEPOLIA_RPC_URL}"
bnb = "${BNB_RPC_URL}"
bnb_testnet = "${BNB_TESTNET_RPC_URL}"
15 changes: 15 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "dephy-conduits-contracts",
"type": "module",
"scripts": {
"build": "forge build --sizes",
"deploy:base": "source .env && forge script script/Deploy.s.sol --rpc-url base --broadcast",
"deploy:base_sepolia": "source .env && forge script script/Deploy.s.sol --rpc-url base_sepolia --broadcast",
"deploy:bnb": "source .env && forge script script/Deploy.s.sol --rpc-url bnb --broadcast",
"deploy:bnb_testnet": "source .env && forge script script/Deploy.s.sol --rpc-url bnb_testnet --broadcast"
},
"devDependencies": {
"@types/node": "^20.14.10",
"tsx": "^4.16.2"
}
}
Loading

0 comments on commit b8378ae

Please sign in to comment.