finmath smart derivative contracts


Smart Contract Specification (Solidity)

Smart Derivative Contract (ERC-6123)

See https://eips.ethereum.org/EIPS/eip-6123

Secure Delivery-versus-Payment (ERC-7573)

See ERC 7573.

Unit Tests

To run the unit tests, switch to directory solidity. Launch test nodes via hardhat (npx hardhat node). Then run the unit test via hardhat (npx hardhat test).

cd solidity
npm i
npx hardhat node
npx hardhat test