Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
JackBekket committed Dec 7, 2022
1 parent 4362aae commit ba198a3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 124 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@


## Generating ABI
```
solc --abi --bin ./contracts/FactoryNFT.sol -o build ..=.. --overwrite --allow-paths *,/node_modules/,
solc --abi --bin ./contracts/SampleNFT.sol -o build ..=.. --overwrite --allow-paths *,/node_modules/,
solc --abi --bin ./contracts/SingletonNFT.sol -o build ..=.. --overwrite --allow-paths *,/node_modules/,
```


## Generating GO
```
abigen --abi="build/FactoryNFT.abi" --pkg=FactoryNFT --out="./go/FactoryNFT/FactoryNFT.go"
abigen --abi="build/SingletonNFT.abi" --pkg=SingletonNFT --out="./go/SingletonNFT/SingletonNFT.go"
```



# Sample Hardhat Project

This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, and a script that deploys that contract.
Expand Down
124 changes: 0 additions & 124 deletions test/Lock.ts

This file was deleted.

0 comments on commit ba198a3

Please sign in to comment.