eluv-io / contracts

Eluvio Content Management Smart Contracts
MIT License
10 stars 0 forks source link

Payments #96

Closed elv-preethi closed 2 years ago

elv-preethi commented 2 years ago

Includes payments solidity files and tests from https://github.com/elv-sandeep/paygate-eth

install dependencies: forge install To compile: forge build To test: forge test To generate abigen: ./build-go-payments.sh <Solc_0_8_13_folder_path> abigen generated file is present in common-go/payments Also, the script generates abi and bin and it is present in dist/payments

elv-preethi commented 2 years ago

Since we use OpenZeppelin, not sure how to import those alias path in abigen but it was possible using solc. So, ran abigen on abi and binary generated using solc.