Installation and setup
yarn rw setup webpack
yarn workspace web add react-markdown @tailwindcss/typography
Now update webpack to load ".md"
name: Chromatic | |
on: | |
push: | |
jobs: | |
chromatic-deployment: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 |
name: Chromatic | |
on: | |
push: | |
jobs: | |
chromatic-deployment: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 |
pragma solidity ^0.5.0; | |
/** | |
* @dev Standard math utilities missing in the Solidity language. | |
*/ | |
library Math { | |
/** | |
* @dev Returns the largest of two numbers. | |
*/ |
# Adapted from https://github.com/users/jeliasson/packages/container/package/redwoodjs-app-api-main | |
# Force redeploy | |
name: "redwoodjs-app-main" | |
on: | |
push: | |
branches: | |
- main |
[ | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "owner", | |
"type": "address" | |
}, |
[ | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "owner", | |
"type": "address" | |
}, |
pragma solidity ^0.7.0; | |
import {ERC20} from "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.2.0-solc-0.7/contracts/token/ERC20/ERC20.sol"; | |
contract GRT is ERC20 { | |
constructor () | |
ERC20 ("Graph token", "GRT") | |
{ | |
_mint(msg.sender, 100e18); |
pragma solidity ^0.7.0; | |
import { | |
ISuperfluid, | |
ISuperToken, | |
ISuperApp, | |
ISuperAgreement, | |
SuperAppDefinitions | |
} from "https://github.com/superfluid-finance/protocol-monorepo/blob/remix-support-soda-machine/packages/ethereum-contracts/contracts/interfaces/superfluid/ISuperfluid.sol"; | |
import { |
Installation and setup
yarn rw setup webpack
yarn workspace web add react-markdown @tailwindcss/typography
Now update webpack to load ".md"
Had to change docker go-ipfs version down to v0.4.21
?
https://github.com/ipfs/go-ipfs
ssh -L 127.0.0.1:8020:127.0.0.1:8020 patrick@<IP>
http post localhost:8020 jsonrpc="2.0" id="1" method="subgraph_create" params:='{"name": "rtoken-project/rdai"}'
# id: a6cfb81317e96b821b0f8f40dafc7334