Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leye195/nft-mint-test
https://github.com/leye195/nft-mint-test
react solidity wagmi
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/leye195/nft-mint-test
- Owner: leye195
- Created: 2023-05-04T14:21:41.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-17T05:53:59.000Z (10 months ago)
- Last Synced: 2024-03-17T07:59:19.356Z (10 months ago)
- Topics: react, solidity, wagmi
- Language: TypeScript
- Homepage: https://nft-mint-test-six.vercel.app
- Size: 3.9 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NFT Mint Test
## FrontEnd
### How to run?
Install
```
yarn install
```Run
```
yarn dev
```## Contracts
### How to test on local?
**1. Remix(https://remix.ethereum.org/)** (option1)
```
# install @remix-project/remixd
yarn global add @remix-project/remixd# move into contracts folder and run this command
remixd -s . --remix-ide https://remix.ethereum.org/```
Click Access File System and Connect
https://github.com/leye195/nft-mint-test/assets/30601503/be05ed40-665d-47ca-aa5b-5601e1af2bc6
**2. Truffle** (option2)
- install ganache-cli
```
yarn add -D ganache-cli```
- compile & run ganache
```
npx truffle compilenpx ganache-cli --deterministic
```- deploy on local network
```
npx truffle migrate --compile-all --reset --network development
```https://github.com/leye195/nft-mint-test/assets/30601503/8f316893-6b21-408e-86c9-c07cb0749b85
- interact from console
```
# make sure you are on contracts foldernpx truffle console --network development
```https://github.com/leye195/nft-mint-test/assets/30601503/7ddb29e7-24aa-4270-a322-106082bd25c7