Skip to content

SocketDotTech/socketDL-examples

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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •