Skip to content

hookart/socket-plugs-blast

 
 

Repository files navigation

DataLayer Usage Examples

Prereqs

  • Foundry

Setup

Clone project and install dependencies.

# clone the repository
git clone https://github.com/SocketDotTech/socketDL-examples

# move to repository folder
cd socketDL-examples

# install forge dependencies
forge install

Test

Tests are run using the Forge tool of Foundry.

forge test

Deploy

Deployments use Hardhat

Local deployments:

  1. Copy .env.example and add the values
  2. Run command to load env: source .env
  3. To deploy
forge create --rpc-url $ETHEREUM_RPC_URL --private-key $PRIVATE_KEY --etherscan-api-key $ETHERSCAN_API_KEY src/Counter.sol:Counter --constructor-args <SOCKET_ADDRESS>

About

Socket Plugs + blast rebase support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 76.0%
  • TypeScript 24.0%