Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pinatacloud/concealmint-contracts
https://github.com/pinatacloud/concealmint-contracts
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/pinatacloud/concealmint-contracts
- Owner: PinataCloud
- Created: 2024-12-07T12:47:02.000Z (17 days ago)
- Default Branch: main
- Last Pushed: 2024-12-13T16:20:54.000Z (10 days ago)
- Last Synced: 2024-12-13T17:38:27.609Z (10 days ago)
- Language: Solidity
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Concealmint Contacts
![cover](./assets/og.png)
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
```