Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pinatacloud/concealmint-contracts


https://github.com/pinatacloud/concealmint-contracts

Last synced: 3 days ago
JSON representation

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
```