Skip to content

blocto/spotlight-contracts

Repository files navigation

Spotlight Contracts

Actions Status

Your Gateway to Establishing, Promoting, Connecting, and Monetizing IPs

Spotlight is a platform offering powerful tools to help users build, promote, connect, and monetize their intellectual properties (IPs). Whether you’re an artist, creator, or entrepreneur, Spotlight provides everything you need to easily manage, grow, and unlock the value of your IP.

Documentation

In-depth documentation on Spotlight Protocol is available at https://spotlight-protocol.gitbook.io/spotlight-protocol

Development

Build

$ forge build

Test

$ forge test

Format

$ forge fmt

Deploy

  • Deploy IPRootCollection contract and mint the root ip
$ forge script script/DeployIPRootCollectionAndMint.s.sol:Deploy --broadcast \
    --chain-id 1315 \
    --rpc-url https://aeneid.storyrpc.io \
    --verify \
    --verifier blockscout \
    --verifier-url 'https://aeneid.storyscan.xyz/api/'
  • Deploy IPCollection contract
$ forge script script/DeployIPCollection.s.sol:Deploy --broadcast \
    --chain-id 1315 \
    --rpc-url https://aeneid.storyrpc.io \
    --verify \
    --verifier blockscout \
    --verifier-url 'https://aeneid.storyscan.xyz/api/'
  • Deploy TokenFactory contract
forge script script/DeployTokenFactory.s.sol:Deploy  --broadcast \
    --chain-id 1315 \
    --rpc-url https://aeneid.storyrpc.io \
    --verify \
    --verifier blockscout \
    --verifier-url 'https://aeneid.storyscan.xyz/api/'
  • Set new bonding curve
forge script script/SetNewBondingCurve.s.sol --broadcast \
    --chain-id 1514 \
    --rpc-url https://mainnet.storyrpc.io \
    --verify \
    --verifier blockscout \
    --verifier-url 'https://storyscan.xyz/api/'
  • Set new token implementation
forge script script/SetNewTokenImplementation.s.sol --broadcast \
    --chain-id 1514 \
    --rpc-url https://mainnet.storyrpc.io \
    --verify \
    --verifier blockscout \
    --verifier-url 'https://storyscan.xyz/api/'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •