You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This oracle stores data from the twitter API. Instantiating this component makes it possible to administer this data and make it available to those who need it within the data ledger
4
+
For example is the radixdlt user account followed by the cyover user account? Or has a tweet been liked by cyover user account ?
5
+
This data can be useful for automating airdrops. An example of component automating the airdrop was created to test this Oracle (AirdropWithTweeterOracle)
4
6
5
-
## Available Scripts
7
+
## Quick Start
6
8
7
-
### npm start
9
+
1. Build scrypto : `./scrypto/build.sh`
10
+
2. Test TweeterOracle with shell: `cd ./tweeter-oracle/scrypto/tweeter-oracle/demo && ./tweeter_oracle.sh`
11
+
3. Test TweeterOracle on web browser : `npm install && npm start` and Open http://localhost:8080 to view it in the browser.
8
12
9
-
Runs the app in the development mode.
10
-
Open http://localhost:8080 to view it in the browser.
13
+
# AirdropWithTweeterOracle
14
+
This component allows airdrop automation. A certain number of tasks are defined by the creators of the airdrop component : Follow 1 and/or more accounts, like a tweet and/or more tweets and/retweet one or more tweets.
15
+
Users register for the airdrop via the Register method by specifying their tweeter account and receive in return a non-fungible token to claim the amount of the airdrop when possible.
16
+
At the stage of finalizing the airdrop method (finalize_airdrop) the Tweeter_oracle component is used to verify that all tasks have been executed by subscribers.
11
17
12
-
The page will reload if you make edits.
13
-
You will also see any lint errors in the console.
14
-
15
-
### npm run build
16
-
17
-
Builds a static copy of your site to the `build/` folder.
18
-
Your app is ready to be deployed!
19
-
20
-
**For the best production performance:** Add a build bundler plugin like [@snowpack/plugin-webpack](https://github.com/snowpackjs/snowpack/tree/main/plugins/plugin-webpack) or [snowpack-plugin-rollup-bundle](https://github.com/ParamagicDev/snowpack-plugin-rollup-bundle) to your `snowpack.config.mjs` config file.
21
-
22
-
### Q: What about Eject?
23
-
24
-
No eject needed! Snowpack guarantees zero lock-in, and CSA strives for the same.
18
+
## Quick Start
19
+
1. tests AirdropWithTweeterOracle with shell: `cd ./tweeter-oracle/scrypto/tweeter-oracle/demo && ./airdrop_with_tweeter_oracle.sh`
0 commit comments