+ 构建智能合约、去中心化应用及原生跨链应用,从未如此简单。 +
+ ++ 使用 Rust、JavaScript、TypeScript 或 Python 编写智能合约。通过单条命令快速生成可运行的项目,然后构建、测试并部署。 +
+ + 开始快速入门 → + +
+ 使用 near-api-js 和 Wallet Selector 对用户进行身份验证,并从任意前端框架调用智能合约。
+
+ 使用链签名派生门限密钥,并在任意区块链上签署交易——全部通过单个 NEAR 账户完成,无需桥接或封装资产。 +
+ + 立即开始 → + ++ + ```bash + [ + 'ref-finance.sputnik-dao.near' + 'gaming-dao.sputnik-dao.near', + ... + ] + ``` + +
++ + ```bash + [ + { + id: 9262, + proposer: 'pasternag.near', + description: 'NEAR, a top non-EVM blockchain, has gone live on Router's Testnet Mandara. With Router Nitro, our flagship dApp, users in the NEAR ecosystem can now transfer test tokens to and from NEAR onto other supported chains. $$$$https://twitter.com/routerprotocol/status/1727732303491961232', + kind: { + Transfer: { + token_id: '', + receiver_id: 'pasternag.near', + amount: '500000000000000000000000', + msg: null + } + }, + status: 'Approved', + vote_counts: { council: [ 1, 0, 0 ] }, + votes: { 'brzk-93444.near': 'Approve' }, + submission_time: '1700828277659425683' + }, + { + id: 9263, + proposer: 'fittedn.near', + description: 'How to deploy BOS component$$$$https://twitter.com/BitkubAcademy/status/1728003163318563025?t=PiN6pwS380T1N4JuQXSONA&s=19', + kind: { + Transfer: { + token_id: '', + receiver_id: 'fittedn.near', + amount: '500000000000000000000000', + msg: null + } + }, + status: 'InProgress', + vote_counts: { 'Whitelisted Members': [ 1, 0, 0 ] }, + votes: { 'trendheo.near': 'Approve' }, + submission_time: '1700832601849419123' + } + ] + ``` + +
++ + ```json + { + "token_contract_id": "token.v2.ref-finance.near", + "price": "0.08153090" + } + ``` +
++ + ```json + { + "token.v2.ref-finance.near": "0", + "wrap.near": "0" + } + ``` +
++ + ```bash + { + 'token.v2.ref-finance.near': '0', + 'wrap.near': "0" + } + ``` +
++ + ```bash + { + 'token.v2.ref-finance.near': '0', + 'wrap.near': "0" + } + ``` + +
++ + ```js + [ + { + pool_kind: 'SIMPLE_POOL', + token_account_ids: ['token.skyward.near', 'wrap.near'], + amounts: ['51865812079751349630100', '6254162663147994789053210138'], + total_fee: 30, + shares_total_supply: '1305338644973934698612124055', + amp: 0, + }, + { + pool_kind: 'SIMPLE_POOL', + token_account_ids: [ + 'c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.factory.bridge.near', + 'wrap.near', + ], + amounts: ['783621938569399817', '1100232280852443291118200599'], + total_fee: 30, + shares_total_supply: '33923015415693335344747628', + amp: 0, + }, + ]; + ``` +
++ + ```bash + [ + { + pool_kind: 'SIMPLE_POOL', + token_account_ids: [ 'token.skyward.near', 'wrap.near' ], + amounts: [ '51865812079751349630100', '6254162663147994789053210138' ], + total_fee: 30, + shares_total_supply: '1305338644973934698612124055', + amp: 0 + }, + { + pool_kind: 'SIMPLE_POOL', + token_account_ids: [ + 'c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.factory.bridge.near', + 'wrap.near' + ], + amounts: [ '783621938569399817', '1100232280852443291118200599' ], + total_fee: 30, + shares_total_supply: '33923015415693335344747628', + amp: 0 + } + ] + ``` +
++ + ```bash + [ + { + pool_kind: 'SIMPLE_POOL', + token_account_ids: [ 'token.skyward.near', 'wrap.near' ], + amounts: [ '51865812079751349630100', '6254162663147994789053210138' ], + total_fee: 30, + shares_total_supply: '1305338644973934698612124055', + amp: 0 + }, + { + pool_kind: 'SIMPLE_POOL', + token_account_ids: [ + 'c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.factory.bridge.near', + 'wrap.near' + ], + amounts: [ '783621938569399817', '1100232280852443291118200599' ], + total_fee: 30, + shares_total_supply: '33923015415693335344747628', + amp: 0 + } + ] + ``` +
++ + ```bash + '5019606679394603179450' + ``` +
++ + ```bash + '5019606679394603179450' + ``` +
++ + ```json + { + "spec": "ft-1.0.0", + "name": "Ref Finance Token", + "symbol": "REF", + "icon": "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='16 24 248 248' style='background: %23000'%3E%3Cpath d='M164,164v52h52Zm-45-45,20.4,20.4,20.6-20.6V81H119Zm0,18.39V216h41V137.19l-20.6,20.6ZM166.5,81H164v33.81l26.16-26.17A40.29,40.29,0,0,0,166.5,81ZM72,153.19V216h43V133.4l-11.6-11.61Zm0-18.38,31.4-31.4L115,115V81H72ZM207,121.5h0a40.29,40.29,0,0,0-7.64-23.66L164,133.19V162h2.5A40.5,40.5,0,0,0,207,121.5Z' fill='%23fff'/%3E%3Cpath d='M189 72l27 27V72h-27z' fill='%2300c08b'/%3E%3C/svg%3E%0A", + "reference": null, + "reference_hash": null, + "decimals": 18 + } + ``` + +
++ + ```bash + { + spec: "ft-1.0.0", + name: "Ref Finance Token", + symbol: "REF", + icon: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='16 24 248 248' style='background: %23000'%3E%3Cpath d='M164,164v52h52Zm-45-45,20.4,20.4,20.6-20.6V81H119Zm0,18.39V216h41V137.19l-20.6,20.6ZM166.5,81H164v33.81l26.16-26.17A40.29,40.29,0,0,0,166.5,81ZM72,153.19V216h43V133.4l-11.6-11.61Zm0-18.38,31.4-31.4L115,115V81H72ZM207,121.5h0a40.29,40.29,0,0,0-7.64-23.66L164,133.19V162h2.5A40.5,40.5,0,0,0,207,121.5Z' fill='%23fff'/%3E%3Cpath d='M189 72l27 27V72h-27z' fill='%2300c08b'/%3E%3C/svg%3E%0A", + reference: null, + reference_hash: null, + decimals: 18 + } + ``` +
++ + ```json + "3479615037675962643842" + ``` + +
++ + ```bash + '376224322825327177426' + ``` +
++ + ```json + "100000000000000000" + ``` + +
++ + ```bash + '100000000000000000' + ``` + +
+在 [Lantstool](https://app.lantstool.dev/) 上生成新密钥
+  + +