Giter VIP home page Giter VIP logo

docs's People

Contributors

0x330a avatar 0xfloyd avatar 0xicosahedron avatar adityapk00 avatar akshaan avatar cmlad avatar compusophy avatar dawsbot avatar deodad avatar dependabot[bot] avatar devanoneth avatar goksu avatar gsgalloway avatar hboon avatar horsefacts avatar huntertdiamond avatar jamesdawsonwd avatar jarrensj avatar jtgi avatar kasparkallas avatar netwalker108 avatar nnsw3 avatar polluterofminds avatar sanjayprabhu avatar shahbaz17 avatar starit avatar tanishqsh avatar turbahn avatar varunsrin avatar ziad-saab avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

docs's Issues

Add vite details to docs

I spent quite some time trying to figure out why my vite project was not working when I did everything per this guide.
https://docs.farcaster.xyz/auth-kit/installation
this should include instructions to install vite node polyfills
"vite-plugin-node-polyfills": "^0.21.0"
And configure it in vite.config.ts
plugins: [react(), nodePolyfills({ include: ["buffer"] })],
Sorry for not contributing with a PR, but I think the person in charge of docs can change this way faster than me.

Inexistent `getSignedKeyRequestMetadata` helper

According to the example here, there should be a helper function available for NobleEd25519Signer.
Although, it's not declared in any reachable (at least for myself) place.

Pulled from @farcaster/core 0.14.0:
image

UX bug with emojis drop-down menu scrolling

I'm unsure where to submit such a bug, so I posted it here.

This drop-down box should work fine when scrolling by the mouse wheel, but it does not.
image

The only way is the slider
warpcast

win10, Chrome 125.0.6422.112

ci: impove linting

We have a linter configured, but should also:

  • make it run in CI
  • set up git commit hooks with husky so that it auto-lints before you commit
  • configure vscode configs to auto-lint on save

Error at step 2 according to document

Hi, team
When I copied script below, and hit run buttom, IDE appears below.How could I fix it and process installation going on.

————————
const { providers, Contract, utils } = require("ethers");
const got = require("got");

const doStuff = async () => {
const ALCHEMY_SECRET = 'https://xxxxxxxx (I already hidden my secrect) xxxxxxxxxxxxxx'; // Replace with your secret
const provider = new providers.AlchemyProvider('rinkeby', ALCHEMY_SECRET);

const block = await provider.getBlockNumber();

console.log("The latest Ethereum block is:", block);
}

doStuff();

——————————

ERROR info:
Hint: hit control+c anytime to enter REPL.
/home/runner/StripedDeafeningQuarks/node_modules/@ethersproject/logger/lib/index.js:233
var error = new Error(message);
^

Error: bad response (status=404, headers={"date":"Fri, 15 Jul 2022 01:51:10 GMT","content-type":"application/json","content-length":"364","connection":"close"}, body="{"message":"Not Found","logref":null,"path":null,"_links":{"self":{"href":"/v2/https://eth-rinkeby.alchemyapi.io/v2/ZbO_pO5nfjUMrNe9rwV1p9nZ2L4C-eY8\",\"templated\":false,\"profile\":null,\"deprecation\":null,\"title\":null,\"hreflang\":null,\"type\":null,\"name\":null}},\"_embedded\":{\"errors\":[{\"message\":\"Page Not Found","logref":null,"path":null,"_links":{},"_embedded":{}}]}}", requestBody="{"method":"eth_blockNumber","params":[],"id":42,"jsonrpc"
Hint: hit control+c anytime to enter REPL.
/home/runner/StripedDeafeningQuarks/node_modules/@ethersproject/logger/lib/index.js:233
var error = new Error(message);
^

Error: bad response (status=404, headers={"date":"Fri, 15 Jul 2022 01:52:38 GMT","content-type":"application/json","content-length":"364","connection":"close"}, body="{"message":"Not Found","logref":null,"path":null,"_links":{"self":{"href":"/v2/https://eth-rinkeby.alchemyapi.io/v2/ZbO_pO5nfjUMrNe9rwV1p9nZ2L4C-eY8\",\"templated\":false,\"profile\":null,\"deprecation\":null,\"title\":null,\"hreflang\":null,\"type\":null,\"name\":null}},\"_embedded\":{\"errors\":[{\"message\":\"Page Not Found","logref":null,"path":null,"_links":{},"_embedded":{}}]}}", requestBody="{"method":"eth_blockNumber","params":[],"id":42,"jsonrpc"
Hint: hit control+c anytime to enter REPL.
/home/runner/StripedDeafeningQuarks/node_modules/@ethersproject/logger/lib/index.js:233
var error = new Error(message);
^

Error: bad response (status=404, headers={"date":"Fri, 15 Jul 2022 01:56:37 GMT","content-type":"application/json","content-length":"364","connection":"close"}, body="{"message":"Not Found","logref":null,"path":null,"_links":{"self":{"href":"/v2/https://eth-rinkeby.alchemyapi.io/v2/ZbO_pO5nfjUMrNe9rwV1p9nZ2L4C-eY8\",\"templated\":false,\"profile\":null,\"deprecation\":null,\"title\":null,\"hreflang\":null,\"type\":null,\"name\":null}},\"_embedded\":{\"errors\":[{\"message\":\"Page Not Found","logref":null,"path":null,"_links":{},"_embedded":{}}]}}", requestBody="{"method":"eth_blockNumber","params":[],"id":42,"jsonrpc":"2.0"}", requestMethod="POST", url="https://eth-rinkeby.alchemyapi.io/v2/https://eth-rinkeby.alchemyapi.io/v2/ZbO_pO5nfjUMrNe9rwV1p9nZ2L4C-eY8", code=SERVER_ERROR, version=web/5.6.1)
at Logger.makeError (/home/runner/StripedDeafeningQuarks/node_modules/@ethersproject/logger/lib/index.js:233:21)
at Logger.throwError (/home/runner/StripedDeafeningQuarks/node_modules/@ethersproject/logger/lib/index.js:242:20)
at /home/runner/StripedDeafeningQuarks/node_modules/@ethersproject/web/lib/index.js:267:36
at step (/home/runner/StripedDeafeningQuarks/node_modules/@ethersproject/web/lib/index.js:33:23)
at Object.next (/home/runner/StripedDeafeningQuarks/node_modules/@ethersproject/web/lib/index.js:14:53)
at fulfilled (/home/runner/StripedDeafeningQuarks/node_modules/@ethersproject/web/lib/index.js:5:58) {
reason: 'bad response',
code: 'SERVER_ERROR',
status: 404,
headers: {
date: 'Fri, 15 Jul 2022 01:56:37 GMT',
'content-type': 'application/json',
'content-length': '364',
connection: 'close'
},
body: '{"message":"Not Found","logref":null,"path":null,"_links":{"self":{"href":"/v2/https://eth-rinkeby.alchemyapi.io/v2/ZbO_pO5nfjUMrNe9rwV1p9nZ2L4C-eY8","templated":false,"profile":null,"deprecation":null,"title":null,"hreflang":null,"type":null,"name":null}},"_embedded":{"errors":[{"message":"Page Not Found","logref":null,"path":null,"_links":{},"_embedded":{}}]}}',
requestBody: '{"method":"eth_blockNumber","params":[],"id":42,"jsonrpc":"2.0"}',
requestMethod: 'POST',
url: 'https://eth-rinkeby.alchemyapi.io/v2/https://eth-rinkeby.alchemyapi.io/v2/ZbO_pO5nfjUMrNe9rwV1p9nZ2L4C-eY8'
}
repl process died unexpectedly: exit status 1
image

Outline for Adding Profile Resolution + Recommendation Engine as Resources for Farcaster Developer

Why add this?

For devs building on top of Farcaster building their web3 social app, they will need to be able to:

  • Resolve Farcaster to other identities: resolving Farcaster to either 0x address and ENS or the other way around, is beneficial for finding other user's Farcaster or displaying their 0x address and ENS name (if any) in their profile page
  • Build Recommendation Engine: providing recommendations of users to follow

Outline

I think this can be two additional pages:

  1. Resolve Farcaster
  • Overview –> Explain what it is and the use cases
  • Get started –> Explain how Airstack can help this and how to get started
  • Get Farcaster Name by ID –> Show the GraphQL query example
  • Resolving Farcaster to 0x address and ENS –> Show the GraphQL query example; Reference
  • Resolving 0xaddress or ENS to Farcaster (Reverse Resolve) –> Show the GraphQL query example; Reference
  1. Recommendation Engine

This will provide a list of user recommendations to follow, that will include 0x address, farcaster id, farcaster name

  • Overview –> Explain what it is and the use cases
  • Get started –> Explain how Airstack can help this and how to get started
  • Recommendation by NFTs –> Show the GraphQL query example; Reference
  • Recommendation by POAPs –> Show the GraphQL query example; Reference
  • Recommendation by Token Transfers –> Show the GraphQL query example; Reference

Where to put this?

I am thinking under the Developer section, but if there's any suggestion I am open to it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.