https://github.com/pinatacloud/concealmint-contracts
https://github.com/pinatacloud/concealmint-contracts
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pinatacloud/concealmint-contracts
- Owner: PinataCloud
- License: mit
- Created: 2024-12-07T12:47:02.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-15T19:52:42.000Z (over 1 year ago)
- Last Synced: 2025-02-13T09:28:44.670Z (over 1 year ago)
- Language: Solidity
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Concealmint Contacts

This repo contains the main ERC721 contract used for [CONCEALMINT](https://concealmint.com) that features a few small differences than the default contract:
- `safeMint` is made public so anyone can mint
- `safeMint` will mint directly to `msg.sender` instead of taking an `address` parameter
- `safeMint` accepts a `uri` parameter on mint as the content is dynamic
- `constructor` does not take in an owner address, instead the `Ownable` constructor uses `msg.sender`
## Usage
### Build
```shell
$ forge build
```
### Test
```shell
$ forge test
```
### Format
```shell
$ forge fmt
```
### Gas Snapshots
```shell
$ forge snapshot
```
### Anvil
```shell
$ anvil
```
### Deploy
```shell
$ forge script script/Counter.s.sol:CounterScript --rpc-url --private-key
```
### Cast
```shell
$ cast
```
### Help
```shell
$ forge --help
$ anvil --help
$ cast --help
```