This repository has been archived by the owner on Mar 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
Setup dApp skeleton #7
Closed
Closed
Changes from 5 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
295a8e5
added package.json
liamzebedee 2fc2e9c
Added index
liamzebedee c0be8e3
ignore .next
liamzebedee 8883ba1
Add more deps
liamzebedee 7e32fc0
Add simple circleci build step
liamzebedee 1e8061c
setup basic skeleton
liamzebedee c004348
next conf
liamzebedee f336407
Landing page done
liamzebedee 874ae33
dapp page flows complete
liamzebedee 0f70112
pages share layout now
liamzebedee 0ddb279
Fixed styled-components issue
liamzebedee 3baf7fe
Form step layout, left aligned icons
liamzebedee ea3a89b
Building interactivity with sagas
liamzebedee 51932e3
routing via saga, btcAddress loaded from store
liamzebedee 2a492a7
AwaitDepositConfirmation container
liamzebedee ffed120
AwaitDepositConfirmation sagas
liamzebedee 8ac86f2
Full e2e flow with logic
liamzebedee 2ec43f5
Cleanup actions
liamzebedee 1a08f00
Remove old dep ConnectedRouter
liamzebedee 296e861
Document setup in README
liamzebedee d95b88f
Moved into app/
liamzebedee 789e317
😋 tasty styling
liamzebedee 75123b8
Fixed address box width inconsistency
liamzebedee File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"presets": ["next/babel"], | ||
"plugins": [["styled-components", { "ssr": true }]] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
version: 2.1 | ||
|
||
executors: | ||
docker-node: | ||
docker: | ||
- image: circleci/node:11 | ||
|
||
jobs: | ||
test_solidity: | ||
executor: docker-node | ||
steps: | ||
- checkout | ||
- run: npm i | ||
- run: npm run build | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
node_modules | ||
yarn.lock | ||
.next |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
# tbtc-dapp | ||
# tbtc-dapp | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"name": "tbtc-dapp", | ||
"version": "0.1.0", | ||
"scripts": { | ||
"dev": "next", | ||
"build": "next build", | ||
"start": "next start" | ||
}, | ||
"dependencies": { | ||
"babel-plugin-styled-components": "^1.10.6", | ||
"next": "^9.0.2", | ||
"normalize.css": "^8.0.1", | ||
"react": "^16.8.6", | ||
"react-dom": "^16.8.6", | ||
"react-redux": "^7.1.0", | ||
"redux": "^4.0.4", | ||
"redux-devtools-extension": "^2.13.8", | ||
"styled-components": "^4.3.2", | ||
"web3": "^1.2.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
const Index = () => { | ||
return <div>Hello tBTC!</div> | ||
} | ||
|
||
export default Index |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if this will work. Maybe we should drop the circleci configuration from this PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haha could you be less specific? Why won't it work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both of you could use some details heh. Based on the commit that introduced this, I have no idea what you're trying to achieve. What's the purpose of adding this? That will probably help Kuba understand what is expected to work here.
It certainly doesn't test solidity, which is what your build currently implies 😉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, sorry. This will be executed in the root directory, which doesn't contain these commands definition. We should set
working_directory
for these steps.We should also add workflows specification at the end of the file.
If we want to configure it all in this PR I can give you a hand with it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Closed but responding anyways - good catch guys, this was actually because I moved everything into
app/
to play well with #8's file layout. ATT of that commit @Shadowfiend, it was correct and simply did a build.