8000 GitHub - Coop-Records/coop-songcoin-protocol: coop-protocol smart contracts
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Coop-Records/coop-songcoin-protocol

Repository files navigation

Coop Factory

The Coop Factory is a factory contract for creating Coop contracts.

Deployments

Deployed Contracts (Base Sepolia)

  • Coop Implementation: 0xe5399ccb7c599210e7c46de1b01d6f06bf350f20
  • CoopFactoryImpl: 0x20be2931f6ca9115d2ccc4592eb58f9c8c1c559c
  • CoopFactory Proxy: 0xd16653637e739480c9b387c5cdd8d5ff6935c97c

Usage

Deploy the Coop implementation contract using the following command:

forge script script/DeployCoopFactory.s.sol:DeployCoopFactory --rpc-url $RPC_URL --private-key $PRIVATE_KEY --broadcast --verify --etherscan-api-key $ETHERSCAN_API_KEY -vvvv

Replace RPC_URL, PRIVATE_KEY, and ETHERSCAN_API_KEY with your actual values.

Important Functions

  • deploy(): Set up a new memecoin.
  • buy(): Allow users to buy tokens during the sale.
  • sell(): Allow users to sell tokens during the sale.

For detailed information on function parameters and usage, please refer to the contract documentation.

Contract Structure

  • CoopFactory.sol: The main implementation contract containing all the logic for the Coop factory.
  • Coop.sol: The main implementation contract containing all the logic for the Coop token implementation.

For more details on implementation, please refer to the contract source code and comments.

About

coop-protocol smart contracts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0