farcasterxyz / docs Goto Github PK
View Code? Open in Web Editor NEWFarcaster documentation website
Home Page: https://docs.farcaster.xyz
Farcaster documentation website
Home Page: https://docs.farcaster.xyz
The notion links shared here are not publicly accessible.
There are a few grammatical and textual errors found in the official Farcaster documentation.
There is an snippet in our examples but it's hard to find.
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
If I open the QR code dialog in the official demo https://docs.farcaster.xyz/auth-kit/introduction and then close it, the browser continues to make requests to the API https://relay.farcaster.xyz/v1/channel/status
The AWS EC2 and Digital Ocean tutorials redirect users from farcaster.xyz to external Notion pages
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.
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.
On the official website farcaster.xyz in the tutorial section there is no tutorial for GCP.
Looks like the tutorials on https://www.farcaster.xyz/devs point to a non-existent links, for example the "create a feed" tutorial links to https://docs.farcaster.xyz/developers/examples#fetch-a-chronological-feed which returns 404
We have a linter configured, but should also:
The frames spec document (https://github.com/farcasterxyz/docs/blob/main/docs/reference/frames/spec.md) states:
The Signed Message can be validated by calling the validateMessage API on Hubs, as shown in the script below.
However there is no example in the document.
Instead the doc should show or link the idiomatic way to validate the frame message from the octet string.
For devs building on top of Farcaster building their web3 social app, they will need to be able to:
I think this can be two additional pages:
This will provide a list of user recommendations to follow, that will include 0x address, farcaster id, farcaster name
I am thinking under the Developer section, but if there's any suggestion I am open to it.
The current FAQ section on app FIDs could be made clearer and more informative. I propose the following changes to the "What is an app fid? How do I get one?" section:
Add a clear definition of FIDs
Explain why FIDs are necessary
Provide a detailed guide on how to register an app fid
This will help new users, like me, understand the importance of FIDs and how to get one for their applications.
See the [Key Registry](/reference/contracts/reference/id-registry#add) reference for more
details.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.