{"id":20858931,"url":"https://github.com/secretshardul/kaiak-mobile-number-backend","last_synced_at":"2026-04-19T16:34:43.671Z","repository":{"id":101006163,"uuid":"347398774","full_name":"secretshardul/kaiak-mobile-number-backend","owner":"secretshardul","description":null,"archived":false,"fork":false,"pushed_at":"2021-03-14T12:07:52.000Z","size":168,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-19T07:24:42.245Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/secretshardul.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-13T14:55:25.000Z","updated_at":"2021-03-16T12:19:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"a6c73565-4955-413d-b56a-3c5eb8f2d34e","html_url":"https://github.com/secretshardul/kaiak-mobile-number-backend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secretshardul%2Fkaiak-mobile-number-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secretshardul%2Fkaiak-mobile-number-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secretshardul%2Fkaiak-mobile-number-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secretshardul%2Fkaiak-mobile-number-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/secretshardul","download_url":"https://codeload.github.com/secretshardul/kaiak-mobile-number-backend/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243230100,"owners_count":20257644,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T04:48:06.228Z","updated_at":"2025-12-26T16:52:44.689Z","avatar_url":"https://github.com/secretshardul.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Near setup\n- Compile and deploy contract\n\n    ```sh\n    cd contract\n    node compile.js --debug\n    near dev-deploy build/debug/greeter.wasm\n    ```\n\n- Initialize contract in frontend\n\n    ```js\n    const contractName = 'mycontract.testnet' // contract or account name\n    window.contract = await new Contract(window.walletConnection.account(), contractName, {\n        viewMethods: ['getGreeting'],\n        changeMethods: ['setGreeting'],\n    })\n    ```\n\n- Write to contract\n\n    ```js\n    await window.contract.setGreeting({\n      message: 'hello world'\n    })\n    ```\n\n- Read from contract\n\n    ```js\n    currentGreeting = await contract.getGreeting({ accountId: window.accountId })\n    ```\n\n# Twilio verification\n1. Send OTP\n    ```sh\n    curl 'https://verify.twilio.com/v2/Services/VA4777f711dc9cf933c305e3fb223d7bae/Verifications' -X POST \\\n    --data-urlencode 'To=+919619477301' \\\n    --data-urlencode 'Channel=sms' \\\n    -u key:key\n    ```\n\n2. Verify on server\n    ```sh\n    curl 'https://verify.twilio.com/v2/Services/VA4777f711dc9cf933c305e3fb223d7bae/VerificationCheck' -X POST \\\n    --data-urlencode 'To=+919619477301' \\\n    --data-urlencode 'Channel=sms' \\\n    --data-urlencode 'Code=703356' \\\n    -u key:key\n    ```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecretshardul%2Fkaiak-mobile-number-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsecretshardul%2Fkaiak-mobile-number-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecretshardul%2Fkaiak-mobile-number-backend/lists"}