Skip to content

Instantly share code, notes, and snippets.

View snaketh4x0r's full-sized avatar
💭
move fast and break things

snaketh4x0r snaketh4x0r

💭
move fast and break things
View GitHub Profile
C:\Users\lazypuppet\ethereum\snaketh4x0r\BurnAuctionProject>npm run test
> BurnActionProject@0.1.0 test C:\Users\lazypuppet\ethereum\snaketh4x0r\BurnAuctionProject
> truffle test --compile-all
Using network 'development'.
Compiling your contracts...
===========================
C:\Users\lazypuppet\ethereum\snaketh4x0r\BurnAuctionProject>npm run test
> BurnActionProject@0.1.0 test C:\Users\lazypuppet\ethereum\snaketh4x0r\BurnAuctionProject
> truffle test --compile-all
Using network 'development'.
Compiling your contracts...
===========================
C:\Users\lazypuppet\ethereum\snaketh4x0r\BurnAuctionProject>npm run test
> BurnActionProject@0.1.0 test C:\Users\lazypuppet\ethereum\snaketh4x0r\BurnAuctionProject
> truffle test --compile-all
Using network 'development'.
Compiling your contracts...
===========================
C:\Users\lazypuppet\ethereum\snaketh4x0r\BurnAuctionProject>
C:\Users\lazypuppet\ethereum\snaketh4x0r\BurnAuctionProject>cd ..
C:\Users\lazypuppet\ethereum\snaketh4x0r>cd hubble-contracts
C:\Users\lazypuppet\ethereum\snaketh4x0r\hubble-contracts>npm i
npm WARN tarball tarball data for truffle@5.1.31 (sha512-T9CJ90qInf+/rFxSLdF/nhTZNUV8cZx70iO0EsqXWm6ibcC5/dzRDDfl6FC/xLndpnKZIhs4RJL0TEG7rLohJg==) seems to be corrupted. Trying one more time.
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\lazypuppet\ethereum\snaketh4x0r\hubble-contracts\node_modules\.staging\date-fns-c47c0f74\esm\getWeekOfMonth\index.js.flow'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\lazypuppet\ethereum\snaketh4x0r\hubble-contracts\node_modules\.staging\rxjs-640f7a87\add\operator\auditTime.d.ts'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\lazypuppet\ethereum\snaketh4x0r\hubble-contracts\node_modules\.staging\rxjs-640f7a87\internal\operators\auditTime.d.ts'
pragma solidity ^0.6.1;
//RollupInterface which we saw previously is inherited
import './RollupInterface.sol';
contract RollupBurnAuction {
//Rollup inetrface instance declaration
// Rollup smart contract address
C:\Users\lazypuppet\subgraphtest3>graph init
√ Subgraph name · shopfs/shopfssubgraph4
√ Directory to create the subgraph in · shopfssubgraph4
√ Ethereum network · rinkeby
√ Contract address · 0xaad639b52aa20aa5147014e9bfb1856b3a429d98
√ Fetching ABI from Etherscan
———
Generate subgraph from ABI
Write subgraph to directory
√ Create subgraph scaffold
C:\Users\lazypuppet\subgraphtest3>graph init
√ Subgraph name · shopfs/shopfssubgraph4
√ Directory to create the subgraph in · shopfssubgraph4
√ Ethereum network · rinkeby
√ Contract address · 0xaad639b52aa20aa5147014e9bfb1856b3a429d98
√ Fetching ABI from Etherscan
———
Generate subgraph from ABI
Write subgraph to directory
√ Create subgraph scaffold
@snaketh4x0r
snaketh4x0r / webpack.local.js
Created July 21, 2020 21:33
how-to-get-access-to-webpack-dev-server-from-devices-in-local-network
const merge = require("webpack-merge");
const common = require("./webpack.common.js");
module.exports = merge(common, {
mode: "development",
devtool: "inline-source-map",
devServer: {
historyApiFallback: true,
hot: true,
host: "0.0.0.0",
//start space daemon
//migrate to test directory and run this script
global.XMLHttpRequest = require("xmlhttprequest").XMLHttpRequest;
const { SpaceClient } = require('@fleekhq/space-client');
// default port exposed by the daemon for client connection is 9998
const client = new SpaceClient({
url: `http://0.0.0.0:9998`,
});
const asyncFunc = async () => {
C:\Users\lazypuppet\ethereum\snaketh4x0r\AAVE-Pool-Together\ethereum>truffle compile
Compiling your contracts...
===========================
> Compiling @openzeppelin/contracts-ethereum-package/contracts/Initializable.sol
> Compiling @openzeppelin/contracts-ethereum-package/contracts/access/Ownable.sol
> Compiling @openzeppelin\contracts-ethereum-package\contracts\GSN\Context.sol
> Compiling @openzeppelin\contracts-ethereum-package\contracts\Initializable.sol
> Compiling .\contracts\Initializable.sol