https://github.com/blocto/spotlight-contracts
https://github.com/blocto/spotlight-contracts
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/blocto/spotlight-contracts
- Owner: blocto
- Created: 2024-12-03T10:07:35.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-03-03T05:35:57.000Z (4 months ago)
- Last Synced: 2025-06-03T20:41:46.314Z (20 days ago)
- Language: Solidity
- Size: 172 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Spotlight Contracts
[](https://github.com/blocto/spotlight-contracts/actions)
**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
```shell
$ forge build
```### Test
```shell
$ forge test
```### Format
```shell
$ forge fmt
```### Deploy
- Deploy IPRootCollection contract and mint the root ip
```shell
$ 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
```shell
$ 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
```shell
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
```shell
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
```shell
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/'
```