Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
.DS_Store
contracts/.DS_Store

/node_modules
/build/contracts
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,16 @@ Here are the major, core functions:
- As an options trader, you will use partner platforms which will have the same core with various additional features.


### Test

- Tests are written in test.js in test folder
- in optionsmarket.sol, comment out line 17 and uncomment line 18 where we have daiTokenAddress;
- un-comment the setDaiAddress function on line 68
- run truffle develop to run an instance of a local blockchain with generated accounts
- "truffle migrate --reset" or "deploy" to deploy contracts
- there are 2 test tokens created for the purpose of testing
- still within truffle develop, run "test" to run test script

### What's Next

- Adding the ability to tokenize option positions, so they can be bought and sold before expiration. This starts by making simple transfers and transferFrom functions which include the optionID as a parameter. From there, another project or this one can tokenize positions.
Expand Down
7,934 changes: 7,934 additions & 0 deletions build/contracts/Address.json

Large diffs are not rendered by default.

Loading