Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the implementation of the truebit package for publication #49

Open
wants to merge 25 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
618339c
Remove node_modules folder from truebit-implementation
felipecespedes Dec 12, 2018
17a9b75
Remove build folder from truebit-implementation
felipecespedes Dec 12, 2018
6635d49
Remove package-lock from truebit-implementation
felipecespedes Dec 12, 2018
fd25b77
Improves the truebit-implementation
felipecespedes Dec 12, 2018
f1cfa8c
Add contract updates
felipecespedes Jan 21, 2019
d9bb794
fix dependecies
felipecespedes Jan 21, 2019
6b318a1
Latest updates to IICO.sol
jsguerrero7 Feb 5, 2019
9b93ee5
Package.json updated
jsguerrero7 Feb 5, 2019
8451935
Poke reward is public constant
jsguerrero7 Feb 5, 2019
2281a58
Package.json updated
jsguerrero7 Feb 5, 2019
91609f5
Package.json updated
jsguerrero7 Feb 5, 2019
cfee53d
include latest updates to IICO.sol
felipecespedes Feb 7, 2019
d70e85b
version 0.0.8
felipecespedes Feb 7, 2019
0761f62
add functionality to deploy into the infura network easily
felipecespedes Feb 18, 2019
8645a3d
ignore .env file
felipecespedes Feb 18, 2019
38c47fe
Update README.md
felipecespedes Feb 18, 2019
254adb6
update npmignore
felipecespedes Feb 18, 2019
652a032
Package.json updated
jsguerrero7 Feb 19, 2019
50a6509
Latest changes to IICO.sol
jsguerrero7 Feb 19, 2019
3e6f2c6
truffle-config.js updated
jsguerrero7 Feb 19, 2019
44f34de
Latest changes from Surya
jsguerrero7 Feb 19, 2019
1233ef3
Add script to export the IICO ABI. version 1.0.0
felipecespedes Mar 5, 2019
bd6fa23
Remove export of the IICO. version 2.0.0
felipecespedes Mar 5, 2019
9481c89
New changes from Surya for Poking+Reward
jsguerrero7 Mar 6, 2019
f13e665
Package.json new version
jsguerrero7 Mar 6, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# http://editorconfig.org
# Editor configuration, see http://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
max_line_length = off
trim_trailing_whitespace = false
2 changes: 2 additions & 0 deletions truebit-implementation/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
MNENOMIC=
INFURA_API_KEY=
4 changes: 4 additions & 0 deletions truebit-implementation/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/node_modules
/build
package-lock.json
.env
6 changes: 6 additions & 0 deletions truebit-implementation/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/node_modules
package-lock.json
.editorconfig
.env
/screenshots
/test
30 changes: 30 additions & 0 deletions truebit-implementation/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# truebit-iico-beta-dev

## How to deploy the contract into the infura-rinkeby network

- Clone this repository
- Open the `truebit-implementation` folder
- Install the dependencies using `npm install`
- Add the required variables to to the `.env` file:

**MNEMONIC** is the mnemonic of your wallet, if you are using metamask you can get this under **Setting > Reveal Seed Words**

**INFURA_API_KEY** is the API KEY provided by infura

- Deploy the contract using `npm run deploy-contract-infura`
- You will see the deployed contact address on the console
![contract_address](./screenshots/deploying_contract.PNG "contract_address")

**Notes:**
- Rember to whitelist the contract address in the infura dashboard in order to use it
- Please do not commit/push changes in the `.env` file to this repository

### Changelog

- **Breaking Changes:** starting in version `1.0.0` you should import the `IICO` and `IICOABI` like:

```js
import { IICO, IICOABI } from 'truebit-iico-beta-dev';
```

- **Breaking Changes:** starting in version `2.0.0` you can only import the `IICOABI`
12,211 changes: 0 additions & 12,211 deletions truebit-implementation/build/contracts/ERC20.json

This file was deleted.

1,000 changes: 0 additions & 1,000 deletions truebit-implementation/build/contracts/ERC20Mintable.json

This file was deleted.

Loading