Skip to content

Commit

Permalink
Smart token project
Browse files Browse the repository at this point in the history
  • Loading branch information
stsdaniella committed Mar 2, 2018
1 parent 0613955 commit ec056f2
Show file tree
Hide file tree
Showing 6 changed files with 231 additions and 31 deletions.
3 changes: 3 additions & 0 deletions .gitignore
@@ -0,0 +1,3 @@
node_modules
/build
.specifications
41 changes: 10 additions & 31 deletions README.md
@@ -1,37 +1,16 @@
## Welcome to GitHub Pages
"# My project's README"

You can use the [editor on GitHub](https://github.com/bittwatt/BittWattToken/edit/master/README.md) to maintain and preview the content for your website in Markdown files.
1. Clone this repository.

Whenever you commit to this repository, GitHub Pages will run [Jekyll](https://jekyllrb.com/) to rebuild the pages in your site, from the content in your Markdown files.
2. Install all system dependencies.
npm install

### Markdown
3. Compile contract code
truffle compile

Markdown is a lightweight and easy-to-use syntax for styling your writing. It includes conventions for
4. Run the personal blockchain for development opting to have the accounts with many ether

```markdown
Syntax highlighted code block
ganache-cli --account="0xee4e871def4e297da77f99d57de26000e86077528847341bc637d2543f8db6e2,10000000000000000000000000" --account="0x4be9f21ddd88e9e66a526d8dbb00d27f6d7b977a186eb5baa87e896087a6055f,10000000000000000000000000" --account="0x09e775e9aa0ac5b5e1fd0d0bca00e2ef429dc5f5130ea769ba14be0163021f16, 10000000000000000000000000" --account="0xed055c1114c433f95d688c8d5e460d3e5d807544c5689af262451f1699ff684f, 10000000000000000000000000" --account="0x3f81b14d33f5eb597f9ad2c350716ba8f2b6c073eeec5fdb807d23c85cf05794,10000000000000000000000000" --account="0x501a3382d37d113b6490e3c4dda0756afb65df2d7977ede59618233c787239f2,10000000000000000000000000" --account="0x3d00e5c06597298b7d70c6fa3ac5dae376ff897763333db23c226d14d48333af, 10000000000000000000000000" --account="0xc00db81e42db65485d6ce98d727f12f2ace251cbf7b24a932c3afd3a356876ad, 10000000000000000000000000" --account="0xd6f7d873e7349c6d522455cb3ebdaa50b525dc6fd34f96b9e09e2d8a22dce925, 10000000000000000000000000" --account="0x13c8853ac12e9e30fda9f070fafe776031cc4d13bee88d7ad4e099601d83c594, 10000000000000000000000000"

# Header 1
## Header 2
### Header 3

- Bulleted
- List

1. Numbered
2. List

**Bold** and _Italic_ and `Code` text

[Link](url) and ![Image](src)
```

For more details see [GitHub Flavored Markdown](https://guides.github.com/features/mastering-markdown/).

### Jekyll Themes

Your Pages site will use the layout and styles from the Jekyll theme you have selected in your [repository settings](https://github.com/bittwatt/BittWattToken/settings). The name of this theme is saved in the Jekyll `_config.yml` configuration file.

### Support or Contact

Having trouble with Pages? Check out our [documentation](https://help.github.com/categories/github-pages-basics/) or [contact support](https://github.com/contact) and we’ll help you sort it out.
5. Testing
truffle test
158 changes: 158 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions package.json
@@ -0,0 +1,21 @@
{
"name": "crowdsale-base",
"version": "1.0.0",
"description": "",
"main": "truffle-config.js",
"directories": {
"test": "test"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"chai-bignumber": "^2.0.2",
"web3": "^0.20.4",
"zeppelin-solidity": "^1.6.0"
}
}
10 changes: 10 additions & 0 deletions truffle-config.js
@@ -0,0 +1,10 @@
module.exports = {
migrations_directory: "./migrations",
networks: {
development: {
host: "localhost",
port: 8545,
network_id: "*" // Match any network id
}
}
};
29 changes: 29 additions & 0 deletions truffle.js
@@ -0,0 +1,29 @@
module.exports = {
migrations_directory: './migrations',
networks: {
live: {
network_id: 1, // Ethereum public network
host: 'localhost',
port: 8545,
gas: 6712388
},
testnet: {
network_id: 3, // Official Ethereum test network (Ropsten)
host: 'localhost',
port: 8545,
gas: 6712388
},
rinkeby: {
network_id: 4,
host: 'localhost',
port: 8545,
gas: 6712388
},
development: {
host: 'localhost',
port: 8545,
gas: 6712388,
network_id: '*'
}
}
};

0 comments on commit ec056f2

Please sign in to comment.